Richard Guy Briggs a écrit :
> Hi all,
>
> I've been a sysadmin of sendmail, and currently admin exim and more
> closely postfix.
>
> I'm looking for a way to modify (delete and add) standard headers
> (Return-Path: and Reply-To:) for all relayed mail through courier.  I
> have only a certain type of traffic transitting a specific courier MTA
> and want to apply the same rules to all of it.
>
> What I'm looking for appears to be headerdel and headeradd that are
> provided for couriermlm, except I need this for general email and not
> just mailing lists.
>
> I've also looked at reformail as a potential way to implement it, but
> again, it is for general email being relayed and not per user that could
> be accomplished with local delivery.
>
> Is there a straight-forward way to do this?  
>   
I would have an idea...

Courier-Pythonfilter + Homemade plugin.
Use Xfilter, and then, modify your mail with such thing:

del msg['theheaderyouwanttoremove']

msg.add_header(.....)

I don't know wether it works or not.

HTH.
Jerome Blion.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to