swilting wrote:
I had trouble with relay access denied



when do you

postconf -n

[r...@r13151 ~]# postconf -n

smtpd_client_restrictions = permit_mynetworks , permit

No, remove the above parameter from main.cf.

smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces
permit_sasl_authenticated permit_mx_backup check_relay_domains

No, permit_inet_interfaces is not needed here and should not be used in this context. check_relay_domains is deprecated and should not be used at all.

Correct:

smtpd_recipient_restrictions =
  permit_mynetworks
  permit_sasl_authenticated
  reject_unauth_destination

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = fakessh.eu
...
virtual_alias_domains = fakessh.eu

You still have fakessh.eu listed in both mydestination (via the $mydomain variable) and virtual_alias_domains. Don't do that. If you are delivering mail locally you should remove the virtual_alias_domains parameter from main.cf.


--
Noel Jones

Reply via email to