On May 26, 2005, at 8:54 AM, Raph wrote:
Hi,
I need to add a parameter into the headers into mails relayed by my
Postfix SMTP server.
X-SERVICEID : xxxxxxxx
Does anyone know the way to do this?
This really belongs on a Postfix list, not Courier. That said, you can
find hints in the amavisd source code:
eval {$entity = MIME::Entity->build(
Type => 'text/plain', Encoding => '-SUGGEST', Charset =>
$bdy_encoding,
(defined $notify_xmailer_header && $notify_xmailer_header eq ''
? () # leave the MIME::Entity default
: ('X-Mailer' => $notify_xmailer_header) ), # X-Mailer hdr
or undef
Data => $m_body); 1} or do {chomp($@); die [EMAIL PROTECTED];
To be more precise, MIME::Entity::build().
HTH.
--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net
-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users