From: Alex R. <mys...@gm...> - 2015-06-09 22:18:39
|
Hi, >> The smtpd_relay_restrictions is as follows: >> >> smtpd_relay_restrictions = permit_mynetworks, >> permit_sasl_authenticated, defer_unauth_destination > > I greylist here too. Keeps more spam out. Okay, interesting. I'll try that too. >> This is on postfix-2.10. >> >>> Whitelisting via sqlgrey is the wong approach. >> >> It looks like this was auto-whitelisted, because it has seen this >> IP/email combination previously, no? > > Then it must be that the email is exiting postfix and > passing through amavis and being re-injected back > into postfix. You'll need to make sure that amavis > is either on a trusted network (127.0.0.1) or > uses lmtp not smtp or has some other way of getting the mail back > into postfix that does not get greylisted. All of the networks involved are on the amavis "TRUSTED" or in @mynetworks. I'm not doubting what you're saying, but here's a thread that seems to indicate it's the expected behavior: http://lists.policyd.org/pipermail/users_lists.policyd.org/2007-April/001426.html Here's another one from Lionel discussing: http://sourceforge.net/p/sqlgrey/mailman/sqlgrey-users/thread/42F...@bo.../ Could that be the solution here as well? I'm going to have to use postfix to strip them because I believe it's causing some mail to be rejected because the headers are too large. Thanks again, Alex |