Page 1 of 1

nullmailer filling up syslog

Posted: Tue Mar 19, 2013 3:09 pm
by JantarMantar
I am seeing syslog, mail.log and mail.err files being continuously written by nullmailer. It appears nullmailer is trying to connect to
smtp.xxxxx.yyy, where xxxxx.yyy is my hda's internal domain. Upon further research, I found an old post on ubuntu forum that suggested that there might be some messages stuck in /var/spool/nullmailer/queue. Sure enough I found messages like

Code: Select all

Received: (nullmailer pid 4840 invoked by uid 0); Mon, 18 Mar 2013 10:27:53 -0000 From: root@hda.xxxxx.yyy (Cron Daemon) To: root@hda.xxxxx.yyy Subject: Cron <root@hda> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) Content-Type: text/plain; charset=ANSI_X3.4-1968 X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin> X-Cron-Env: <HOME=/root> X-Cron-Env: <LOGNAME=root> Date: Mon, 18 Mar 2013 06:27:53 -0400 Message-Id: <1363602473.648347.4839.nullmailer@hda.xxxxx.yyy> run-parts: /etc/cron.daily/greyhole exited with return code 1
Questions:

1) Is greyhole exiting with error code 1 normal?
2) Why is nullmailer trying to send an email using a non-existent smtp server?
3) How do I stop my /var/log/ directory filling up?

My setup is ubuntu 12.04 and I don't use greyhole.

Thanks

Re: nullmailer filling up syslog

Posted: Tue Mar 19, 2013 4:46 pm
by bigfoot65
There is a bug already in the tracker for this issue.

https://bugs.amahi.org/issues/961

Please feel free to add to it. We hope to resolve this soon.

Re: nullmailer filling up syslog

Posted: Tue Mar 26, 2013 1:35 pm
by JantarMantar
Thanks for the quick reply. It seems there are two issues. The one you pointed out and also I found that greyhole daemon gives following error.

Code: Select all

daemon: You have no storage_pool_drive defined. Greyhole can't run.
I am not using greyhole, is it safe to stop the service?

Re: nullmailer filling up syslog

Posted: Tue Mar 26, 2013 1:41 pm
by bsk
Yes it is OK to stop it. If you are not using it you can stop the service in the web dashboard and make sure it is not monitored either.

Re: nullmailer filling up syslog

Posted: Tue Mar 26, 2013 1:43 pm
by bigfoot65