Penguin

Differences between version 32 and predecessor to the previous major change of CyrusNotes.

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

Newer page: version 32 Last edited on Friday, September 16, 2005 2:31:00 pm by DanielLawson Revert
Older page: version 31 Last edited on Tuesday, November 23, 2004 4:53:18 pm by JohnMcPherson Revert
@@ -100,7 +100,32 @@
  
 By Default Cyrus2.1 uses SASL2 based Authentication, which requires the installation of sasl2-bin, but doesn't install libsasl2-modules, which are required for sieve authentication. 
 ---- 
 Note: see [LDAPNotes] for more information regarding LDAP under Debian 
+----  
+  
+!! Setting cyrus to listen for lmtp deliver  
+  
+Cyrus supports [LMTP] mail delivery - this is much more efficient than using a delivery program such as deliver, or using procmail. Edit /etc/cyrus.conf and add  
+a SERVICES entry similar to the following (it may already be enabled)  
+  
+<verbatim>  
+ lmtp cmd="lmtpd -a" listen="127.0.0.1:lmtp" prefork=0  
+</verbatim>  
+  
+This will listen for lmtp on the localhost IP. You may wish to use a unix domain socket instead:  
+  
+<verbatim>  
+ lmtpunix cmd="lmtpd -a" listen="/var/imap/socket/lmtp" prefork=0  
+</verbatim>  
+  
+You can now set your MTA to deliver to cyrus via [LMTP], by specifying the appropriate address. You'll need to look at the notes for the MTA on how to do this, eg EximNotes, PostfixNotes  
+  
+!! Delivering to Cyrus from procmail.  
+  
+If you happen to be using an MTA that doesn't support [LMTP] delivery, and you really have to use something like procmail to get the mail from the MTA into cyrus, then you MUST use the deliver program packaged with cyrus. Do not attempt to deliver directly into the cyrus mailspool.  
+  
+See ProcmailNotes for an example recipe snippet. Or upgrade your MTA to something like exim or postfix.  
+  
 ---- 
  
 CategoryMailNotes