[Dovecot] using postfix+dovecot+squirrell+amavisd and spam folder per user

Karel Hendrych karlos at karlos.cz
Wed May 20 13:23:02 EEST 2009


Yes. It is valid for virtual domains and SQL.

My dovecont.conf:

protocol lda {
  postmaster_address = postmaster at somedomain.tld
  hostname = host.somedomain.tld
  #postfix SASL auth
  auth_socket_path = /var/run/dovecot/auth-master
  #plugins
  mail_plugins = cmusieve quota
  #change of default .dovecot.sieve
  sieve=~/dovecot.sieve
}

Have look on managesieve as well.
--
Karel

ESGLinux wrote:
> Hi Karel,
> 
> Thank you very much for your answer,
> 
> I´m going to investigate lda as you say
> 
> In deed, I´m looking at my dovecot.conf and I realize I have this entry:
> 
> protocol lda {
> postmaster_address = postmaster at dominio.com
> mail_plugins = quota
> log_path = /var/log/dovecot-deliver.log
> info_log_path = /var/log/dovecot-deliver.log
> }
> 
> 
> I don´t know what is this for, but I´m going to investigate it.
> 
> On the other hand, I use mysql and virtual domains, is your answer valid for
> this kind of configuration
> 
> thanks again,
> 
> ESG
> 
> 
> 2009/5/20 Karel Hendrych <karlos at karlos.cz>
> 
>> Hi,
>>  I would suggest you to use dovecot LDA (local delivery agent) and sieve
>> for mail sorting. Mail gets tagged by amavis/antispam and dovecot LDA
>> (run by postfix) places the junk mail to right folder based on your
>> sieve match on various headers.
>>
>> --
>> Karel
>>
>> ESGLinux wrote:
>>> Hi All,
>>>
>>> As I say in the subject I use postfix, dovecot with squirrellmail as
>> webmail
>>> and amavisd as spam control,
>>>
>>> My problem is that all the spam I catch is send to /var/lib/amavis/virus
>> but
>>> I want to send this mails to the spam folder of each user.
>>>
>>> This way the user can see the mails and determine if they are really spam
>> or
>>> false positive.
>>>
>>> I dont know exactly what element of the system is the responsible to do
>> that
>>> (dovecot, amavis, posttix)
>>>
>>>  any suggest? (although only be the initial point to look for it)
>>>
>>> Thanks in advance
>>>
>>> ESG
>>>
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2562 bytes
Desc: S/MIME Cryptographic Signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20090520/721907c6/attachment-0001.bin 


More information about the dovecot mailing list