#1  
Old 18th September 2006, 12:45
neil6179 neil6179 is offline
Junior Member
 
Join Date: Mar 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix Quirk

Hello all,

I've got a mail system setup as per this tutorial:
http://www.howtoforge.com/virtual_po..._quota_courier

with the slight exception that I'm using Postfix 2.3.

I have also recently added Grey listing to the system. My main.cf smtpd_recipient_restrictions looks like:

Code:
smtpd_recipient_restrictions = permit_mynetworks,
           reject_unauth_destination,
           reject_unknown_sender_domain,
           reject_rbl_client sbl-xbl.spamhaus.org,
           reject_rbl_client list.dsbl.org,
           reject_rbl_client relays.ordb.org
           check_policy_service unix:private/greylist
Since adding Grey listing I notice the if an email arrives for an invalid recipient address, rather then outright being rejected it is initially rejected with a 4XX, temporary reject due to Grey listing message.

On a second delivery attempt when the messages “passes” Grey listing it is then rejected with the 5XX “Unknown user in Virtual Mailbox table” message that I'd have initially expected.

The Grey listing returns “DUNNO” if the messages passes and DEFER_IF_PERMIT if it does not? Is this correct?

Thank you

Neil
Reply With Quote
Sponsored Links
  #2  
Old 18th September 2006, 15:06
neil6179 neil6179 is offline
Junior Member
 
Join Date: Mar 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi all,

Ok, I've solved this one myself.

Whether a user actually exists isn't checked until after all checks in 'smtpd_recipient_restrictions' have been done and returned OK, PERMIT or DUNNO.

To force this check to be performed earlier you need to add 'check_recipient_maps' into 'smtpd_recipient_restrictions'.

My 'smtpd_recipient_restrictions' now looks like:

Code:
smtpd_recipient_restrictions = permit_mynetworks,
           reject_unauth_destination,
           reject_unknown_sender_domain,
           check_recipient_maps,
           reject_rbl_client sbl-xbl.spamhaus.org,
           reject_rbl_client list.dsbl.org,
           reject_rbl_client relays.ordb.org
           check_policy_service unix:private/greylist
I haven't seen this ever mentioned in any Grey listing documentation, but is seems fairly significant to me as the load saving on grey listing is fairly large.

Hope this info is helpful.

Thanks
Neil
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
IMAP question - Moving servers and mail. Brenton Installation/Configuration 11 14th May 2010 14:38
Please help me with this issue!! jarrell General 41 7th September 2006 10:18
Postfix smtpd_banner lehadi Server Operation 7 15th May 2006 17:14
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 15:20


All times are GMT +2. The time now is 12:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.