procmail
[Top] [All Lists]

An 'or' recipe

2017-08-13 15:25:17
I get a lot of messages from various authors mailing lists. After some
searching I came up with an option that might work but wanted to run it
through the list. This is what I came up with

:0
*^From:susanmay21(_at_)iinet(_dot_)net(_dot_)au |\
^From:billh(_at_)marsjourney(_dot_)info |\
^From:mail(_at_)cchaseharwood(_dot_)com |\
^From:barry(_at_)barryjhutchison(_dot_)com |\
^From:blake(_at_)blakebrivers(_dot_)com |\
^From:help(_at_)bookfunnel(_dot_)com |\
^From:brandon(_at_)brandon-ellis(_dot_)com |\
^From:brian(_at_)brianference(_dot_)com |\
^From:cgockel(_at_)cgockelwrites(_dot_)com |\
^From:contact(_at_)ccekeke(_dot_)com |\
^From:jrobertsonwrites(_at_)gmail(_dot_)com
$AUTHORS

The recipe ideally should start at the first author and go through the
list until if/when it finds a match and put that messages in the folder
denoted for $AUTHORS. 

The output to my procmaillog shows
procmail: No match on "^From:susanmay21(_at_)iinet(_dot_)net(_dot_)au 
|^From:billh@marsj
ourney.info |^From:mail(_at_)cchaseharwood(_dot_)com 
|^From:barry@barryjhutchison.
com |^From:blake(_at_)blakebrivers(_dot_)com 
|^From:help(_at_)bookfunnel(_dot_)com |^From:bra
ndon(_at_)brandon-ellis(_dot_)com |^From:brian(_at_)brianference(_dot_)com 
|^From:cgockel@cgo
ckelwrites.com |^From:contact(_at_)ccekeke(_dot_)com 
|^From:jrobertsonwrites@gmail
.com"

Does that look correct?

Thanks
Chris

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
15:13:16 up 2 days, 7:26, 1 user, load average: 0.54, 0.55, 0.35
Description:    Ubuntu 16.04.3 LTS, kernel 4.10.0-32-generic

Attachment: signature.asc
Description: This is a digitally signed message part

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de
https://mailman.rwth-aachen.de/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>