Hi,
Â
I am new to Postfix and have taken over the admin thereof.
Â
We have a situation where a certain email address get the following error. All other mail gets relayed.
Â
SMTP error from remote mail server after RCPT TO:<mari...@vegaspartnerlounge.dk>:
host maila.vegaspartnerlounge.dk [196.14.16.67]:
554 5.7.1 <mari...@vegaspartnerlounge.dk>: Relay access denied
Â
Below is the main.cf file. The email address is added to all_ad_recipients and the domain to relay_domains. I have checked and we are not black listed
Â
What am I missing?
Â
Thanking you in advance.
Regards
Marius
Â
Â
# Debian specific:Â Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
Â
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
Â
# appending .domain is the MUA's job.
append_dot_mydomain = no
Â
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
Â
readme_directory = /usr/share/doc/postfix
Â
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
Â
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
Â
myhostname = mxgw.verpakt.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = verpakt.com
mydestination =
relayhost =
mynetworks = 127.0.0.0/8, 192.168.135.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
message_size_limit = 10485760
local_transport = error:No local mail delivery
local_recipient_maps =
virtual_alias_maps = hash:/etc/postfix/virtual
relay_recipient_maps = hash:/etc/postfix/all_ad_recipients
transport_maps = hash:/etc/postfix/transport
relay_domains = hash:/etc/postfix/relay_domains
smtpd_helo_required = yes
#Neville
smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, permit
smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_mynetworks, reject_unauth_destination, reject_unauth_pipelining, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, check_client_access regexp:/etc/postf
ix/blacklist_clients, permit
smtpd_data_restrictions = reject_unauth_pipelining
header_checks = regexp:/etc/postfix/header_checks
root@mxgw:~# ^C
root@mxgw:~# smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, permit
smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_mynetworks, reject_unauth_destination, reject_unauth_pipelining, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, check_client_access regexp:/etc/postf
ix/blacklist_clients, permit
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_sender_restrictions: command not found
root@mxgw:~# smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_mynetworks, reject_unauth_destination, reject_unauth_pipelining, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, check_client_access regexp:/etc/postf
smtpd_recipient_restrictions: command not found
root@mxgw:~# ix/blacklist_clients, permit
-bash: ix/blacklist_clients,: No such file or directory
root@mxgw:~# smtpd_data_restrictions = reject_unauth_pipelining
smtpd_data_restrictions: command not found
Â
Â