Well, if I have some kind of configuration problem, let's look at the logs of the machine! I opened /var/log/mail.err (but depending on your OS, maybe you will find something on syslog) and this is what I found:
|
nullmailer? That's interesting! |
Another clue! nullmailer: what the hell is this? A little search showed that nullmailer is a simple mail transport agent, a program that sends mails to an SMTP server (NullMailer Homepage). I had in fact a program that should have warned me via mail of the results of a daily operation now that I remember it, but never did. Well, and now?
CLEAR THE SPOOL
As one of my university professors always said, a telecommunication engeneer has two parents: Mother Google and Father Shannon (fs > 2fm - oh, sorry, it's almost automatic for me). It's time to call for Mother Google to help us. And guess? It did.
This post showed me the light: Endless entries of nullmailer. The program trying to send is called nullmailer, which put the mails in the folder /var/spool/nullmailer/queue, waiting to be sent. Then periodically nullmailer tried to send all the mails using a non-existent SMTP server. When I found out this, there were more than 3k (luckily unimportant) mails to be processed. To temporarly solve the problem, I had to delete all mails in /var/spool/nullmailer/queue:
rm /var/spool/nullmailer/queue/*
Pfiu! Let's check the firewall, to see if it is effectively solved this part of the problemi. No more DNS requests. Well, yeah! I rock! ;)
Obviously, now I have to install and properly configure a mail sender now. Work never stops! But maybe I'll tell you about this another time.
RELATED POSTS