Daily Reports No Longer Getting Mailed
galtsev at kicp.uchicago.edu
Tue Mar 9 17:17:16 UTC 2021
On 3/9/21 11:02 AM, Tim Daneliuk via freebsd-questions wrote:
> One of our production servers suddenly stopped sending daily reporting emails.
> We have made some changes in mail config on that server, but I am at a loss
> as to how to diagnose. At first it seemed that the 'mailutils' packages was
> interfering, but removing it and running 'periodic daily' still produced no
> mail output.
> Suggestions for debugging would be welcome.
In general, I would start debugging mail server (which is supposed to
send mail passed to it from inside) by doing it in command line. I'm
pasting my doing it, just obscured machine names (my server is postfix,
if yours is different, some answers may be somewhat different, though
they should be to the same effect):
ssh [some user]@[server.in.question]
[valeri at XXXXX ~]$ telnet localhost 25
Connected to localhost.
Escape character is '^]'.
220 XXXXX.uchicago.edu ESMTP Postfix
MAIL From: valeri at XXXXX.uchicago.edu
250 2.1.0 Ok
RCPT To: galtsev at YYYYY.uchicago.edu
250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>
This is anything, just to test
250 2.0.0 Ok: queued as 4AFDE1AF391
Once you see this works, /var/log/maillog is next place to read.
I hope, this helps.
> (no changes to default periodic settings have been made)
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
More information about the freebsd-questions