Re: [exim] Exim autoreply (MAIL FROM:<>)

Pàgina inicial
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
A: exim-users
Assumpte: Re: [exim] Exim autoreply (MAIL FROM:<>)
Nmz <nemesiz@???> (So 23 Okt 2016 00:42:53 CEST):
>
> I`m spending some time to figure out why sometimes exim "drops" MAIL FROM field after helo server.
>
> Communication example:
>
> SMTP<< 220 SERVER_in ESMTP Exim 4.87 Sat, 22 Oct 2016 22:00:55 +0000
> SMTP>> EHLO SERVER_out
> SMTP<< 250-SERVER_in Hello SERVER_out [IP]
>          250-SIZE 52428800
>          250-8BITMIME
>          250-PIPELINING
>          250-AUTH PLAIN LOGIN
>          250-STARTTLS
>          250 HELP
> SMTP>> MAIL FROM:<> SIZE=1461
> SMTP>> RCPT TO:<e@mail>
> SMTP>> DATA

>
> Error from server: SMTP error from remote mail server after end of data: 550 5.7.512 Access denied, message must be RFC 5322 section 3.6.2 compliant and include a valid From address


The DATA portion, more specifically the header of your message, doesn't
contain a *valid* From: line.

The following lines are the spooled message, Exim can't send to the
remote server? If so, then they're poorly obfuscated and do not match
the above communication example.

Please repost with *unobfuscated* addresses

> xx-xx-x-H


> Autoreply transport
>
> userautoreply:
> driver = autoreply
> file = /etc/exim4/domains/$domain/autoreply.${local_part}.msg
> from = "${local_part}@${domain}"
> to = "${sender_address}"
> subject = "${if def:h_Subject: {Autoreply: ${quote:${escape:$h_Subject:}}} {Autoreply Message}}"
> no_return_message


I think, the double quotes are wrong in the most, if not in all, places.
E.g. it would lead to

    From: "hans@???"


which IMHO is not valid. But, OTOH doesn't fit the spooled message…
--
Heiko