Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2007 03:56:45 +0300
From:      Bazy <bazy@goofy.celuloza.ro>
To:        freebsd-questions@freebsd.org
Subject:   Re: Integrating Postfix +  Amavisd-new + Clamav + DSpam + DBmail
Message-ID:  <469D654D.5010007@goofy.celuloza.ro>
In-Reply-To: <20070717155834.GK46587@nemesis.frida.mouhaha.de>
References:  <469A06D1.4030601@wlink.com.np> <20070717155834.GK46587@nemesis.frida.mouhaha.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Peter wrote:
> On Sun, Jul 15, 2007 at 05:21:49PM +0545, Tek Bahadur Limbu wrote:
>   
>> Hi All,
>>
>> I was wondering if anybody on this list has successfully implemented the 
>> following setup on a FreeBSD machine?
>>
>> Postfix + Amavisd-new + Clamav + DSpam + DBmail (PostgreSQL)
>>
>> Can I use the following diagram for this?
>>
>> Postfix --> Amavisd-new --> Clamav --> Amavisd-new --> DSpam --> Postfix 
>> --> DBmail-lmtpd --> DBmail-Database?
>>
>> Is this the correct or optimal setup?
>>
>> Being relatively new to the world of MTAs, please forgive me for any 
>> naive questions.
>>
>>
>> Any pointers, suggestions and tips will be highly appreciated.
>>     
>
> I'm using  FreeBSD 6.2-RELEASE-p2 with Postfix, Cyrus-SASL2, amavisd-new, clamav
> and dbmail (only IMAP with stunnel) with a pgsql backend.
>
> I would like to switch back to a filesystem based e-mail backend
> (maybe dovecot) - feels better to me.  Furthermore I think that dbmail
> has no good pgsql support (it has some bugs with IMAP) - 
> maybe you would like to try mysql instead (*hirgs*).
>
> If you would like I can show you my configuration files and table
> structures.
>
>   

I'm using it with MySQL, my database is only 900MB with 15000 mails and
it works fine.

How did you integrate clamav with postfix?
I think through milter is the fastest solution, and if the milter
crashes, the mail won't just get scanned, but if a "smtpd_proxy_filter"
crashes, the mail will wait in queue and will not be delivered to dbmail.

# clamav-milter
smtpd_milters = unix:/var/run/clamav/clmilter.sock



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?469D654D.5010007>