[prev in list] [next in list] [prev in thread] [next in thread]
List: amavis-user
Subject: Re: [AMaViS-user] Per-recipient header edits - Possible with a hook?
From: Thomas Johnson <tj () terramar ! net>
Date: 2008-11-16 1:13:21
Message-ID: 8EFBBD63-BC0F-4887-B185-0E9E2C707F37 () terramar ! net
[Download RAW message or body]
Hi Mark-
Think that per-recipient header modification is something that might
be possible to do via a custom hook at some point?
Thanks-
Tom
On Nov 14, 2008, at 10:41 AM, Mark Martinec wrote:
> Thomas,
>
>> Is it possible to add a custom header that's unique per-recipient?
>
> Yes, you need to call:
> $hdr_edits->add_header('X-YourHeaderField', 'value');
> within sub add_forwarding_header_edits_per_recip().
>
> You should also add a value of the each by-recipient inserted
> header filed to a cluster-gathering key in that subroutine:
> my($key) = join("\000", ...
> so that clustering algorithm will know when to split delivery
> for multiple recipients.
>
> Mark
>
> -------------------------------------------------------------------------
> 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=/
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
-------------------------------------------------------------------------
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=/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic