From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FAMmF-0006LD-5R for garchives@archives.gentoo.org; Sat, 18 Feb 2006 07:45:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1I7iCLm003244; Sat, 18 Feb 2006 07:44:12 GMT Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1I7eKxE010230 for ; Sat, 18 Feb 2006 07:40:20 GMT Received: by rescomp.berkeley.edu (Postfix, from userid 1225) id 55B525B76E; Fri, 17 Feb 2006 23:40:19 -0800 (PST) Date: Fri, 17 Feb 2006 23:40:19 -0800 From: Christopher Cowart To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Unable to locate mail Message-ID: <20060218074019.GA27035@rescomp.berkeley.edu> References: <164627896618372@lycos-europe.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <164627896618372@lycos-europe.com> User-Agent: Mutt/1.5.9i X-Archives-Salt: 88d85683-e043-431f-9a73-fdb0135ee3c7 X-Archives-Hash: cbcc91b725230621c53e2352097433f7 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable If a cron generates any output while it's running, it tries to email it to root@localhost. ssmtp is your default MTA, and it's default configuration points to the host mail, at port 25. As mail doesn't resolve to any mail server, that's the sSMTP error you're seeing. If you don't want cron mails, you can redirect ( > ) the output to a file or /dev/null. You could also configure sSMTP to have a reverse alias, so that when it tries to e-mail root, it'll e-mail you@yourisp.com. This would involve also changing sSMTP to be aware of your ISP's mail hub. -Chris On 20:58 Fri 17 Feb , Michael Kintzios wrote: > Hi All, >=20 > I have not (knowingly) set up my syslog-ng, logrotate, or some other appl= ication to send me mail, so I am curious where this little message came fro= m: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Feb 17 20:10:02 study1 cron[12102]: (root) CMD (test -x /usr/sbin/run-cro= ns && /usr/sbin/run-crons ) > Feb 17 20:11:58 study1 sSMTP[12061]: Unable to locate mail > Feb 17 20:11:58 study1 sSMTP[12061]: Cannot open mail:25 > Feb 17 20:11:58 study1 cron[12047]: (root) MAIL (mailed 69 bytes of outpu= t but got status 0x0001 ) > Feb 17 20:20:01 study1 cron[12132]: (root) CMD (test -x /usr/sbin/run-cro= ns && /usr/sbin/run-crons ) > Feb 17 20:30:01 study1 cron[12144]: (root) CMD (test -x /usr/sbin/run-cro= ns && /usr/sbin/run-crons ) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > Any ideas? > --=20 > Regards, > Mick >=20 --=20 Christopher Cowart Unix Systems Administrator Residential Computing, UC Berkeley "May all your pushes be popped" --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD4DBQFD9s9jV3SOqjnqPh0RAoQXAJUeye53L62/b2MzoqlToMK2x2iyAJ9OovL2 PTehdQqNvO51+O8XfTUpxA== =KEzo -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+-- -- gentoo-user@gentoo.org mailing list