query if mailscanner using clamscan
simon
mailadmin at baladia.gov.kw
Thu Jul 26 21:52:50 IST 2007
Dear All,
Thanks once again julian..
btw i removed virus scanning =auto from my MailScanner.conf file and now i
have virus scanning = clamav clamd so that i would like mailscanner to
clamscan every incommin n outgoin mail message.
but now when i restart mailscanner i see in maillogs
Cannot find Socket (/tmp/clamd) Exiting!
if i say service clamd status
clamd (pid 1779) is running...
so clamd daemon is running
really apprecite ur help
Thanks and Regards
simon
> In which case 'auto' will only use 'clamav'. To find 'clamavmodule' you
> must have the module installed. To find 'clamd' the daemon must be
> running, and the Clamd-specific MailScanner.conf options must be set
> correctly.
>
> simon wrote:
>> Thanks agin guys for ur immediate reply
>>
>> here the MailScanner --lint output..
>>
>> Read 797 hostnames from the phishing whitelist
>> Checking version numbers...
>> Version number in MailScanner.conf (4.61.7) is correct.
>> --------------------------------------------------------------
>> Checking for SpamAssassin errors (if you use it)...
>> SpamAssassin temporary working directory is
>> /var/spool/MailScanner/incoming/SpamAssassin-Temp
>> SpamAssassin temp dir =
>> /var/spool/MailScanner/incoming/SpamAssassin-Temp
>> Using SpamAssassin results cache
>> Connected to SpamAssassin cache database
>> SpamAssassin reported no errors.
>> Using locktype = posix
>> Creating hardcoded struct_flock subroutine for linux (Linux-type)
>> MailScanner.conf says "Virus Scanners = auto"
>> Found these virus scanners installed: clamav
>>
>>
>> -----------------------------------------------------------------
>>
>> gues sits fine... but it has no reference to clamscan or clamd
>>
>>
>> regards
>>
>> simon
>>
>>
>>> If you are running the RPM version of clamav then your
>>> virus.scanners.conf file is right, as clamscan is in /usr/bin/clamscan.
>>> Check that 'auto' is picking them up correctly by doing a "MailScanner
>>> --lint".
>>>
>>> simon wrote:
>>>
>>>> Thanks Guys for you quick reply,
>>>>
>>>> Btw i did forget to mention and ask u wht new should be added to
>>>> virus.scanners.conf file since after the script was run there is a
>>>> /etc/MailScanner/virus.scanners.conf.bak file
>>>>
>>>> here the clam lines for the /etc/MailScanner/virus.scanners.conf
>>>>
>>>> ------------------------
>>>>
>>>> clamav /usr/lib/MailScanner/clamav-wrapper /usr
>>>> clamd /bin/false /usr
>>>> clamavmodule /bin/false /tmp
>>>>
>>>> ------------------------------------------
>>>> i guess this above file does not reference clamscan if im right..
>>>> do let me know if i hav to edit this file.
>>>> my clamscan is is /usr/bin
>>>> n clamd is in /usr/sbin
>>>>
>>>> and in MailScanner.conf it says
>>>>
>>>> Virus Scanners = auto
>>>>
>>>> i did keep it auto as i will install bitdefender latter and would like
>>>> MS
>>>> to search for the installed antivirus software
>>>>
>>>> Appreciate your help
>>>>
>>>> Thanks and regards
>>>>
>>>> simon
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> What does you /etc/MailScanner/virus.scanners.conf say for the clam
>>>>> lines?
>>>>> What does the "Virus Scanners = " line in MailScanner.conf say?
>>>>>
>>>>> simon wrote:
>>>>>
>>>>>
>>>>>> Dear All,
>>>>>>
>>>>>> i have recently installed new sendmail based mail server and
>>>>>> installed
>>>>>> mailscanner + jules packge spamassassin + clamAV and have instructed
>>>>>> clamd
>>>>>> virus scanning daemon to be used by mailScanner for scanning email
>>>>>> when
>>>>>> installing the package. i have also installed clamav, clamav-db and
>>>>>> clamd
>>>>>> from http://dag.wieers.com/rpm/packages/clamav
>>>>>> and everythin workin OK.
>>>>>> i have clamscan installed in /usr/bin
>>>>>>
>>>>>> but how could i know if mailscanner is really using clamd daemon n
>>>>>> clamscan to scan emails
>>>>>>
>>>>>>
>>>>>> Appreciate ur help
>>>>>>
>>>>>>
>>>>>> regards
>>>>>>
>>>>>> simon
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> Jules
>>>>>
>>>>> --
>>>>> Julian Field MEng CITP
>>>>> www.MailScanner.info
>>>>> Buy the MailScanner book at www.MailScanner.info/store
>>>>>
>>>>> Need help customising MailScanner?
>>>>> Contact me!
>>>>> Need help fixing or optimising your systems?
>>>>> Contact me!
>>>>> Need help getting you started solving new requirements from your
>>>>> boss?
>>>>> Contact me!
>>>>>
>>>>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>>>>
>>>>>
>>>>> --
>>>>> This message has been scanned for viruses and
>>>>> dangerous content by MailScanner, and is
>>>>> believed to be clean.
>>>>> For all your IT requirements visit www.transtec.co.uk
>>>>>
>>>>> --
>>>>> MailScanner mailing list
>>>>> mailscanner at lists.mailscanner.info
>>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>>>
>>>>> Before posting, read http://wiki.mailscanner.info/posting
>>>>>
>>>>> Support MailScanner development - buy the book off the website!
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>> Jules
>>>
>>> --
>>> Julian Field MEng CITP
>>> www.MailScanner.info
>>> Buy the MailScanner book at www.MailScanner.info/store
>>>
>>> Need help customising MailScanner?
>>> Contact me!
>>> Need help fixing or optimising your systems?
>>> Contact me!
>>> Need help getting you started solving new requirements from your boss?
>>> Contact me!
>>>
>>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>>
>>>
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by MailScanner, and is
>>> believed to be clean.
>>> For all your IT requirements visit www.transtec.co.uk
>>>
>>> --
>>> MailScanner mailing list
>>> mailscanner at lists.mailscanner.info
>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>
>>> Before posting, read http://wiki.mailscanner.info/posting
>>>
>>> Support MailScanner development - buy the book off the website!
>>>
>>>
>>
>>
>>
>
> Jules
>
> --
> Julian Field MEng CITP
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
>
> Need help customising MailScanner?
> Contact me!
> Need help fixing or optimising your systems?
> Contact me!
> Need help getting you started solving new requirements from your boss?
> Contact me!
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> For all your IT requirements visit www.transtec.co.uk
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
--
Network Administrator
More information about the MailScanner
mailing list