OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
RE: 2.2.8 + amavisd + postgrey

From: Gary V (mr88talenthotmail.com)
Date: Sun Feb 05 2006 - 19:34:02 CST


>Trying to add postgrey to my Postfix 2.2.8 setup that's currently running
>amavisd as well.
>
>In my main cf, I have:
>
>content_filter = smtp-amavis:[127.0.0.1]:10024
>
>That part (amavisd) works fine, it hands mail back to postfix on port
>10025.
>
>I setup postgrey, running in daemon mode, on port 6000. From my main.cf:
>
>smtpd_recipient_restrictions =
> permit_mynetworks
> permit_mx_backup
> reject_unauth_destination
> check_policy_service inet:127.0.0.1:6000
> check_helo_access dbm:/etc/postfix/helo_checks
>
>However, it appears that mail comes in, hits amavisd, gets handed back on
>port 10025, and goes right through - I dont see it "hitting" postgrey at
>all. Is there a way to make postgrey come "before" the mail gets handed
>to amavisd?

It already does; you are running amavisd-new as an after-queue filter. Are
you certain you have it set up on port 6000? My system shows 60000:

  check_policy_service inet:127.0.0.1:60000

>
>Thanks.
>
>Bill

Gary V

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/