Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a VPS running CentOS 6. When the system tries to send daily newsletter, after some time (e.g. after sending about 2000 emails), I get error "Unable to send mail" and the system memory goes really high. Till this moment, the mails are delivered normally.

The rest symptoms are:

  1. I cannot see anything on /var/log/maillog (File seems not to be written)

  2. All files on /var/spool/mail have 0 bytes size.

  3. From time to time on httpd log I get errors like: /usr/sbin/sendmail: error while loading shared libraries: cannot open shared object file: Error 23

"Activate mail service on domain" setting in Plesk is deactivated.

Any idea on what's going wrong here?

share|improve this question

closed as off-topic by masegaloeh, HopelessN00b Mar 1 '15 at 0:35

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Have a look at your mail queue. Use the command mailq. My favourite error aggregation one-liner is mailq | grep " *(" | sort | uniq -c | sort -n. – Ladadadada Sep 28 '12 at 10:02
Are you out of disk space? – David Mackintosh Sep 28 '12 at 18:02

postfix (version 2.2 up) does rate limiting with directives in /etc/postfix/

anvil_rate_time_unit = 60s

which means a client can only send 1000 mails in 60 seconds.

There are also other systems that can limit message sending as addons to postfix (sqlgrey is an example), they usually inject in /etc/postfix/ or smtpd_client_restrictions (although not limited to those).

However, from your description, I think that is the least of your problems. You seem to have a wrong or broken version/package installed. (wrong libc, wrong permissions, perhaps wrong file paths).

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.