Why is my computer system sending out e-mails

I am presently making use of Debian Squeeze 6.0. The manager of my job area obtains each week messages from numerous procedures of my system:

  • cron
  • smartd
  • ...

The messages are send to [email protected] I believe that the mail needs to be send to [email protected] or something, yet I assume some redirection is done someplace.

Many thanks

MODIFY:

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.
0
2019-05-07 09:10:03
Source Share
Answers: 3

Did you set your hostname appropriately?

0
2019-05-09 03:26:24
Source

I visualize that Dave is appropriate and also your concern is with /etc/aliases, yet FWIW, you can set cron result to head to a details address by placing a MAILTO line on top. Run crontab -e and also add something like [email protected] as the first line. Keep in mind that this will certainly experience the normal email system you have actually mounted, which probably consists of any kind of /etc/aliases adjustments.

0
2019-05-09 03:04:32
Source

Check/ etc/aliases, seek the line

origin : origin @workdomain.com

modify : as an examination, attempt this

resemble "examination" | mail origin - s "this is an examination"

after that examine/ var/log/maillog, and also the headers when it is obtained on your admins equipment

0
2019-05-09 02:56:31
Source