l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2009 Oct 07 21:59

The following is an archive of a post made to our 'vox mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox] Sieve (was procmail)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox] Sieve (was procmail)



I will have to check it out. In order to use sieve what do you have to do?

brian

On Tue, Oct 06, 2009 at 07:19:49PM -0700, Bill Broadley wrote:
> I used to manage a rather large procmail file.  It has some problems (IMO):
> * Rather user unfriendly syntax
> * Is a bit too expressive (i.e. not ideal for exposing to users, procmail
>   basically can expose as much as a shell)
> * Runs either on client side (so poor for vacation like messages) or server
>   side with the security issues (so it's okay for an admin).
> * no mail client support that I know of.
> 
> I found a nice replacement called SIEVE:
> * Has an RFC standard (RFC 5228)
> * Has a rather nice syntax (think more python than sendmail.cf)
> * Is designed to be exposed to users securely
> * Has multiple email client support (thunderbird, round cube, squirrel mail)
> * Is implemented in various mail delivery clients like dovecot's deliver
> 
> Some examples:
> 
> if size :over 100K {
>    reject "I'm sorry, I do not accept mail over 100kb in size.
> Please upload larger files to a server and send me a link.
> Thanks.";
> }
> 
> elsif address :is ["From", "To"] "mailinglist@blafasel.invalid" {
>    fileinto "INBOX.mailinglist";
> }
> elsif address :contains "sender" "vox-tech-bounces@lists.lugod.org" {
>   fileinto "vox-tech";
> }
> 
> I prefer using sender (when it works) over to:, cc:, or related because of
> various issues and you often can't really depend on them.
> 
> For mailing lists I often use something like:
> if header :contains  "X-BeenThere" "dkim-milter-discuss@lists.sourceforge.net" {
>   fileinto "dkim-milter";
> }
> 
> It's a nice way to handle spam as well:
> elsif header :contains "X-MAGICSPAMFLAG-Spam-Status" "Yes" {
>   fileinto "Junk";
> }
> 
> Since switching from procmail I spend much less time debugging, and as an
> admin for a mail server I appreciate it because I don't have to edit them on
> behalf of my users.
> 
> I'm also rather interested in the XMPP extension for SIEVE (currently a
> proposed standard).
> _______________________________________________
> vox mailing list
> vox@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox

-- 
Brian Lavender
http://www.brie.com/brian/
_______________________________________________
vox mailing list
vox@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!