More main.cf cleanup

2009-02-13 Thread Charles Marcus
Hello again, I just want to confirm before I change this that I'm not missing something that will cause me some pain... Currently I have all of my restrictions under smtpd_recipient_restrictions, but after seeing some questions about these on the list, I'm thinking that there are two that should

Re: More main.cf cleanup

2009-02-13 Thread Justin Piszcz
On Fri, 13 Feb 2009, Charles Marcus wrote: On 2/13/2009, Ralf Hildebrandt (ralf.hildebra...@charite.de) wrote: I'm thinking it would be better to move the check_client_access check to smtpd_client_restrictions, and the check_sender_access check to smtpd_sender_restrictions, so I'd then have:

Re: More main.cf cleanup

2009-02-13 Thread Charles Marcus
On 2/13/2009, Justin Piszcz (jpis...@lucidpixels.com) wrote: I have one question to add to this thread, in the past it has always been up to the admin whether to put all beneath recipient restrictions (with the exception of SAV), is this still considered best-practice? Or should one follow

Re: More main.cf cleanup

2009-02-13 Thread mouss
Charles Marcus a écrit : On 2/13/2009, Ralf Hildebrandt (ralf.hildebra...@charite.de) wrote: I'm thinking it would be better to move the check_client_access check to smtpd_client_restrictions, and the check_sender_access check to smtpd_sender_restrictions, so I'd then have: No, don't do it.

Re: More main.cf cleanup

2009-02-13 Thread Charles Marcus
On 2/13/2009 3:42 PM, mouss wrote: you can do this smtpd_sender_restrictions = check_recipient_access hash:/etc/postfix/moved-employees, Ah! I never even considered I could put check_recipient_access under smtpd_sender_restrictions... but if I can put check_client_access under

Re: More main.cf cleanup

2009-02-13 Thread mouss
Charles Marcus a écrit : On 2/13/2009 3:42 PM, mouss wrote: you can do this smtpd_sender_restrictions = check_recipient_access hash:/etc/postfix/moved-employees, Ah! I never even considered I could put check_recipient_access under smtpd_sender_restrictions... but if I can put

Re: More main.cf cleanup

2009-02-13 Thread Charles Marcus
On 2/13/2009 4:23 PM, mouss wrote: smtpd_sender_restrictions = check_recipient_access hash:/etc/postfix/moved-employees, Ah! I never even considered I could put check_recipient_access under smtpd_sender_restrictions... but if I can put check_client_access under smtpd_recipient_restrictions,

Re: More main.cf cleanup

2009-02-13 Thread mouss
Charles Marcus a écrit : On 2/13/2009 4:23 PM, mouss wrote: smtpd_sender_restrictions = check_recipient_access hash:/etc/postfix/moved-employees, Ah! I never even considered I could put check_recipient_access under smtpd_sender_restrictions... but if I can put check_client_access under

Re: More main.cf cleanup

2009-02-13 Thread Charles Marcus
On 2/13/2009, mouss (mo...@ml.netoyen.net) wrote: because in your original post, the check in question was before permit_*, so doesn't need a permit_* when moved. Actually, I guess that was confusing, but... The check that is above the permit_* in my original post was the