E.A.Neonakis,

> In a sendmail 8.13.5, amavisd-new-.2.3.3 and amavisd-milter
> installation, I have noticed that undecipherable mails are not defanged,
> although  $defang_undecipherable = 1.
> Looking the code at line 7508 of the amavisd code, it seems to me that
> the defanging code is not executed if the AM.PDP (milter) protocol is
> used. I would like to ask the following questions:

> 1. Is it true that defanging code is not executed for AM.PDP protocol?

Yes.

> 2. If yes is it a limitation of the current amavisd amavisd-milter
> implementation or is it sendmail limitation

A limitation of the protocol between amavis-milter and amavisd,
as well as a limitation of the amavis-milter (old or new). Not worth
implementing in my view, see below.

> 3. If it is a amavis limit is it going to be implemented in a future
> version?

Not likely.

Amavid-new in a sendmail milter setup is unable to modify mail body,
so defanging gets ignored. This is a limitation of both the old AM.CL
and well as the newer AM.PDP protocols (although the milter protocol
does support it, but not per-recipient modifications of the body nor
per-recipient modifications of the header).

It does not seem worth the trouble of supporting mail body modifications
through milter protocol, because it would require mail to be copied back
to sendmail through milter socket. Mail rewriting is available in a 
dual-sendmail setup, and it involves just as much additional mail traffic
as the milter+body modification would require - with a benefit of gaining
a more robust mail setup (decoupling number of input smtp sessions
from the number of content filters, a need for a factor of 10 is not unusual),
and the ability of modifying header per-recipient, which milter does not 
offer.

> 4. Is defanging working in dual sendmail configurations?

Yes, as in any dual-MTA setup, including Postfix.

  Mark


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to