Hi<br><br>you don't to alter the wrapper code at all, just change the mailScanner.conf config to say clamd rather than clam. Read config file about this and also how you need to alter the group settings etc to cope with clamd so the clamd user can see the mail files.<br>
<br>start from item 6 here to give you a starting point for what you need to do.<br><br><a href="http://wiki.mailscanner.info/doku.php?id=documentation:anti_virus:clamav:switch_to_rpm_clamd&s=clamd">http://wiki.mailscanner.info/doku.php?id=documentation:anti_virus:clamav:switch_to_rpm_clamd&s=clamd</a><br>
<br><br clear="all">-- <br>Martin Hepworth<br>Oxford, UK<br>
<br><br><div class="gmail_quote">On 11 March 2011 20:14, Danilo Marques de Gouveia <span dir="ltr"><<a href="mailto:dm.gouveia@gmail.com">dm.gouveia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Guys,<div><br></div><div>Hope someone could help me 'cause I searched the list and I didn't find an answer.</div><div><br></div><div>I'm running a Ubuntu server 10.10 with Postfix 2.7.1 with MailScanner 4.79.11, ClamAV 0.96, SpamAssassin and MailWatch.</div>
<div><br></div><div>It started when I realized that clamAV wasn't doing the job correctly, then I moved my configs back to clamscan instead of using clamdscan. I don't know why but when I change the clamav-wrapper to clamdscan the clamav "check the message"but didn't recognize any virus, anyway this is not the biggest problem.</div>
<div><br></div><div>When I moved the configs back (only the config into the wrapper) when any 'suspect message' arrive in my network (can be a .chm or .com for example) the recipient is not receiving the warning which says were his file was archived !!!</div>
<div><br></div><div>What is saving me for a while now is the mailwatch that advise me when a email with virus or suspected file arrive, however my customers are not receiving that notification anymore and before I moved the wrapper config it was working perfectly.</div>
<div><br></div><div>A bit about my MailScanner.conf</div><div><br></div><div>Deliver Cleaned Messages = yes </div><div><br></div><div>I just realize that my postfix maybe have a problem because I got the error below into the mail.log</div>
<div><br></div><div> mike postfix/error[12214]: 70922280BE8: to=<<a href="mailto:fakemail@mydomain.com" target="_blank">fakemail@mydomain.com</a>>, relay=none, delay=17599, delays=17598/0.23/0/0.15, dsn=4.3.0, status=deferred (mail transport unavailable)</div>
<div><br></div><div>Any ideas? I'm running a postfix relay server, postmap is up to date and I have a transport file indicating the server that those messages need to be routed.</div><div><br></div><div>Thanks all,<br>
-- <br>Danilo Marques de Gouveia<br>
</div>
<br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
<br></blockquote></div><br>