Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 14:53:25 -0400
From:      Jon Radel <jon@radel.com>
To:        William Dudley <wfdudley@gmail.com>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: why does some outgoing mail constantly end up "Deferred" ?
Message-ID:  <06778058-d9e5-be91-f0f8-78fa37dc6a5a@radel.com>
In-Reply-To: <CAFsnNZK%2BR=5ROG7Gui0E61Nbox3QumZ6t1O=TzZHqq-MFQfFzQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 4/14/17 1:37 PM, William Dudley wrote:
> This, in /var/log/maillog:
> 
> Apr 14 13:17:52 dudley sm-mta[13944]: v3ALsCcO098060: to=<
> lemontree66@sbcglobal.net>, delay=3+19:23:38, xdelay=00:00:00,
> mailer=esmtp, pri=16918651, relay=al-ip4-mx-vip1.prodigy.net., dsn=4.0.0,
> stat=Deferred
> Apr 14 13:17:52 dudley sm-mta[13944]: v3ALsCci098060: to=<
> markj@limerockcontractors.com>, delay=3+19:23:34, xdelay=00:00:00,
> mailer=esmtp, pri=16918660, relay=limerockcontractor...ction.outlook.com.,
> dsn=4.0.0, stat=Deferred

<snip>

> These mails sit in my queue, get retried, and are constantly "Deferred".

If they were in the queue for only a short period and then were
eventually sent, I'd suspect gr[a|e]ylisting.  If it were some obscure
little domain where the MX host had connectivity problems, well, that
would be it.

But 3+ days delay, where most of the mail is going to some Microsoft
service offering....   It's probably something else.  Unless you and/or
your ISP have broken TCP port 25 connectivity entirely....but you say
that this happens only with some mail.

The very first thing I'd do, as root, is to run

sendmail -qf -v

which will ask sendmail to run through the queues once, in the
foreground, and report in verbose mode what it thinks is happening as it
tries to send each piece of mail waiting in the queues, and probably
most usefully, what text the other side SMTP server sends to explain
what it is doing. Assuming that it doesn't just time out trying to reach
the remote server, which would also be obvious.  Most sensible servers
send at least some hints for the humans along with the response code.

After that I'd confirm that forward DNS, reverse DNS, and how your SMTP
server identifies itself (should be obvious in the verbose output),
match up sensibly, and your DNS data is accessible to the Internet at
large.  Getting that wrong makes you look way too much like some random
drive-by spammer.


-- 
--Jon Radel
jon@radel.com


[-- Attachment #2 --]
0	*H
010
	`He0	*H

00#SanzTgk!0
	*H
0o10	USE10U
AddTrust AB1&0$UAddTrust External TTP Network1"0 UAddTrust External CA Root0
141222000000Z
200530104838Z010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CA0"0
	*H
0

zSNpRV&IQZI`zQBy"aNv#
J	n=ٺ.CRC|2PȦOZϓ%{0dV*$3DiFK3@@:*S= a<UNv%!)|qvO_T{5R"=,0-1YR73i-C֥wgQ'뼥8v8ߌIs:2:=F:WtaP@?⟢!00U#0z4&&T$T0UakᢠOg£0U0U00U%0++0U 
00U 0DU=0;09753http://crl.usertrust.com/AddTrustExternalCARoot.crl05+)0'0%+0http://ocsp.usertrust.com0
	*H
*nU:Uka+	#fjow^a}[jr
AX&MX"cR6}Xޫ;cs{B#ʶM>K-ػBKiۦ74{:ǟO4ne6d)5ֱqC>2Svʆ4,Jؙ
␒ZBj#!eջ~ꌅ b:,Yř38zyJ&|00sT<}k
`i
0
	*H
010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CA0
150330000000Z
180329235959Z010	UUS10U2215010	UVA10USpringfield10U	6917 Ridgeway Dr.10U
Jon T. Radel1200U)Issued through Jon T. Radel E-PKI Manager10UCorporate Secure Email10U	Jon Radel10	*H
	
jon@radel.com0"0
	*H
0
aЩ@@g3eGރ͛;	d#>q7&Hf
:3vL"jV#Xݷ>U-H[$SUڻ{Ϝ,z¶IchO=rcyrnv.Vh7k;%ueYuӬ󯅅nz6!| !Aȡ+,u+ 
CAպF-un#vjUJWnk%j]
2JPkl00U#0akᢠOg£0UE|GDp/ʚB0U0U00U%0++0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0]UV0T0RPNLhttp://crl.comodoca.com/COMODOSHA256ClientAuthenticationandSecureEmailCA.crl0+00X+0Lhttp://crt.comodoca.com/COMODOSHA256ClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0U0
jon@radel.com0
	*H
KS`?H_D`8G߿VbĘ<tB-Ӈї|{'Ũݹg0Gp$%F(;*MO*gt$@t6,?0|#ăz,&!{j2i[%b7ߪP+9G㲍["y<?8rZ'[UR6%L̤
w"=:L~Ƨ^jf36 OP1•.}(e1A0=0010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CAsT<}k
`i
0
	`Hea0	*H
	1	*H
0	*H
	1
170414185325Z0/	*H
	1" 4]kyt߬lcATz0?0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CAsT<}k
`i
0*H
	1010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CAsT<}k
`i
0
	*H
ìvX6v6`jje[S85*{dFD8o
[D)R.&<qϐPw#!Lnv]	m'!%"V{Kc?x|F)ӦHG8=[^%eG0ƣD#~@Б]; `}<xb֧fbCt4AcHYARYN]O
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06778058-d9e5-be91-f0f8-78fa37dc6a5a>