Link to home
Create AccountLog in
Avatar of Daniele Brunengo
Daniele BrunengoFlag for Italy

asked on

Error 421 on Centos Postfix maillog

Hello, lately my hosting server's maillog is recording at least 4-5 of these errors per day:

/var/log/maillog:Feb  7 03:38:03 hostxxxxxxxxxx postfix/smtp[18250]: AC07EFD1F2: host mx.pcpuntodoc.it[62.149.128.157] refused to talk to me: 421 mxcmd05.ad.aruba.it bizsmtp FEgo1s00s2pLL4n01 Too many connections, try later.

I am on Centos 6.6, Apache and Postfix.

The server is only used to send mails from the various websites hosted there, such as order mails for e-commerce and so on.

I am unclear as to whether this error is related to my server or to the server receiving the message (more likely).
It mostly happens with two particular servers on the receiving end, the one listed above and another one, both managed by the Aruba italian service provider.

Is there anything I can do on my end, or should I simply overlook this?

Also, does anybody remember which are the error codes (equivalent to 421 in this instance) you receive when your server is blacklisted?

Thanks.
Avatar of gheist
gheist
Flag of Belgium image

SMTP is very simple - all 4XX are treated same way - retry later. 5XX is reject.
Most mail operators make it 4XX so that spammer hosts choke from the weight of spam.
Can you chack with netstat - how many connections you have with that IP?
Avatar of Daniele Brunengo

ASKER

Right this moment, none. What's the best way to monitor the number of connections throughout a time interval?
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Ok, I'll try that out tomorrow.
I have changed the number of allowed concurrent connections, now I need to check out the logs in the next few days and see if the problem is solved.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
I added my own comment to the solutions because it adds useful details.
extra_recipient_limit can be 99 as per RFC (just like 2 connections are mandated)
Thanks, fixed that.