I am currently using Debian Squeeze 6.0. The administrator of my work place receives every week messages from several processes of my system:
- cron
- smartd
- ...
The messages are send to [email protected]. I suspect that the mail should be send to root@localhost or something, but I think some redirection is done somewhere.
Thanks
EDIT:
echo "test" | mail root -s "this is a test"
cat /var/log/mail.log
Apr 30 14:23:38 yavapai nullmailer[3020]: Trigger pulled.
Apr 30 14:23:38 yavapai nullmailer[3020]: Rescanning queue.
Apr 30 14:23:38 yavapai nullmailer[3020]: Starting delivery: protocol: smtp host: mail.domain.fr file: 1241094218.13394
Apr 30 14:23:39 yavapai nullmailer[13395]: smtp: Succeeded: 250 2.0.0 n3UCNdZq025564 Message accepted for delivery
Apr 30 14:23:39 yavapai nullmailer[3020]: Sent file.
Apr 30 14:23:39 yavapai nullmailer[3020]: Delivery complete, 0 message(s) remain.
Apr 30 14:23:39 yavapai nullmailer[3020]: Trigger pulled.
Apr 30 14:23:39 yavapai nullmailer[3020]: Rescanning queue.