OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
RE: check_recipient_access doesn't seem to work

From: Alex Palenschat (alexnssmgmt.com)
Date: Fri Jul 28 2006 - 10:28:38 CDT


>
> [please keep mail on the list]

Sorry, did not realize when I hit reply to that it would go to you.

>
> Eh? Mail that is rejected is never sent to amavisd. *ALL*
> mail that you accept, ie. mail that is not rejected (even
> whitelisted recipients), is sent to amavisd. Amavisd then
> has its own chance to discard the mail. There is no
> special rule at work here.
> So you need to whitelist postmaster/abuse in both postfix
> and amavisd.
>
> The log entries are pretty self-explanatory. In this case,
> "Helo command rejected: need fully-qualified hostname"
> seems quite clear that the HELO hostname was rejected
> because it wasn't a fully qualified domain name.
>

OK. That was where my misunderstanding was then. All mail not rejected
by postfix goes to amavis. So even though I have it nested in
smtpd_recipient_restrictions it is not treated like a normal
restriction. Not sure how I missed this in the howtos and man pages I
read.

Thanks for your help.

alex