Re: [courier-users] Greetings and feature request
Oh, great idea. Thanks! Sam Varshavchik mr...@courier-mta.com wrote: Keith Dart writes: Hello, Greetings. I've been using the courier suite for some time and I really like it. The imapd outbox feature comes a real handy some times. I also use spamassassin to filter incoming email. However, some spam does get through. I was thinking it would be nice to have a generalized feature, similar to outbox, that allows you to pipe placed messages to another, configurable program. This way I can create, say, a Spam box that when I drop a email into it it will invoke spamassassin learn mode on it. There have been a few comments over the years from folks who've done that simply by running an hourly scripts that takes all files from a maildir and feeds it to something. Since message delivery to a maildir is an atomic operation, it's fairly reliable. On Linux, you could even use inotify instead of polling, to fetch files that get dropped into a directory. -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.-- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Greetings and feature request
On Tue, 2013-07-30 at 10:16 -0700, Keith Dart wrote: I was thinking it would be nice to have a generalized feature, similar to outbox, that allows you to pipe placed messages to another, configurable program. This way I can create, say, a Spam box that when I drop a email into it it will invoke spamassassin learn mode on it. I have a very nice system set up for this which I've been using for some time. I use /etc/courier/maildroprc as the driver scrip for this, and it's invoked every time a piece of mail is received. Processing of uncaught spam is done only once every 24 hours or so, so a python script is run to check the time of the last SpamAssassin invocation for this user, and if at least 24 hours has passed, $DO_SPAM is set, and if an email is less than $SCANSPAMSIZE in size, xfilter invokes spamc. if( $DO_SPAM 0 ) { if( $SIZE $SCANSPAMSIZE ) { xfilter /usr/bin/spamc -u $USER -s $SCANSPAMSIZE } [snip! .. ] } There's a lot more to my system than this, and I'll be happy to share more details with you if you wish, but basically it's all done with /etc/courier/maildroprc, SpamAssassin, clamav, a collection of Python scripts and hooks to allow web-based user configuration of SpamAssassin parameters (whitelist, blacklist, rejection score, etc.). It's pretty complex, but if I'd wanted simple I'd be using MS Exchange Server. I use Courier because it allows me to build my own supporting program structures to manage things the way I want them done. -- Lindsay Haisley | Never expect the people who caused a problem FMP Computer Services | to solve it. - Albert Einstein 512-259-1190 | http://www.fmp.com| -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Greetings and feature request
Hello, Greetings. I've been using the courier suite for some time and I really like it. The imapd outbox feature comes a real handy some times. I also use spamassassin to filter incoming email. However, some spam does get through. I was thinking it would be nice to have a generalized feature, similar to outbox, that allows you to pipe placed messages to another, configurable program. This way I can create, say, a Spam box that when I drop a email into it it will invoke spamassassin learn mode on it. Thanks for the great stuff, Keith Dart -- -- ~ Keith Dart ke...@dartworks.biz public key: ID: 19017044 http://www.dartworks.biz/ = -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Greetings and feature request
On Tue, Jul 30, 2013 at 7:16 PM, Keith Dart ke...@dartworks.biz wrote: Hello, Greetings. I've been using the courier suite for some time and I really like it. The imapd outbox feature comes a real handy some times. I also use spamassassin to filter incoming email. However, some spam does get through. I was thinking it would be nice to have a generalized feature, similar to outbox, that allows you to pipe placed messages to another, configurable program. This way I can create, say, a Spam box that when I drop a email into it it will invoke spamassassin learn mode on it. There are several ways of going about this. I think this looks somewhat like what you're asking about: http://www.fladi.at/posts/filtering-mails-for-courier-with-maildrop/ There is a formatting error in the website, but the author was nice enough to provide the maildroprc file in a reasonable format: http://www.fladi.at/media/filtering-mails-for-courier-with-maildrop/maildroprc -- Jan -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Greetings and feature request
Keith Dart writes: Hello, Greetings. I've been using the courier suite for some time and I really like it. The imapd outbox feature comes a real handy some times. I also use spamassassin to filter incoming email. However, some spam does get through. I was thinking it would be nice to have a generalized feature, similar to outbox, that allows you to pipe placed messages to another, configurable program. This way I can create, say, a Spam box that when I drop a email into it it will invoke spamassassin learn mode on it. There have been a few comments over the years from folks who've done that simply by running an hourly scripts that takes all files from a maildir and feeds it to something. Since message delivery to a maildir is an atomic operation, it's fairly reliable. On Linux, you could even use inotify instead of polling, to fetch files that get dropped into a directory. pgpJutnoEnpGE.pgp Description: PGP signature -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users