RSS feed

Postfix maximum email size

March 11th, 2010 | Posted in Blog, Linux, Postfix | No Comments

The default “message_size_limit” is set to 10240000 bytes which is approximately 10MB. To change it, add/modify the message_size_limit line in your main.cf to;

message_size_limit = 20480000

The above is roughly 20MB and is more than enough on a typical server.



warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied

August 17th, 2009 | Posted in Blog, Debian, Linux, Postfix | No Comments

Check the OPTIONS directive in /etc/default/saslauthd and set it to within your postfix chroot.

OPTIONS=”-c -r -m /var/spool/postfix/var/run/saslauthd”

Then run;

dpkg-statoverride –add root sasl 710 /var/spool/postfix/var/run/saslauthd

adduser postfix sasl

Restart both postfix and saslauthd for the changes to take effect.



Postfix: delete all MAILER-DAEMON mails

February 24th, 2009 | Posted in Blog, Linux, Postfix | No Comments


mailq | grep MAILER-DAEMON | awk '{print $1}' | tr -d '*' | postsuper -d —

Or


mailq | tail +2 | awk  'BEGIN { RS = "" } / MAILER-DAEMON/ { print $1}'|postsuper -d —


Postfix warning: connect to private/anvil: Connection refused

December 17th, 2008 | Posted in Postfix | No Comments

Did a postfix upgrade recently?

sh /etc/postfix/post-install upgrade-configuration




Categories