From: Martin K. <Kel...@sk...> - 2002-04-30 13:45:21
|
are the recipient local? are you using virtual domains? try setting $warn_offsite = "yes"; MK At 19:01 25.04.02 -0700, you wrote: >I just loaded amavisd snapshot 20020230 and it works great except for one >thing. Amavis doesn't seem to be notifying recipients when it quarantines a >virus infected message. It does however, email senders and the admin when a >message is quarantined. > >Does anyone know why this might occur? > >When I built amavisd, I configured it with: > >./configure --enable-milter --with-sendmail-source=/root/sendmail-8.11.6 --w >ith-warnrecip=yes > >After configure finishes, the printout suggests that recipients will be >warned: >** Configuration summary for amavisd snapshot-20020300 2002-03-00: > > Install amavis daemon as: /usr/sbin/amavisd > Install amavis client as: /usr/sbin/amavis > Daemon config file: /etc/amavisd.conf > Path to socket: /var/amavis/amavisd.sock > Configured for use with: libmilter > Configuration type: sendmail/milter > Use virus scanner(s): McAfee Virusscan > Scanner runs as: root > Logging to syslog: yes > Run-time directory: /var/amavis > Warn sender: yes > Warn recipient(s): yes > Notify admin: yes > >/etc/amavisd.conf indicates that recipients should be notified. The >following is a copy of my amavisd.conf file: > ># ># Location: /etc ># ># Author: Lars Hecking <lhe...@us...> ># ># This file is part of the AMaViS package. For more information see: ># ># http://amavis.org/ ># ># Copyright (C) 2001 the people mentioned above ># ># ># This software is licensed under the GNU General Public License (GPL) ># See: http://www.gnu.org/copyleft/gpl.html ># > ># ># Part I - Av scanners init section ># ># ># amavisd (snapshot-20020300) was configured for use with: ># McAfee Virusscan ># NOTE: don't forget to re-run ./configure if you want to use ># another virus scanner! > ># NAI AntiVirus (uvscan) >$uvscan = "/usr/local/bin/uvscan"; > ># H+BEDV AntiVir >$antivir = ""; > ># Sophos Anti Virus (sweep) >$sophos = ""; >$sophos_ide_path = ""; > ># KasperskyLab AntiViral Toolkit Pro (AVP) >$avp = ""; >$AVPDIR = dirname($avp); > ># KasperskyLab AVPDaemon / AvpDaemonClient ># ># use AvpDaemon and AvpDaemonClient ># Note: AvpDaemon must be started before amavisd! ># AvpDaemon should be started at boot time as AvpDaemon -* /var/amavis >$avpdc = ""; > ># F-Secure Antivirus >$fsav = ""; > ># Trend Micro FileScanner >$vscan = ""; > ># CyberSoft VFind >$vfind = ""; > ># CAI InoculateIT >$inocucmd = ""; > ># GeCAD RAV Antivirus 8 >$rav = ""; > ># ESET Software NOD32 >$nod32 = ""; > ># ESET Software NOD32 (Client/Server Version) >$nod32cli = ""; > ># Command AntiVirus for Linux >$csav = ""; > ># VirusBuster (Daemon + Client) >$vbengcl = ""; > ># Symantec CarrierScan via Symantec Command Line Scannner >$cscmdline = ""; >$scs_host = ""; # host/IP CarrierScan runs on >$scs_port = ""; # port CarrierScan listens on > ># Sophie (Sophos SAVI) >$sophie_sockname = ""; > ># Trophie (Trend API) >$trophie_sockname = ""; > ># FRISK F-Prot >$fprot = ""; > ># Panda Antivirus for Linux >$panda = ""; > ># OpenAntiVirus ScannerDaemon >$oav = ""; > ># ># Part II - Logging ># > ># yes - syslog, no - file logging >#$DO_SYSLOG = "yes"; > ># Directory to put log entries (if not using syslog) >$LOGDIR = "/var/amavis"; >$LOGFILE = "amavis.log"; > ># 0: default - startup/exit/failure messages ># 1: args passed from client ># 2: virus scanner output ># 3: server client ># 4: decompose parts >$log_level = 0; > ># ># Part III - Virus stuff ># > ># Notify admin/sender/recipient? >$warnadmin = "yes"; >$warnsender = "yes"; >$warnrecip = "yes"; > ># Notify off-site recipients? >$warn_offsite = "no"; > ># List of local domains ># e.g. @local_domains = qw( dom.ain other.dom.ain ); >@local_domains = qw(path.berkeley.edu ccit.berkeley.edu); > ># Location to put infected mail - empty for not quarantining >$QUARANTINEDIR = "/var/virusmails"; > ># Add X-Virus-Scanned line to mail? >$X_HEADER_TAG = "X-Virus-Scanned"; ># Leave empty to add no header >$X_HEADER_LINE = "by AMaViS snapshot-20020300"; > >#################################################### > ># ># Part IV - External programs ># (perl modules do not exist for these yet) ># > >$arc = "/usr/local/bin/arc"; >$bunzip = "/bin/bunzip2"; >$file = "/usr/local/bin/file"; >$lha = "/usr/local/bin/lha"; >$unarj = "/usr/local/bin/unarj"; >$uncompress = "/bin/uncompress"; >$unrar = "/usr/local/bin/unrar"; >$zoo = "/usr/local/bin/zoo"; > ># ># Part V - MTA specific stuff ># > ># Qmail-specific >$QMAILDIR = "/bin"; > ># postfix-specific >$smtp_port = "NOT_SET"; >$localhost_name = "localhost"; >$localhost_ip = "127.0.0.1"; > ># sendmail-specific ># Do we use amavis on a mail relay/gateway type setup? >$enable_relay = "no"; > ># >$sendmail_cf_orig = ""; > ># What sendmail wrapper to use >$sendmail_wrapper = "/usr/lib/sendmail"; >$sendmail_wrapper_args = "-i -t"; > ># ># Part VI - Misc ># > ># The next three are resource limitations - exit with EX_TEMPFAIL if >exceeded ># Maximum recursion level for extraction/decoding >$MAXLEVELS = 20; > ># Maximum nesting level for compressing archive formats >$MAX_ARCHIVE_NESTING = 3; > ># Maximum number of extracted files >$MAXFILES = 500; > ># Who reports are sent from >$mailfrom = 'postmaster'; > ># Where to send virus reports >$mailto = 'virusalert'; > ># Display AMaViS credits to users >$credits = "no"; > >Jonathan Felder >Network and System Administrator >California PATH, UC Berkeley >http://www.path.berkeley.edu/systemsupport/ > > > > > >_______________________________________________ >AMaViS-user mailing list >AMa...@li... >https://lists.sourceforge.net/lists/listinfo/amavis-user >AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 |