I can’t seem to find the answer to the same problem…
The server is for dvsmith.net, morning-star-stables.com and phat-bastard.net.
The DNS is properly set-up, and mail is sending fine, and is being delivered when relay filtering is turned off.
The IP for the filter is the 127.0.0.1 loopback and the static IP range of the server 67.100.xxx.xx/29
[b:c20d76a3a5]/etc/postfix/main.cf[/b:c20d76a3a5]
[code:1:c20d76a3a5]mydomain_fallback = localhost
mydomain = dvsmith.net
myhostname = mail.dvsmith.net
mailbox_transport = cyrus
enable_server_options = yes
luser_relay = user_name(-at-)dvsmith.net
maps_rbl_domains = dun.dnsrbl.net,relays.ordb.org,dnsbl.sorbs.net,blackholes.ea$
message_size_limit = 10240000
mydestination = $myhostname,localhost.$mydomain,dvsmith.net,mail.dvsmith.net,morning-star-stables.com,phat-bastard.net
smtpd_use_tls = no
smtpd_enforce_tls = no
smtpd_tls_loglevel = 0
smtpd_sasl_auth_enable = yes
smtpd_use_pw_server = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reje$
smtpd_pw_server_security_options = cram-md5
server_enabled = 1
relayhost =
smtpd_client_restrictions = reject_maps_rbl
always_bcc =
mynetworks = 127.0.0.1/32,67.100.xxx.xx/29
virtual_alias_maps = hash:/etc/postfix/virtual
[/code:1:c20d76a3a5]
[b:c20d76a3a5]/etc/postfix/virtual[/b:c20d76a3a5]
[code:1:c20d76a3a5]
# dvsmith.net email map
dvsmith.net virtual
@dvsmith.net user_name
#
# morning-star-stables.com email map
morning-star-stables.com virtual
@morning-star-stables.com user_name(-at-)dvsmith.net
#
# phat-bastard.net email map
phat-bastard.net virtual
@phat-bastard.net user_name(-at-)dvsmith.net
[/code:1:c20d76a3a5]
Comments are closed