OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: regexp for postmaster/abuse?

From: Alex van den Bogaerdt (alexergens.op.het.net)
Date: Fri Sep 10 2004 - 12:50:06 CDT


On Fri, Sep 10, 2004 at 10:19:17AM -0400, m wrote:

> I want to set a recipient whitelist for all domains on the server (running
> many virutals here), for postmasterdomain.com and abusedomain.com,
> regardless of whether the sending server is blocked by other anti-spam
> controls.

Make sure you test {postmaster|abuse} before doing other checks.

> I have:
>
> smtpd_recipient_restrictions =
> permit_mynetworks
> permit_sasl_authenticated
> reject_unauth_destination

> check_policy_service inet:127.0.0.1:10023

Is this one blocking the mail?

> check_client_access hash:/etc/postfix/unknown_client_whitelist
> check_recipient_access pcre:/etc/postfix/recipient_whitelist.pcre

... then these (and the rest) will not be reached so they cannot whitelist.

HTH
Alex
--
I ask you to respect any "Reply-To" and "Mail-Follow-Up" headers. If
you reply to me off-list, you'd better tell me you're doing so. If
you don't, and if I reply to the list, that's your problem, not mine.