I am new to actually running dovecot. I actually still use POP as I have for YEARS and thunderbird does not make it easy to convert to IMAP... My server is moving all tagged spam into the IMAP spam folder. Very nice for the IMAP users, but not for the POP users. Of course the server don't know, and the mysql database for users does not have any flags for this. Don't want my server to fill up with spam from POP users that don't know to check via IMAP. I am using roundcubemail for the webmail IMAP client. Is there any way for POP users to indicate that they do not want spam so nicely auto moved to the IMAP spam folder?
Am 20.11.2014 um 23:29 schrieb Robert Moskowitz:> I am new to actually running dovecot. I actually still use POP as I > have for YEARS and thunderbird does not make it easy to convert to IMAP... > > My server is moving all tagged spam into the IMAP spam folder. Very > nice for the IMAP users, but not for the POP users. Of course the > server don't know, and the mysql database for users does not have any > flags for this. Don't want my server to fill up with spam from POP > users that don't know to check via IMAP. > > I am using roundcubemail for the webmail IMAP client. Is there any way > for POP users to indicate that they do not want spam so nicely auto > moved to the IMAP spam folder?dovecot just don't know if it is a "POP3 user" it is just a user what about setup a better spam filter so you can deliver the 5-10 spam messages just to INBOX with [SPAM] added to the subject? to give you some numbers: 1200 users, 150 flagged messages per day -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20141120/f6eed3c7/attachment.sig>
On 11/20/2014 05:29 PM, Robert Moskowitz wrote:> I am new to actually running dovecot. I actually still use POP as I > have for YEARS and thunderbird does not make it easy to convert to > IMAP... > > > My server is moving all tagged spam into the IMAP spam folder. Very > nice for the IMAP users, but not for the POP users. Of course the > server don't know, and the mysql database for users does not have any > flags for this. Don't want my server to fill up with spam from POP > users that don't know to check via IMAP. > > I am using roundcubemail for the webmail IMAP client. Is there any > way for POP users to indicate that they do not want spam so nicely > auto moved to the IMAP spam folder?How do you even define a "pop user" - it's not an easy thing to determine. Someone who hasn't logged in via IMAP in x days? Perhaps implement a lastlogin_imap field? You really should just have a flag in your database. Otherwise, just purge from the spam folder messages older than X days (preferably after notifying the users, of course). Another (rather annoying) feature some people have is to have a "spam report" delivered to Inbox daily, listing messages delivered to Spam in the past 24 hours, you can script that around doveadm fetch.
On 11/20/2014 05:29 PM, Robert Moskowitz wrote:> I am new to actually running dovecot. I actually still use POP as I > have for YEARS and thunderbird does not make it easy to convert to > IMAP... > > > My server is moving all tagged spam into the IMAP spam folder. Very > nice for the IMAP users, but not for the POP users. Of course the > server don't know, and the mysql database for users does not have any > flags for this. Don't want my server to fill up with spam from POP > users that don't know to check via IMAP. > > I am using roundcubemail for the webmail IMAP client. Is there any > way for POP users to indicate that they do not want spam so nicely > auto moved to the IMAP spam folder? >Obviously I picked this up and did not think through the results. Seemed good at the time... mkdir /home/sieve cat <<EOF>/home/sieve/globalfilter.sieve || exit 1 require "fileinto"; if exists "X-Spam-Flag" { if header :contains "X-Spam-Flag" "NO" { } else { fileinto "Spam"; stop; } } if header :contains "subject" ["***SPAM***"] { fileinto "Spam"; stop; } EOF chown -R vmail:mail /home/sieve =========================================== So one option is just to disable this. Another is to work out how each user can do this if they want...
On Thu, 20 Nov 2014 17:29:05 -0500 Robert Moskowitz wrote: [ ... ]> I am using roundcubemail for the webmail IMAP client. Is there any way > for POP users to indicate that they do not want spam so nicely auto > moved to the IMAP spam folder?Mixing POP and IMAP is really bad due to many reasons. Peopla always complain "where is my mail" when using a web interface after they have POPped at home. You should consider to switch off POP. POP is for people living in caves. Greeting, Frank