Sendmail and Cyrus IMAP integration ----------------------------------- Based on feature "mrs" and patches from Andrzej Filip http://anfi.homeunix.net/sendmail/rtcyrus2.html I. Cyrus IMAP's configuration ----------------------------- 1. Check section SERVICES of cyrus.conf for enable smmapd support. It's possible for Cyrus IMAP v2.2.2 or more recent. For example: smmapd cmd="smmapd" listen="smmapd" prefork=5 or smmapd cmd="smmapd" listen="/var/imap/socket/smmapd" prefork=1 2. If you want use lmtp via tcp you can add "-a" option to lmtp call. For example: lmtp cmd="lmtpd -a" listen="lmtp" prefork=5 !!! Be sure what only valid senders can use lmtp connestions. You can !!! disable access to lmtp for all and enable for valid senders by !!! iptables. Otherwise without "-a" option you must use SMTP AUTH !!! mechanism for Sendmail. 3. Check /etc/services for lmtp and smmapd definition. II. Sendmail's configuration exampes. ------------------------------------- 1. Local users hadled by Cyrus-IMAP Configuration example: /usr/share/sendmail-cf/cf/cyrus-imap-localrelay.mc 2. Cyrus's virtual domain and mailertable. Configuration example: /usr/share/sendmail-cf/cf/cyrus-imap-mailertable.mc Local domains hendled by Cyrus must be removed from /etc/mail/local-host-names and put to /etc/mail/access and /etc/mail/mailertable: assess: to:example.dom RELAY mailertable: example.dom mrs_cyrus_mailertable:error:5.1.1:550 User unknown -- For more information you can access to Andrzej Filip's RTCyrus home page: http://anfi.homeunix.net/sendmail/rtcyrus2.html http://anfi.webhop.net/sendmail/rtcyrus2.html