Re: redirect incoming spam mail into user's imap folder.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Morgan wrote:
On Fri, 12 Jan 2007, Sam wrote:

Hi there,

I want to use postfix, cyrus, spamassassin+procmail to filter or redirect incoming spam email into user's imap folder, eg. Junk.

Atm, I have setup the this using the following guideline.
http://www.goblet.net/spamkill/

in the file spamkill.rc file, I want to change it so that it can achieve my goal. But I just realised that the spamkill.rc need to be compliant with procmail rule.

Does anyone got another example or how to modify it so that procmail forward incoming spam mail into user's imap folder rather than log it into a sinal log file?

You would make the final step call Cyrus' "deliver" program to inject the mail into Cyrus.

However, it is recommended instead to use Cyrus' Sieve filtering instead. Here at OSU, our mail relays accept mail from the outside world, run it through amavisd (which runs it through Spam Assassin), and then send the mail on to Cyrus over LMTP. We pre-create Sieve rules for our users that discard mail with a Spam Assassin score over 10, and filter scores over 5 into a junk-mail folder.

How do you pre-create Sieve rules for your users? Manually? autocreate_sieve_rules option doesn't seem to work when added to imapd.conf. I'm using Cyrus 2.3.7

--
Peter Santiago         peters@xxxxxxxxxxxxxxx
My website:            www.psinergybbs.com
My spamtrap address:   r34987y@xxxxxxxxxxxxxxx

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux