Bug 115295 - yast2-mail: activation of virus scanner
Summary: yast2-mail: activation of virus scanner
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 4
Hardware: Other SUSE Other
: P5 - None : Major
Target Milestone: ---
Assignee: Martin Vidner
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-05 12:09 UTC by Heiko Rommel
Modified: 2005-09-05 16:07 UTC (History)
0 users

See Also:
Found By: Component Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Rommel 2005-09-05 12:09:12 UTC
When activating the anti-virus/anti-spam option in the configuration interface
there're no checks if a virus scanner is installed.

This is what happens:
- amavisd-new get's installed (ok)
- with the configuration shipped with amavisd-new you need a working virus
scanner, otherwise it fails with error code "451" which will cause a temporary
delivery error in Postfix

Suggested work around:

Either display a message to inform the admin that a virus scanner for Amavis has
to be installed  (remember that the admin does not know about Amavis at this
point!!!).

Or: simply install clamav. clamd does _not_ need to be started for Amavis to work.
Comment 1 Martin Vidner 2005-09-05 15:31:20 UTC
I tried with amavis installed and clamav not installed and sending went fine.    
But receiving mail fails with    
host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=11105-01,    
virus_scan FAILED: virus_scan: NO VIRUS SCANNERS AVAILABLE (in reply to end of    
DATA command)    
After installing clamav mailq says    
host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=10922-02,    
virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamscan    
av-scanner FAILED: /usr/bin/clamscan unexpected exit 50, output="ERROR: Can't    
initialize the virus database" at (eval 56) line 435. (in reply to end of DATA    
command)    
It appears that clamav-db should be installed too. To complicate matters, 
clamav is not on openSUSE. 
 
So I will display a message if it is not in an inatallation source. Otherwise 
I'll install clamav and clamav-db. If clamav is installed, I do not check for 
clamav-db because the user may have set up automatic updates of the database. 
 
What do you mean by "the admin does not know about Amavis at this point"? He  
has chosen to enable it.  
Comment 2 Martin Vidner 2005-09-05 16:07:59 UTC
yast2-mail-2.12.4 submitted.