Hi Sebastian,
we had similar problems here. Though they could be fixed by setting correct
MAXFDS in our environment (policyd had 4096 and crashed when it overcame the
systems limit 256)
so I'd also recommend to run policyd in DEBUG=3 mode if you have repeating
issues.
Still, I would appreciate it if there is any solution in Postfix, to not have
the mailserver send out "4xx server configuration error" or similar if the
policy service not reachable.
I know, we have a cronjob running each minute to check if its still in the
process list, and if not, restart it, but we have several customers which are
really picky about such errors even if they are just temporary and solved
within a minute... so at least if there is any chance to change the 4xx
message...
Lastly, one should not put policyd first in smtpd_client_restrictions, I guess.
In your example, authenticated senders would still be subject to greylisting.
Freundliche Grüsse / Kind regards,
Thomas Mendorf
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sebastian Tymków
Sent: Monday, March 10, 2008 2:07 PM
To: policyd-users@lists.sourceforge.net
Subject: [policyd-users] Policyd - if fail
Hi,
I'm wonderning if there is any solution if policyd will fail.
Here is example :
============ main.conf =================
smtpd_client_restrictions =
check_policy_service inet:127.0.0.1:10031,
permit_sasl_authenticated,
reject_unauth_destination,
reject_rbl_client relays.ordb.org,
============ main.conf =================
Now, if something goes wrong I will get:
Mar 10 14:02:21 host postfix/smtpd[46068]: warning: connect to 127.0.0.1:10031:
Connection refused
Mar 10 14:02:21 host postfix/smtpd[46068]: warning: problem talking to server
127.0.0.1:10031: Connection refused
And I won't be able to send or receive email through my server.
Is there any solution which allow me use policyd and will be safe for my users
if something goes wrong ?
What I mean is bypass policyd if it'll fail.
Best regards,
Sebastian Tymków
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users