Forum
mails from postmaster@xbian - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Others (/forum-24.html)
+--- Thread: mails from postmaster@xbian (/thread-1138.html)



mails from postmaster@xbian - kas_27_es - 24th Jul, 2013 07:20 PM

Hi,

After install and setup SMTP packages to send emails after ending torrent, some process is sending emails to "root".

Here's a body's example (sended 16 hours ago):
Quote:/etc/cron.daily/apt:
verbose level 1
sleeping for 235 seconds
check_stamp: interval=86400, now=1374530400, stamp=1374444000, delta=86400 (sec)
download updated metadata (success).
dbus signal not send (command not available)
check_stamp: interval=0
download upgradable (not run)
unattended-upgrade (not run)
check_stamp: interval=604800, now=1374530400, stamp=1374444000, delta=86400 (sec)
autoclean (not run)
skip aging since MaxAge is 0

How can I avoid it?

Xbian Beta 1.1
SMTP packages: smtp, mailutils.


RE: mails from postmaster@xbian - CurlyMo - 24th Jul, 2013 08:01 PM

Just append > /dev/null 2>&1 after every command in /etc/cron.*/* script that triggers these mails.


Re: RE: mails from postmaster@xbian - kas_27_es - 24th Jul, 2013 11:42 PM

(24th Jul, 2013 08:01 PM)CurlyMo Wrote:  Just append > /dev/null 2>&1 after every command in /etc/cron.*/* script that triggers these mails.

Thanks, I'll try it asap...


RE: mails from postmaster@xbian - mk01 - 31st Jul, 2013 08:26 PM

(24th Jul, 2013 07:20 PM)kas_27_es Wrote:  Hi,

After install and setup SMTP packages to send emails after ending torrent, some process is sending emails to "root".

you can more drastically edit /etc/aliases, put a record like this:

Code:
root:      /dev/null
postmaster: /dev/null

then run command "newaliases"