OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: reject_unverified_recipient + greylisting = lost mails

From: jesse hassett (jhassettzloop.com)
Date: Sun Oct 07 2007 - 14:43:28 CDT


I didn't understand how they would be related either, I would get the 450 4.1.1 from the remote server and then the message would be removed on the very next line. It took me a while to think about the r_u_r rule and try disabling it and then my greylisted sends get deferred into the queue. Im assuming its some sort of a bug that the policy is getting applied when I try and send.

Ill grab a log snippet of one such event.

Oct 4 14:59:40 mail postfix/smtp[16883]: 6A3FF9803E: host smtp4.example.edu[209.170.X.X] said: 450 <userexample.edu>: Recipient address rejected: Greylisted for 300 seconds (see http://isg.ee.ethz.ch/tools/postgrey/help/example.edu.html) (in reply to RCPT TO command)
Oct 4 14:59:40 mail postfix/smtp[16883]: 6A3FF9803E: to=<userexample.edu>, relay=smtp3.example.edu[209.170.X.X]:25, delay=0.34, delays=0/0.01/0.27/0.06, dsn=4.0.0, status=undeliverable (host smtp3.example.edu[209.170.X.X] said: 450 <userexample.edu>: Recipient address rejected: Greylisted for 300 seconds (see http://isg.ee.ethz.ch/tools/postgrey/help/example.edu.html) (in reply to RCPT TO command))
Oct 4 14:59:40 mail postfix/qmgr[13475]: 6A3FF9803E: removed
Oct 4 14:59:43 mail postfix/smtpd[16879]: NOQUEUE: reject: RCPT from Web01.example.com[198.145.X.X]: 450 4.1.1 <userexample.edu>: Recipient address rejected: unverified address: host smtp3.example.edu[209.170.X.X] said: 450 <userexample.edu>: Recipient address rejected: Greylisted for 300 seconds (see http://isg.ee.ethz.ch/tools/postgrey/help/example.edu.html) (in reply to RCPT TO command); from=<noreplyexample.com> to=<userexample.edu> proto=ESMTP helo=<Web01.example.com>
Oct 4 14:59:43 mail postfix/smtpd[16879]: disconnect from Web01.example.com[198.145.X.X]

Thanks for any help. -J

----- Original Message -----
From: "Terry Carmen" <terrycnysupport.com>
To: postfix-userspostfix.org
Sent: Friday, October 5, 2007 9:15:47 PM (GMT-0800) America/Los_Angeles
Subject: Re: reject_unverified_recipient + greylisting = lost mails

jesse hassett wrote:
> Hi all.
> I recently put a new postfix server into production for our app
> servers to use. I have it set as a secondary MX for the domain and
> have it relaying to an in house mail server which actually houses
> local users. I enabled reject_unverified_recipient and was pretty
> happy with not having to coordinate a list of the users setup on the
> in house server and not sending bogus bounces from spam to nonexistant
> users.
> Now, however, Im finding that some of the mails our app sends to a
> couple of universities running postgrey are getting the 450 4.1.1
> greylist for 300 seconds and removing the mail from the queue
> permanently. Is there any good way to make sure those get deferred but
> not have to maintain a local user map?
> Thanks -J
>

I'm not really sure what one has to do with the other. If your server
receives a temp-fail (450), the message hasn't been sent yet and should
stay in the queue to be retried later.

Can you post some log file entries showing what it's doing?

Terry

--
CNY Support, LLC
Web. Database. Business.

315.382.3939
http://cnysupport.com