So, here's some history.
My SEMSIII is relaying outside mail.
Some relevant parameters in main.cf and a history follows:
Originally, these lines were in there:
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_recipient_restrictions = ldap:ldapmailenab,
permit_tls_clientcerts, permit_sasl_authenticated,
permit_mynetworks, check_sender_access,
check_relay_domains
On the advice of a user I made the following addition:
smtpd_client_restrictions = permit_mynetworks, reject_unknown_client
However, it was still relaying. So, I commented out the lines that
were originally there so that it read.
#smtpd_sender_restrictions = hash:/etc/postfix/access
#smtpd_recipient_restrictions = ldap:ldapmailenab,
permit_tls_clientcerts, permit_sasl_authenticated,
permit_mynetworks, check_sender_access,
check_relay_domains
smtpd_client_restrictions = permit_mynetworks, reject_unknown_client
Now, it stopped relaying for anyone sending mail to anyone who is not
part of my domain (mynetworks).
Check this out however! Looking at mailq I get the following output
even now:
35FFE34D70C 3000 Thu Oct 10 10:00:48 (MAILER-DAEMON)
lisafemgal@msn.com
35AED347242 2998 Thu Oct 10 10:18:14 (MAILER-DAEMON)
lisafemgal@msn.com
3562134889E 2927 Thu Oct 10 10:18:32 (MAILER-DAEMON)
anggem@yahoo.com
352CE34762C 2934 Thu Oct 10 10:27:04 (MAILER-DAEMON)
anggem@yahoo.com
3F774348E4F 10179 Tue Oct 8 09:13:25 Do_not_reply@yahoo.com
(connect to ns.perceptics.com[208.252.202.66]: Connection
refused)
webmaster@ns.perceptics.com
(connect to ns.perceval.be[194.183.227.1]: Connection
refused)
webmaster@ns.perceval.be
I don't remember the exact time I commented out those lines and
therefore prevented any relaying, but it was before 10:00. Where the
hell is this coming from then?
Curtis