Current time: 05-18-2024, 04:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
postfix&postgrey performance problem
Author Message
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #1
postfix&postgrey performance problem
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 Sad

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
09-20-2007 09:50 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: postfix&postgrey performance problem
We use here also Postfix & Postgrey with a Network Port and have no performance Problemes. There are over thousand mail a day for round about 180 users on a normal Server. 2GHz - 768RAM

Is your machine Ok ?

Greez BeNe
09-20-2007 10:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #3
RE: postfix&postgrey performance problem
BeNe Wrote:Is your machine Ok ?

I think so Cool

I'm running with about 20 domains and a bit more than 200 mail accounts on an HostEurope Linux VPS XXL.

If I disable postgrey completely, postfix has no problems and is running with just 2 smtpd processes...

So the server seems to be ok...

Greetings
FeG
09-20-2007 10:15 PM
Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #4
RE: postfix&postgrey performance problem
Hi again,

has anyone experienced problems like this with his installation? I'm still running without postgrey, which makes the server running without problems... but of course, I get every Spam-Mail.

So.. does anybody has another idea about that?

Greetings
FeG
10-13-2007 04:15 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)