Roger Merchberger <[EMAIL PROTECTED]> writes:

  To try to bring this remotely back on-topic: Is there any way to have a
  "local" virus scanner -- such that if a customer of our ISP tries to send a
  virus-riddled message that it bounces the message, letting the person know
  they're trying to send a virus?

Compile one of the virus scanning qmail-queue replacements.  Name its binary
"qmail-queue-virus" and put it in /var/qmail/bin.

Compile a copy of qmail-smtpd that calls qmail-queue-virus instead of
qmail-queue when RELAYCLIENT is set.  Name this binary qmail-smtpd-virus and
put it in /var/qmail/bin.

Change your tcpserver line from

tcpserver -x /etc/smtp.cdb -v -u QUID -g QGID 0 25 /var/qmail/bin/qmail-smtpd

to

tcpserver -x /etc/smtp.cdb -v -u QUID -g QGID 0 25 /var/qmail/bin/qmail-smtpd-virus

replacing QUID and QGID with the obvious values.


Faried.
-- 
"...the first are last, the blessed get wired
 the best is yet to come..."
                               self name.
superstar!

Reply via email to