On 4/18/2011 6:46 AM, fakessh wrote:
Le lundi 18 avril 2011 13:10, Morten P.D. Stevens a écrit :
2011/4/18 fakessh<fake...@fakessh.eu>:
I would like to add anti-abuse headers. I just spent a good little time
to watch list archives and found no answers

example of a header that I want to appear in my mail

X-AntiAbuse: This header was added to track abuse, please include it with
any abuse report
X-AntiAbuse: Primary Hostname - medford.localsev.com
X-AntiAbuse: Original Domain - hotmail.com
X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12]
X-AntiAbuse: Sender Address Domain - in-ex.s

Hi,

With MIMEDefang you can do that.
http://www.mimedefang.org/

For example:

/etc/mail/mimedefang-filter

action_add_header("X-AntiAbuse-Helo", "$Helo");
action_add_header("X-AntiAbuse-Relayhostname", "$RelayHostname");
action_add_header("X-AntiAbuse-Relayaddr", "$RelayAddr");
action_add_header("X-AntiAbuse-Sender", "$Sender ");
action_add_header("X-AntiAbuse-Score", "$hits ($score) $names");

and much more.

Best regards,

Morten


thanks Morten


and how to configure In My postfix. I think as a type sid-milter milter or
other milter ,
enlighten me please.
Give me a specific example of configuration with postfix



Configuring postfix to use a milter is very easy.

1. configure your milter to listen on some local port. eg 127.0.0.1:2550

2. tell postfix to use that same port
# main.cf
smtpd_milters = inet:127.0.0.1:2550

That's all that is usually required.

All other configuration is done in the milter.

You can use a unix socket rather than a TCP port, but sometimes the permissions and paths get a little tricky, particularly if using chroot.

http://www.postfix.org/MILTER_README.html



  -- Noel Jones

Reply via email to