|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
2.2.8 + amavisd + postgrey
From: Bill Bradford (mrbill
mrbill.net)
Date: Sun Feb 05 2006 - 19:11:29 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. From master.cf:
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
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?
Thanks.
Bill
--
Bill Bradford
Houston, Texas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]