Hi all...
I've problems with my postfix server... whitin a few minutes it creates a lot of smtpd-processes and connections to the smtp-port are timing out.
I thought, at first, it's a problem with postfix, but tests approved, that postgrey is causing the problem. It seems as if postgrey is too slow to handle the much requests postfix sends.
I tried switching the connection between postfix and postgrey to a unix socket, but get the same problems here
So my settings where, for the inet-connection:
/etc/postfix/main.cf
Code:
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination
check_policy_service inet:127.0.0.1:60000
and for the unix socket-connection:
Code:
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination
check_policy_service unix:postgrey/postgrey.socket
where /var/spool/postfix/postgrey/postgrey.socket is:
Code:
srwxrwxrwx 1 postgrey postgrey 0 2007-09-20 12:46 postgrey.socket
I don't know why postgrey has such a performance problem and found no information about this yet.
Does anyone of you has an idea how to solve this? Thanks in advance.
Greetings
FeG