[Mimedefang] how to make mimedefang to wait longer for virus scanner
Michal Jankowski
Michal.Jankowski at fuw.edu.pl
Thu Feb 26 18:12:59 EST 2004
Toomas Vann <tom at bns.ee> writes:
> Feb 26 15:57:08 computer sendmail[1464]: i1QDv2sh001464: from=<someone>,
> Feb 26 15:58:08 computer sendmail[1464]: i1QDv2sh001464: Milter
> (mimedefang): timeout before data read
That's 60s.
> I am using sendmail-8.12.8-9.90, MIMEDefang 2.39, Cyrus IMAP 2.1.16.
>From mimedefang's README:
---------------------------------
5) Add the following line to your Sendmail "m4" configuration file.
(You DO use the m4 configuration method, right?)
INPUT_MAIL_FILTER(`mimedefang',`S=unix:/var/spool/MIMEDefang/mimedefang.sock,F=T,T=S:360s;R:360s;E:15m')
(If you keep your spool directory elsewhere, use its location instead
of /var/spool/MIMEDefang/mimedefang.sock)
The "T=..." equate increases the default timeouts for milter, which
are way too small.
---------------------------------
Older versions of mimedefang used to suggest timeout of 60s, and it
seems your sendmail is configured that old way. Just increase those
'60s' to '360s' (or whatever) and try again.
MJ
More information about the MIMEDefang
mailing list