Penguin
Diff: ProcmailNotes
EditPageHistoryDiffInfoLikePages

Differences between current version and previous revision of ProcmailNotes.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 8 Last edited on Friday, September 16, 2005 2:47:19 pm by DanielLawson
Older page: version 7 Last edited on Thursday, June 2, 2005 12:35:59 pm by AristotlePagaltzis Revert
@@ -19,4 +19,16 @@
 :0: 
 * ^Sender: owner-\/[[A-Za-z0-9][[-A-Za-z0-9\.@]+ 
 lists/$MATCH 
 </verbatim> 
+  
+!! Use procmail to deliver to cyrus  
+  
+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.  
+  
+If you really must use procmail to deliver to cyrus, you'll need a rule such as:  
+<verbatim>  
+:0 w  
+| /usr/bin/cyrus/bin/deliver -e -a $USER -m user/$USER  
+</verbatim>  
+  
+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.