jokuleo
8th February 2007, 14:51
Hello, it seems that if I dont't add
check_relay_domains
to "smtpd_recipient_restrictions ="
Webmail (Uebimiau and Squirrelmail) is not able to send Mails to the "outside world".
I followed different posts and ended up with this (I left out the spam related entries):
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_unauth_destination,
permit
But it's not working... Squirrelmail tells "relay access denied"...
This one is doing the job...
smtpd_recipient_restrictions =
permit_mynetworks,
check_relay_domains,
permit_sasl_authenticated,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_unauth_destination,
permit
The rest of the main.cf is just like when using the perfect setup for sarge.
It would be no problem at all but I read that "check_relay_domains" should not be used anymore?!
So could you give me a hint on a "modern" main.cf?
Thanks
jokuleo
check_relay_domains
to "smtpd_recipient_restrictions ="
Webmail (Uebimiau and Squirrelmail) is not able to send Mails to the "outside world".
I followed different posts and ended up with this (I left out the spam related entries):
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_unauth_destination,
permit
But it's not working... Squirrelmail tells "relay access denied"...
This one is doing the job...
smtpd_recipient_restrictions =
permit_mynetworks,
check_relay_domains,
permit_sasl_authenticated,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_unauth_destination,
permit
The rest of the main.cf is just like when using the perfect setup for sarge.
It would be no problem at all but I read that "check_relay_domains" should not be used anymore?!
So could you give me a hint on a "modern" main.cf?
Thanks
jokuleo