From owner-freebsd-questions@freebsd.org Tue Mar 9 17:17:16 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D894A56A527 for ; Tue, 9 Mar 2021 17:17:16 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dw22M4b5vz4jL1 for ; Tue, 9 Mar 2021 17:17:15 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 8AD644E66F for ; Tue, 9 Mar 2021 11:17:09 -0600 (CST) Subject: Re: Daily Reports No Longer Getting Mailed To: freebsd-questions@freebsd.org References: <0dbad9f4-091f-95a5-04a0-21dd51d89b67@tundraware.com> From: Valeri Galtsev Message-ID: Date: Tue, 9 Mar 2021 11:17:09 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <0dbad9f4-091f-95a5-04a0-21dd51d89b67@tundraware.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Dw22M4b5vz4jL1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [-2.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.135.20.70:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[128.135.20.70:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2021 17:17:16 -0000 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@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@XXXXX.uchicago.edu 250 2.1.0 Ok RCPT To: galtsev@YYYYY.uchicago.edu 250 2.1.5 Ok DATA 354 End data with . 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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++