Re: [Exim] NB: return-path problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andreas Metzler
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] NB: return-path problem
On Tue, Nov 25, 2003 at 02:06:57PM -0500, Matej Cepl wrote:
[using exim3]
> Now, I have a problem with the envelope address of my emails. I
> do have /etc/email-addresses file with this content:


>         matej: matej@???


> and rewriting rule in /etc/exim/exim.conf as


>         *@@  ${lookup{$1}lsearch{/etc/email-addresses}\
>                           {$value}fail} frFs


> Which works fine for messages which has From: with
> matej@??? (or just matej). However, it doesn't work when
> I need to send out emails (still as a user matej) with From:
> cepl@??? (which is my throw-away address for the
> list-subscriptions).

[...]
> Unfortunately, I cannot use -f parameter, because kmail (my
> primary MUA) doesn't support adding parameters to
> /usr/sbin/sendmail.


> When trying exim -brw to both cepl@??? and
> matej@??? the results are OK (envelope-from: equals
> from:).


> However, when sending emails to the localhost:25 via SMTP,
> everything works smoothly (and the cepl@??? leaves with
> envelope cepl@???).


> What I am missing?


The fact that kmail can simply deliver to localhost:25 via SMTP instead
of using /usr/sbin/sendmail.
                 cu andreas