Daily Reports No Longer Getting Mailed

Valeri Galtsev 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
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 XXXXX.uchicago.edu ESMTP Postfix
EHLO XXXXX.uchicago.edu
250-XXXXX.uchicago.edu
250-PIPELINING
250-SIZE 204800000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 CHUNKING
MAIL From: valeri at XXXXX.uchicago.edu
250 2.1.0 Ok
RCPT To: galtsev at YYYYY.uchicago.edu
250 2.1.5 Ok
DATA
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.

Valeri

> (no changes to default periodic settings have been made)
> 
> TIA
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 

-- 
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++


More information about the freebsd-questions mailing list