This is a discussion on Re: [AMaViS-user] adding Habeas headers within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; > I actually need to insert the headers into the internet mail headers, > these are the ones I need ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
> I actually need to insert the headers into the internet mail headers,
> these are the ones I need to insert: > X-Habeas-SWE-1: winter into spring > X-Habeas-SWE-2: brightly anticipated .... > I thought of doing something like this by modifying amavis, but I want to > make sure I am doing through the correct channels first: > > # Habeas > $hdr_edits->append_header('X-Habeas-SWE-1','winter into spring'); > $hdr_edits->append_header('X-Habeas-SWE-2','brightly anticipated'); > $hdr_edits->append_header('X-Habeas-SWE-3','like Habeas SWE \(tm\)'); Yes, that is the cleanest way to do it, best placed within sub add_forwarding_header_edits_common() No need to quote ( and ), the only characters that are special within singe-quoted Perl strings are \ and ' Mark ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |