[exim] exim4 rewriting - need a hint

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Lars Schimmer
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] exim4 rewriting - need a hint
Hi

I've got a exim4 mailserver here and need a conditional header rewriting.

Current situation:
email user@???

We got a alias file which sorts like:

user:    sievescript,user1@???


and the siecescript sorts the emails in local cyrus mailboxes.

Now the server at user1@??? has a SPF setup which refuses
the emails (sure, a alias does not rewrite anything).

I want to rewrite the envelope-from of the outgoing mail to
user1@???, but not for the local sieve script.


The basic rewrite rule seems to be easy, but where do I put it best with
which condition best?

Thank you.


MfG,
Lars Schimmer
-- 
-------------------------------------------------------------
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405       E-Mail: l.schimmer@???
Fax: +43 316 873-5402       PGP-Key-ID: 0x4A9B1723