[EXIM] Filter help

Top Page
Delete this message
Reply to this message
Author: James Dehnert
Date:  
To: exim
Subject: [EXIM] Filter help

OK, all my efforts are failing miserably. I have a situation where I
am taking in mail for 2 companies that uesd to be 1 company. I just
forward the e-mail now for all accounts from the old companies name to
the appropriate new company. I want to continue that, but also send a
reply back to the sender that says the recipient is now at the
newcompany. I'd like to use my existing mail_aliases file in NIS+ to
get the new company name.

for example...

Mail comes in for

geough.xmeaux@origonal_company.com

Mail goes out to

geough.xmeaux@new_company.com

and a letter saying that geough.xmeaux's address is now
geough.xmeaux@new_company.com is sent back to the sender

AND

Mail comes in for

    wilma.carstart@origonal_company.com


Mail goes out to

wilma.carstart@???

and a letter saying that wilma.carstart's address is now
wilma.carstart@??? is sent back to the sender

Any hints would be wonderfull.

  Thanks,
    Zeke
-- 
+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
* mailto:james.dehnert@cerent.com   http://www.cerent.com *
+ James "Zeke" Dehnert                 Cerent Corporation +
* IS                            1450 North McDowell Blvd. *
+ Eschew Obfuscation   707.793.9055   Petaluma,  CA 94954 +
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*
+ Opinions expressed are not those of Cerent Corporation. +
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*


--
*** Exim information can be found at http://www.exim.org/ ***