[Exim] NB: return-path problem

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Matej Cepl
Date:  
À: exim-users
Sujet: [Exim] NB: return-path problem
Hi,

sorry if this question seems to be too stupid to be serious, but
I am using exim only in our tiny two-notebooks+one-server home
network (both notebooks and server have exim as their only MTA).
I use exim 3.35 on Debian/stable w/ all security patches from
Debian (I really do not want to upgrade unless really
necessary). The network is connected to the outside world with
dial-up connection.

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).

I have googled a lot about return-path problems, but I did not
anything which would seem applicable. Probably, I have to make
more sophisticated rewriting rules, but I cannot figure out how.

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?

        Thanks for help,


                Matej



--
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488