Re: [exim] Changing Return-path with specific sender domain …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Lee Mason
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Changing Return-path with specific sender domain causes remote mail servers to reject message
"

Many thanks for the very quick reply! It works fine now.

Lee

----- Original Message -----
From: Lee Mason <leemason@???>
To:<exim-users@???>
Cc:
Date: Sunday, December 16 2007 10:00 AM
Subject: Changing Return-path with specific sender domain causes remote mail servers to reject message






We are running Exim 4.50.

We need to be able to send e-mails with various different return addresses for example:

The Xyz Company <support@???>
or
Support Systems Ltd <info@???>

I have changed the return-path in the header of all outgoing e-mails by using:

return_path = $ reply_address

This
seemed to work fine. However some remote mail servers (by no means all)
and rejecting the the e-mails sent to the with a 501 error.

It appears that Exim could be constructing the return_path as follows:

<The Xyz Company <support@???>>

Adding
an extra set of < > around the complete address. This can be see
in the log file as P=<The Xyz Company <support@???>>.

I have a couple of questions about this:

1.
Is this expected behaviour and is the syntax of the return_path created
therefore legal (i.e. are the remote SMTP servers rejecting this
unnecessarily)?
2. How can this be changed to strip the excess <
> before sending? Can this be done with a rewrite rule or by some

other method?

Thanks in advance,

LeeFrom marc@??? Sun Dec 16 22:49:19 2007
Envelope-to: exim-users@???
Received: from smtp167.junkemailfilter.com ([69.50.231.167]:54543
    helo=darwin.ctyme.com) by tahini.csx.cam.ac.uk with esmtp (Exim 4.69)
    (envelope-from <marc@???>) id 1J42Hp-0004vI-DS
    for exim-users@???; Sun, 16 Dec 2007 22:49:19 +0000
Received: from localhost ([127.0.0.1])
    by darwin.ctyme.com with esmtp (Exim 4.68)
    id 1J42Hl-0001aj-5U on interface=127.0.0.1
    for exim-users@???; Sun, 16 Dec 2007 14:48:37 -0800
Message-ID: <4765AB44.8020506@???>
Date: Sun, 16 Dec 2007 14:48:36 -0800
From: Marc Perkel <marc@???>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: exim-users@???
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spamfilter-host: darwin.ctyme.com - http://www.junkemailfilter.com
X-Spam-Score: -1.1 (-) 
X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL=0.239, BAYES_00=-1.5,
    FORGED_RCVD_HELO=0.135 autolearn=no version=3.1.8
Subject: [exim] Weird [ot]
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.7
Precedence: list
List-Id: A user list for the exim MTA <exim-users.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=unsubscribe>
List-Archive: <http://lists.exim.org/lurker/list/exim-users.html>
List-Post: <mailto:exim-users@exim.org>
List-Help: <mailto:exim-users-request@exim.org?subject=help>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=subscribe>
X-List-Received-Date: Sun, 16 Dec 2007 22:49:19 -0000


Got a strange problem with my home server. If I run "bash" from the
command line it sits there and does nothing. Bit if I run "sh" it works.
And sp is a symlink point to bash.

Anyone know what causes this?