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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Nmz
Date:  
À: exim-users, Nmz
Sujet: [exim] Exim autoreply (MAIL FROM:<>)
Hello,

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


Message header file:

xx-xx-x-H
Debian-exim 106 111
<>
1477166506 0
-ident Debian-exim
-received_protocol local
-body_linecount 1
-max_received_linelength 93
-allow_unqualified_recipient
-allow_unqualified_sender
-frozen 1477166507
-localerror
XX
1
me@email

142P Received: from Debian-exim by SERVER with local (Exim)
        id xx-xx-x
        for me@email; Sat, 22 Oct 2016 20:01:46 +0000
026F From: another@mail
060T To: "outlook_xx@???" <me@email>
027  Subject: Autoreply: testas
094  In-Reply-To: <DB3PR05MB06995C4C682790D09B67D0A3E1D70@???>
093  References: <DB3PR05MB06995C4C682790D09B67D0A3E1D70@???>
029  Auto-Submitted: auto-replied
052I Message-Id: <xx-xx-x@server>
038  Date: Sat, 22 Oct 2016 20:01:46 +0000



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