Репозитории ALT
S: | 8.18.0-alt0.Alpha2 |
5.1: | 8.14.4-alt0.M51.1 |
4.1: | 8.14.4-alt0.M41.1 |
4.0: | 8.14.4-alt0.M40.1 |
3.0: | 8.13.4-alt3 |
+updates: | 8.13.8-alt1.M30.1 |
Группа :: Система/Серверы
Пакет: sendmail
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
Sendmail and Cyrus IMAP integration
-----------------------------------
Based on feature "mrs" and patches from Andrzej Filip <anfi@priv.onet.pl>
http://anfi.homeunix.org/sendmail/
http://open-sendmail.sourceforge.net/
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 (unix socket)
Configuration example: /usr/share/sendmail-cf/cf/cyrus-imap-localrelay.mc
2. Cyrus's virtual domain and mailertable (tcp socket).
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
unix and tcp sockets definition examples:
FEATURE(`mrs_cyrus',`smmapd@localhost',`inet')dnl
FEATURE(`mrs_cyrus',`/var/lib/imap/socket/smmapd',`local')dnl
define(`CYRUSV2_MAILER_ARGS',`TCP localhost lmtp')dnl
define(`CYRUSV2_MAILER_ARGS',`FILE /var/lib/imap/socket/lmtp')dnl
Note 1: You must check lmtpunix socket in /etc/cyrus.conf. Default for Postfix.
--
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