Rev | Author | # | Line |
---|---|---|---|
5 | AristotlePagaltzis | 1 | !! Documentation |
1 | perry | 2 | |
5 | AristotlePagaltzis | 3 | See procmailex(5) and procmailrc(5). |
6 | JohnMcPherson | 4 | |
7 | AristotlePagaltzis | 5 | !! Filter out duplicate [Email]s |
1 | perry | 6 | |
5 | AristotlePagaltzis | 7 | <verbatim> |
8 | :0 Wh: msgid.log | ||
9 | | formail -D 65536 /home/perry/.msgid.cache | ||
10 | </verbatim> | ||
4 | AristotlePagaltzis | 11 | |
7 | AristotlePagaltzis | 12 | !! Filter (some) mailing lists into MailBox~es according to list address |
1 | perry | 13 | |
5 | AristotlePagaltzis | 14 | <verbatim> |
15 | :0: | ||
16 | * ^List-Post:.*<!mailto:\/[A-Za-z0-9][-A-Za-z0-9\.@]+ | ||
17 | lists/$MATCH | ||
3 | AristotlePagaltzis | 18 | |
5 | AristotlePagaltzis | 19 | :0: |
20 | * ^Sender: owner-\/[[A-Za-z0-9][[-A-Za-z0-9\.@]+ | ||
21 | lists/$MATCH | ||
22 | </verbatim> | ||
8 | DanielLawson | 23 | |
24 | !! Use procmail to deliver to cyrus | ||
25 | |||
26 | Before you do this, check that you really need to. Most MTAs will support [LMTP] delivery now, which is a far more efficient way of delivering to cyrus. Also note that cyrus uses a custom maildir format, so you cannot just drop mail into an appropriate directory. | ||
27 | |||
28 | If you really must use procmail to deliver to cyrus, you'll need a rule such as: | ||
29 | <verbatim> | ||
30 | :0 w | ||
31 | | /usr/bin/cyrus/bin/deliver -e -a $USER -m user/$USER | ||
32 | </verbatim> | ||
33 | |||
34 | But be warned that the user/$USER bit may be dependant upon your cyrus configuration, as will the actual path to cyrus deliver. Do *not* use a deliver program from a different MTA. It will eat your mail. |
lib/blame.php:177: Warning: Invalid argument supplied for foreach()