OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Errors with before queue filtering and policyd-weight - help please.

From: Kevin Gagel (gagelcnc.bc.ca)
Date: Thu Oct 01 2009 - 14:34:00 CDT


I'm trying to setup before queue filtering using policyd-weight but
can't get my configuration right. Could someone please point out what
I've done wrong...

My policyd-weight.conf contains only this:
$TCP_PORT = 12524;

My main.cf contains the following relevant lines:
soft_bounce = yes
smtpd_proxy_timeout = 1200s

My master.cf contains the following relevant lines:
smtp inet n - n - 200 smtpd
       -o smtpd_proxy_filter=127.0.0.1:12524
       -o smtpd_client_connection_count_limit=20

127.0.0.1:20026 inet n - n - 200 smtpd
 -o smtpd_authorized_xforward_hosts=127.0.0.0/8
 -o smtpd_client_restrictions=
 -o smtpd_helo_restrictions=
 -o smtpd_sender_restrictions=
 -o smtpd_recipient_restrictions=permit_mynetworks,reject
 -o content_filter=
 -o mynetworks=127.0.0.0/8
 -o receive_override_options=no_unknown_recipient_checks

When I use the above settings I end up with no mail flowing and tons
of error messages stating:
Out: 451 4.3.0 Error: queue file write error

It's just dawning on me that perhaps I have the wrong user running
policyd-weight.... Does that sound right?

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel

-------------------------------------------------------------------
The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca
-------------------------------------------------------------------