E.A.Neonakis,

> I have installled  amavisd-new-2.3.3 a week ago in single sendmail
> configuration for incoming mail only.
> I have tried the tests in the test-messages directory and noticed that
> the sample-42-mail-bomb.txt is not blocked.
> Also ho headers are added in the messages.
> I would like to know whether that is the expected behaviour in this
> configuration or if I have misconfigured amavis

To clarify Jerzy's reply: yes, this is expected behaviour.

Mail bomb protection works like this: it protects decoders
and virus checkers from trying to decode recursively.

You get "NOTICE: Virus scanning skipped: ..." in the log,
virus scanning is NOT done(!), and if the setup allows it,
mail header field:
  X-Amavis-Hold: WARNING: possible mail bomb, NOT CHECKED FOR VIRUSES
is inserted, and if $defang_virus is true a mail body is wrapped
in and extra MIME layer.

These two mail modifications are only possible in certain setups,
like in a dual-MTA setup (common with Postfix, possible with other
mailers including sendmail, see README.sendmail-dual).

In case of sendmail milter setup, mail body replacement is not
supported ($defang_virus has no effect). Regarding the insertion
of mail header, this should work with Petr Rehor's amavis-milter
as Jerzy noted, but not with the old amavis-milter that comes
with amavisd-new package, because the old protocol (AM.CL) between
amavis-milter and amavisd does not understand header modifications,
but the new AM.PDP protocol does.

  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