[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: smail 3.1.29.1-22 append_header="..." problem



Hello,

> smtp:	driver=tcpsmtp, max_addrs=100, -max_chars, inet;
> 	use_bind, defer_no_connect, -local_mx_okay, defnames,
> 	remove_header="Content-Length",
> 	append_header="Content-Length: $body_size",
> 	remove_header="X-No-Junk-Mail",
> 	append_header="X-No-Junk-Mail: Do not send me junk mail under any circumstances.",
> 	append_header="X-No-Junk-Mail: Do not add me to any mailing lists without my express request."

The remove and append_header statements are generic transport attributesd,
and therefore have to be put BEFORE the ;

smtp:	driver=tcpsmtp, max_addrs=100, -max_chars, inet,
	remove_header="Content-Length",
	append_header="Content-Length: $body_size",
	remove_header="X-No-Junk-Mail",
	append_header="X-No-Junk-Mail: Do not send me junk mail under any circumstances.",
	append_header="X-No-Junk-Mail: Do not add me to any mailing lists without my express request.";
	use_bind, defer_no_connect, -local_mx_okay, defnames

should work.

Greetings
Bernd
-- 
  (OO)      -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
 ( .. )  ecki@lina.{inka.de,ka.sub.org}  http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +4972573817  *plush*
(O____O)       If privacy is outlawed only Outlaws have privacy


Reply to: