Florian Meister wrote:

> I had a mail-looping problem last week and now I want to implement
> something to detect such loops and drop the looping mail if it's looping
> more than x times.

Sendmail has that capability built-in; why do you need MIMEDefang to do it?

> First I wanted to check the Received: lines and count every line where
> one of our mailrelays is in. If the count reaches a specific value drop
> the mail. The Problem is, that the Received-lines are written new if the
> message is bounced.

You can count the number of Received: lines in the ./HEADERS file.

Or you can have MIMEDefang add a magic header to all mail, and reject
mail if one comes in with the magic header already present.

Regards,

David.
_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to