Re: [courier-users] inserting a new header into relayed mails

This is a discussion on Re: [courier-users] inserting a new header into relayed mails within the Courier-Imap forums, part of the Mail Servers and Related category; On May 26, 2005, at 8:54 AM, Raph wrote: > Hi, > =A0 > I need to add a ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-26-2005
Jason Dixon
 
Posts: n/a
Default Re: [courier-users] inserting a new header into relayed mails

On May 26, 2005, at 8:54 AM, Raph wrote:

> Hi,
> =A0
> I need to add a parameter into the headers into mails relayed by my=20
> Postfix SMTP server.
> =A0
> X-SERVICEID : xxxxxxxx
> =A0
> =A0Does anyone know the way to do this?


This really belongs on a Postfix list, not Courier. That said, you can=20=

find hints in the amavisd source code:

eval {$entity =3D MIME::Entity->build(
Type =3D> 'text/plain', Encoding =3D> '-SUGGEST', Charset =3D>=20=

$bdy_encoding,
(defined $notify_xmailer_header && $notify_xmailer_header eq ''
? () # leave the MIME::Entity default
: ('X-Mailer' =3D> $notify_xmailer_header) ), # X-Mailer =
hdr=20
or undef
Data =3D> $m_body); 1} or do {chomp($@); die $@};


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_id=7402&alloc_id=16135&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:07 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0