Saturday, March 12, 2011

smtp: Failed: Connect failed-Ubuntu big log files

I got an alert (busy weekend ;-) about disk growing too much. There were zillions of the below lines in /var/log/syslog :
Mar 12 06:26:18 server-name nullmailer[23913]: Starting delivery: protocol: smtp host: file: 1297459801.9713
Mar 12 06:26:18 server-name nullmailer[31436]: smtp: Failed: Connect failed

This is because of a miss configuration. By the time the server was installed a wrong smarthost was configured.

All I had to do to correct this was to edit nullmailer remotes file:
sudo vi /etc/nullmailer/remotes.

No comments: