On Fri, Jan 03, 2014 at 09:43:21AM -0600, Steven Stern wrote:
On 01/03/2014 09:37 AM, Suvayu Ali wrote:
>
> What does the following tell you?
>
> # journalctl -ru sendmail
>
They tell me sendmail is running. The problem is with cron, not sendmail
I asked that to see whether sendmail successfully sent those emails; you
had already said sendmail is running, I believe you ;).
Jan 03 08:19:25 sds-desk-2.sterndata.local sendmail[6755]:
s03EJMEh006753: to=<root(a)sterndata.com>, delay=00:00:03, xdelay=00:00:02,
mailer=relay, pri=132148, relay=smtp.gmai
Jan 03 08:19:23 sds-desk-2.sterndata.local sendmail[6755]: STARTTLS=client,
relay=smtp.gmail.com, version=TLSv1/SSLv3, verify=FAIL,
cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=1
Jan 03 08:19:22 sds-desk-2.sterndata.local sendmail[6753]: s03EJMEh006753:
from=<root(a)sds-desk-2.sterndata.com>, size=12148, class=0, nrcpts=1,
msgid=<201401031419.s03EJHrL00
This seems suspicious. I see sendmail is trying to use gmail smtp,
probably that is why it fails? Part of the log is cutoff, I guess the
lines were too long for your screen.
This is a typical line for me:
Jan 03 04:35:36 localhost sendmail[23178]: s033ZZrq023178: from=<root@localhost>,
size=1535, class=-60, nrcpts=1, msgid=<201401030333.s033XSKY023169@localhost>,
proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 03 04:35:36 localhost sendmail[23179]: s033ZZrq023178: to=jallad,
ctladdr=<root@localhost> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local,
pri=139780, dsn=2.0.0, stat=Sent
Hope this helps,
--
Suvayu
Open source is the future. It sets us free.