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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|