[Dovecot] POP3 how do I either retrieve spam or never put mail in spam?

Tony Nelson tonynelson at georgeanelson.com
Mon Apr 5 02:59:43 EEST 2010


On 10-04-04 14:07:49, Thomas Leuxner wrote:
> Am 04.04.2010 um 19:53 schrieb Tony Nelson:
> 
> > I retrieve my mail from dovecot over POP3.  Sometimes dovecot
> > delivers a message into the spam mailbox, even though I have no
> > spam filtering enabled.
> 
> Dovecot does not do that. Your MUA such as Thunderbird might do this,
> or a milter or some other process on your MTA may do that, but
> Dovecot won't (unless you tell it to sieve mail for you and file into
> the spam mailbox).

Well, here is something you do not know about dovecot.

[]# zgrep 'dovecot.*spam' /var/log/maillog-20100404.gz
Apr  3 17:14:12 rapidxen dovecot: deliver(tonynelson):  
msgid=<164696033923172620887 at xpsp5>: saved mail to spam
[]#

deliver sends the message wherever it is directed, apparently in this
case by an anti-spam header added by an intermediate mail server.  3
out of 4 messages in .spam are not spam.  I need to either change
dovecot or deliver to always use the regular "new" mailbox, or
retrieve POP3 mail from mailboxes other than that "new" mailbox.

[]# dovecot -n
# 1.2.10: /etc/dovecot.conf
# OS: Linux 2.6.26-1-xen-amd64 x86_64 CentOS release 5.4 (Final)
listen: *
max_auth_attempts: 1
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_processes_count: 1
login_max_processes_count: 4
max_mail_processes: 8
mail_location: maildir:~/mail
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib64/dovecot/imap
mail_plugin_dir(imap): /usr/lib64/dovecot/imap
mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3
pop3_no_flag_updates(default): no
pop3_no_flag_updates(imap): no
pop3_no_flag_updates(pop3): yes
lda:
   postmaster_address: postmaster at rapidxen.georgeanelson.com
auth default:
   failure_delay: 5
   worker_max_count: 2
   passdb:
     driver: pam
     args: session=yes dovecot
   userdb:
     driver: passwd
   socket:
     type: listen
     master:
       path: /var/run/dovecot/auth-master
       mode: 384
       group: mail
[]#

-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
       '                              <http://www.georgeanelson.com/>


More information about the dovecot mailing list