lmtp over tcp configuation

Marcus Schopen lists at localguru.de
Fri Oct 12 14:52:43 EDT 2012


Hi,

I'm planing to split cyrus 2.2.13 from my incoming mail server running
sendmail 8.14.3. Basically I set up an openvpn tunnel between the boxes
and changed the CYRUSV2_MAILER_ARGS from FILE to TCP in the cyrusv2.m4
macro on sendmail side and activated lmtp in the cyrus.conf on the other
side. First tests are running fine. Did I forget something? Any tuning
hints?


/etc/mail/sendmail.mc:
--------------------------------
[...]
dnl # Default Mailer setup
MAILER_DEFINITIONS
define(`confLOCAL_MAILER', `cyrusv2')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
MAILER(`cyrusv2')dnl
--------------------------------


/usr/share/sendmail/cf/mailer/cyrusv2.m4:
--------------------------------
[...]
ifdef(`CYRUSV2_MAILER_ARGS',, `define(`CYRUSV2_MAILER_ARGS', `TCP
[192.168.100.2] 2003')')
[...]
--------------------------------


/etc/cyrus.conf:
--------------------------------
[...]
lmtp            cmd="lmtpd -a" listen="192.168.200.1:lmtp" prefork=0
maxchild=20
lmtpunix        cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp"
prefork=0 maxchild=20
[...]
--------------------------------

System Ubuntu 10.04 LTS with
sendmail                        8.14.3-9.1ubuntu1
cyrus-common-2.2		2.2.13-19squeeze3build0.10.04.1


Cheers
Marcus





More information about the Info-cyrus mailing list