Originally posted by Feathers McGraw
View Post
Announcement
Collapse
No announcement yet.
Deluged by spam
Collapse
This topic is closed.
X
X
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9625
- Seattle, WA, USA
- Send PM
- Top
- Bottom
-
Ah... I think I may have misunderstood, it seems it's just calling a compatibility interface, rather than sendmail. Makes sense, since I haven't actually installed sendmail!
http://www.postfix.org/sendmail.1.html
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9625
- Seattle, WA, USA
- Send PM
-
Originally posted by SteveRiley View PostI would recommend simply creating a Sieve rule in your mail client to do this. That way, Dovecot remains in charge of delivery, and the Sieve rule, which actually runs on the server, moves the mail for you.
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9625
- Seattle, WA, USA
- Send PM
Sieve rules (a script, actually) are not the same as client rules. While it's true that you typically use your mail client to construct your Sieve script, the script actually lives within your account on the Dovecot server. When Dovecot receives mail from Postfix, it passes each message through your Sieve script. Sieve provides a way to perform server-side message filtering. This is better than client-side filtering because it eliminates the need to repeat rules on each client (think: desktop, laptop, tablet, phone) and ensures that all your various clients have a consistent view of your mailbox.
KMail has supported the creation of Sieve scripts for quite some time. Recent versions have added a visual editor, a welcome enhancement. Roundcube also has a visual Sieve script creator.
Here's a sample of what's in mine:
Code:require ["fileinto","body"]; # rule:[spam] if anyof (header :contains "Subject" "*SPAM*", header :contains "Subject" "**SPAM**", header :contains "Subject" "***SPAM***") { fileinto "Junk"; stop; } # rule:[Kubuntu Forums] if header :contains "From" "support@kubuntuforums.net" { fileinto "Lists/Kubuntu Forum"; stop; } # rule:[Kubuntu-users] if anyof (header :contains "To" "kubuntu-users@lists.ubuntu.com", header :contains "Cc" "kubuntu-users@lists.ubuntu.com") { fileinto "Lists/Kubuntu-users"; stop; } # rule:[Kubuntu-devel] if anyof (header :contains "To" "kubuntu-devel@lists.ubuntu.com", header :contains "Cc" "kubuntu-devel@lists.ubuntu.com") { fileinto "Lists/Kubuntu-devel"; stop; } # rule:[Subscriptions] if anyof (header :contains "To" "chd@lists.quackwatch.org", header :contains "To" "newsoftheweird@googlegroups.com", header :contains "To" "bobparks-whatsnew@listserv.umd.edu") { fileinto "Lists/Subscriptions"; stop; } # rule:[KDE-announce] if anyof (header :contains "To" "kde-announce@kde.org", header :contains "To" "kde-announce-apps@kde.org", header :contains "Cc" "kde-announce@kde.org", header :contains "Cc" "kde-announce-apps@kde.org") { fileinto "Lists/KDE-announce"; stop; } # rule:[Horn List] if anyof (header :contains "To" "horn@yahoogroups.com", header :contains "Cc" "horn@yahoogroups.com", header :contains "To" "horn@nbbc.us", header :contains "Cc" "horn@nbbc.us", header :contains "To" "horn@bogusville.us", header :contains "Cc" "horn@bogusville.us") { fileinto "Lists/Horn List"; stop; }
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9625
- Seattle, WA, USA
- Send PM
- Top
- Bottom
Comment
-
Just wanted to say, I have just got Spamassassin and Dovecot LMTP* with Sieve working on my mail server.
Sieve is really cool! I'm so glad you mentioned it or I would never have known about it.
Still to do: set up managesieve. Not because I really need it but because it sounds cool!
Thanks
Edit: LMTP not LDAP!!Last edited by Feathers McGraw; Mar 08, 2014, 06:06 AM.
- Top
- Bottom
Comment
-
mmm... have you noticed that Steve hasn't been since Feb 27th
Must be at a presentation or working hard on something? (Rearranging this forum?)"A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
– John F. Kennedy, February 26, 1962.
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9625
- Seattle, WA, USA
- Send PM
Originally posted by Feathers McGraw View PostSieve is really cool! I'm so glad you mentioned it or I would never have known about it.
Originally posted by Feathers McGraw View PostStill to do: set up managesieve. Not because I really need it but because it sounds cool!
Originally posted by GreyGeek View Postmmm... have you noticed that Steve hasn't been since Feb 27th
Must be at a presentation or working hard on something? (Rearranging this forum?)
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9625
- Seattle, WA, USA
- Send PM
Yeah, the graphical editor is quite nice. That's a relatively recent addition; previously, you had to type your sieve scripts manually. I would instead use Roundcube's editor. No need to do that now, of course.
- Top
- Bottom
Comment
Comment