Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-10-2019, 02:51 AM   #1
Senior Member
Registered: Oct 2007
Distribution: Slackware
Posts: 1,025

Rep: Reputation: 256Reputation: 256Reputation: 256
Share your maildrop filters?

I have been experimenting with Maildrop as a replacement for Procmail after version-bumping the older version available on SBo to version 3.0.0. (Some adjustment required to the HTML docs and also the installation of an updated courier-unicode package).

It fits neatly between fetchmail and mutt but the syntax of the ~/.mailfilter file has me a little stymied after the relative simplicity of ~/.procmailrc.

Does anybody have some of their own maildrop filters to share? I suspect this will be not only useful for myself but for other procmail users who have just realised, as I have, that there has been almost 2 decades without development for procmail...

My first working example (just to show I have made an effort!):

#    Early days of my maildrop filters :)   #

# --> Some Variables... <--  #

logfile "$HOME/.mailfilter.log"

# --> Sort out the mailing lists...  <--  #

if (/^List-Id:.*>/)
    to $MAILBOX/ffmpeg

if (/^List-Id:.*>/)
    to $MAILBOX/slackbuilds

# --> Some frequent Forums...  <--  #

if (/^From:.*>/)
    to $MAILBOX/linuxquestions

# -->    cc syntax ...     <--  #

if (/^From:.*>/)
It is pretty basic with all mail going to /var/spool/mail/andrew, filtering going to my local mailboxes in $HOME, a single cc for bills from my isp and logging to $HOME/.mailfilter.log.

Last edited by andrew.46; 08-11-2019 at 12:18 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Maildrop is giving me a headache LiquidKernel Linux - Software 2 09-15-2004 07:53 AM
maildrop and qmail patch conflict mpk25 Linux - Software 1 04-28-2004 04:56 PM
installing maildrop after postfix with mysql kubicon Linux - Networking 0 02-18-2004 07:45 AM
sending mail to maildir -- maildrop kubicon Linux - Networking 4 02-06-2004 07:22 AM
Using maildrop with Courier MTA LiquidKernel Linux - Software 3 08-05-2003 02:02 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration