[exim] Re: tracing SMTP conversations

Top Pagina
Delete this message
Reply to this message
Auteur: Andrew C Aitchison
Datum:  
Aan: graeme vetterlein
CC: exim-users
Onderwerp: [exim] Re: tracing SMTP conversations
On Sat, 24 Feb 2024, graeme vetterlein via Exim-users wrote:

> Starting in mid February 2024, gmail tightened up its policies and I for one
> started getting bounced email.
>
> After about 4 lots of 12 hour days I figured out I was not setting errors_to=
> in my userforward
> so my "RCPT TO" envelope headerwas wrong/missing.
>
> Having fixed that, I now started getting failures sent to my postmaster (who
> I'd pointed errors_to at)
>
> ------------- cut here------------
> could not be delivered to one or more of its recipients. The following
> address(es) failed:
>
>   auser@???
>     (generated from auser.home@???)
>     host smtp.forwardemail.net [2001:19f0:ac01:d3c:5400:4ff:fe72:47c4]
>     SMTP error from remote mail server after end of data:
>     550 From header must end with @mydomain.com
> ------------- cut here------------
>
>
> The phrase "From header" is suitably vague, do they mean the "MAIL FROM" 
> envelope header
> or the From header in the mail body headers ?
>
> This only seems to effect mails that have been forwarded via a a users
> ~/.forward.
>
> What I REALLY REALLY would like to do is watch the SMTP conversation between
> my exim4 and its smarterhost


Not directly the smtp conversation, but you can turn on -d debugging
in an ACL, with
     control = debug/<options>
so you have full debugging just for messages to gmail.



> (it's probably something I'm sending, so I want as much to see *my* side of
> the conversation)
>
> I can see over many years people have been asking to do this and been told to
> use wireshark....which I eventually
> did. However , in the past this was fine but nowadays it does a STARTTLS and
> I can see no more.
>
> Is there really no way I can see the SMTP conversation? If I could just see
> what I sent it before said "error"
> I feel I could save another block of long nights.


-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew@???


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/