I am using Debian and struggling to grasp the config file spread
across multiple files as done in Debian. It appears that Amavis is
passing the messages to ClamAV as expected and ClamAV is identifying
the virus but normally I would expect it (Amavisd-new) to notify
"postmas...@$mydomain" and that does not appear to be happening:

***************************************************************

Jul  8 18:33:36 ham amavis[7244]: (07244-01) (!)FAILED to notify
admin: 501 5.1.7 Failed, id=07244-01, from MTA([127.0.0.1]:10025): 501
5.1.7 Bad sender address syntax

Jul  8 18:33:36 ham amavis[7244]: (07244-01) Blocked INFECTED
(Eicar-Test-Signature), <car...@imdead.com> -> <carlosw...@gmail.com>,
quarantine: 4/virus-4cE+unbRZRJS, Message-ID:
<20090708223336.ga8...@imdead.com>, mail_id: 4cE+unbRZRJS, Hits: -,
size: 1006, 279 ms

Jul  8 18:33:36 ham postfix/smtp[8125]: 7831CF09A6:
to=<carlosw...@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024,
delay=0.37, delays=0.08/0.01/0.01/0.28, dsn=2.7.0, status=sent (250
2.7.0 Ok, discarded, id=07244-01 - VIRUS: Eicar-Test-Signature)

Jul  8 18:33:36 ham postfix/qmgr[7226]: 7831CF09A6: removed

***************************************************************

As you can see above I appear to not have something configured
properly. I checked the "50-user" file in conf.d and have the
following:

***************************************************************

use strict;

#
# Place your configuration directives here.  They will override those in
# earlier files.
#
# See /usr/share/doc/amavisd-new/ for documentation and examples of
# the directives you can use in this file
#
$sa_tag_level_deflt = undef;
$sa_tag2_level_deflt = 5.0;
$sa_kill_level_deflt = 8.0;

$virus_admin = "postmast...@$mydomain";
$banned_admin = "postmast...@$mydomain";

$forward_method = 'smtp:[127.0.0.1]:10025';
$notify_method = $forward_method;

#------------ Do not modify anything below this line -------------
1;  # ensure a defined return

***************************************************************

Can someone please tell me what is wrong?

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
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