Gentoo Archives: gentoo-user

From: Christopher Cowart <ccowart@××××××××××××××××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Unable to locate mail
Date: Sat, 18 Feb 2006 07:45:11
Message-Id: 20060218074019.GA27035@rescomp.berkeley.edu
In Reply to: [gentoo-user] Unable to locate mail by Michael Kintzios
1 If a cron generates any output while it's running, it tries to email it
2 to root@localhost.
3
4 ssmtp is your default MTA, and it's default configuration points to the
5 host mail, at port 25. As mail doesn't resolve to any mail server,
6 that's the sSMTP error you're seeing.
7
8 If you don't want cron mails, you can redirect ( > ) the output to a
9 file or /dev/null.
10
11 You could also configure sSMTP to have a reverse alias, so that when it
12 tries to e-mail root, it'll e-mail you@×××××××.com. This would involve
13 also changing sSMTP to be aware of your ISP's mail hub.
14
15 -Chris
16
17 On 20:58 Fri 17 Feb , Michael Kintzios wrote:
18 > Hi All,
19 >
20 > I have not (knowingly) set up my syslog-ng, logrotate, or some other application to send me mail, so I am curious where this little message came from:
21 > =======================================
22 > Feb 17 20:10:02 study1 cron[12102]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
23 > Feb 17 20:11:58 study1 sSMTP[12061]: Unable to locate mail
24 > Feb 17 20:11:58 study1 sSMTP[12061]: Cannot open mail:25
25 > Feb 17 20:11:58 study1 cron[12047]: (root) MAIL (mailed 69 bytes of output but got status 0x0001 )
26 > Feb 17 20:20:01 study1 cron[12132]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
27 > Feb 17 20:30:01 study1 cron[12144]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
28 > =======================================
29 >
30 > Any ideas?
31 > --
32 > Regards,
33 > Mick
34 >
35
36
37 --
38 Christopher Cowart
39 Unix Systems Administrator
40 Residential Computing, UC Berkeley
41 "May all your pushes be popped"

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: Unable to locate mail Mick <michaelkintzios@××××××××.uk>