I have installed a murder cyrus as following:
first server contain mupdate and all proxy
second server as backend.
on backend the lmtptest delivery mail correctly
lmtptest -a murder -w murdercyrus
WARNING: no hostname supplied, assuming localhost
S: 220 murderBack1 LMTP Cyrus v2.2.13-Debian-2.2.13-14+lenny4 ready
C: LHLO example.com
S: 250-murderBack1
S: 250-8BITMIME
S: 250-ENHANCEDSTATUSCODES
S: 250-PIPELINING
S: 250-SIZE
S: 250-STARTTLS
S: 250-AUTH LOGIN PLAIN
S: 250 IGNOREQUOTA
C: AUTH LOGIN
S: 334 VXNlcm5hbWU6
C: bXVyZGVy
S: 334 UGFzc3dvcmQ6
C: bXVyZGVyY3lydXM=
S: 235 Authenticated!
Authenticated.
Security strength factor: 0
MAIL FROM:<root@localhost>
250 2.1.0 ok
RCPT TO:<user2@xxxxxxxxxxxxxx>
250 2.1.5 ok
DATA
354 go ahead
test
.
250 2.1.5 Ok
In log mail.log i can see :
Sep 20 11:49:06 murderBack1 cyrus/lmtp[2278]: WARNING: sieve script /usr/sieve/domain/m/memolinux.info/u/user2/defaultbc doesn't exist: No such file or directory
Sep 20 11:49:06 murderBack1 cyrus/lmtp[2278]: duplicate_check: <cmu-lmtpd-2278-1316512137-0@murderBack1> memolinux.info!user.user2 0
Sep 20 11:49:06 murderBack1 cyrus/lmtp[2278]: duplicate_check: <cmu-lmtpd-2278-1316512137-0@murderBack1> memolinux.info!user.user2 0
Sep 20 11:49:06 murderBack1 cyrus/lmtp[2278]: mystore: starting txn 2147483656
Sep 20 11:49:06 murderBack1 cyrus/lmtp[2278]: mystore: committing txn 2147483656
Sep 20 11:49:06 murderBack1 cyrus/lmtp[2278]: duplicate_mark: <cmu-lmtpd-2278-1316512137-0@murderBack1> memolinux.info!user.user2 1316512146 4483573
Sep 20 11:49:06 murderBack1 cyrus/lmtp[2278]: Delivered: <cmu-lmtpd-2278-1316512137-0@murderBack1> to mailbox: memolinux.info!user.user2
Now on frontend lmtp
lmtptest -a murder -w murdercyrus 172.16.68.18
S: 220 murderFrontend LMTP Cyrus v2.2.13-Debian-2.2.13-14+lenny4 ready
C: LHLO example.com
S: 250-murderFrontend
S: 250-8BITMIME
S: 250-ENHANCEDSTATUSCODES
S: 250-PIPELINING
S: 250-SIZE
S: 250-STARTTLS
S: 250-AUTH LOGIN PLAIN
S: 250 IGNOREQUOTA
C: AUTH LOGIN
S: 334 VXNlcm5hbWU6
C: bXVyZGVy
S: 334 UGFzc3dvcmQ6
C: bXVyZGVyY3lydXM=
S: 235 Authenticated!
Authenticated.
Security strength factor: 0
MAIL FROM:<root@localhost>
250 2.1.0 ok
RCPT TO:<user2@xxxxxxxxxxxxxx>
250 2.1.5 ok
DATA
354 go ahead
test from frontend
.
Server never reply to "."
And in log file :
on Frontend:
Sep 20 11:50:23 murderFrontend cyrus/lmtp[2147]: accepted connection
Sep 20 11:50:23 murderFrontend cyrus/master[2160]: about to exec /usr/lib/cyrus/bin/lmtpproxyd
Sep 20 11:50:23 murderFrontend cyrus/lmtp[2160]: executed
Sep 20 11:50:23 murderFrontend cyrus/mupdate[1918]: accepted connection
Sep 20 11:50:23 murderFrontend cyrus/mupdate[1918]: New worker thread started, for a total of 3
Sep 20 11:50:23 murderFrontend cyrus/mupdate[1918]: login: murderFrontend [172.16.68.18] murder LOGIN User logged in
Sep 20 11:50:23 murderFrontend cyrus/lmtp[2147]: connection from murderFrontend [172.16.68.18]
Sep 20 11:50:23 murderFrontend cyrus/lmtp[2147]: login: murderFrontend [172.16.68.18] murder LOGIN User logged in
Sep 20 11:50:41 murderFrontend cyrus/mupdate[1918]: cmd_find(fd:15, memolinux.info!user.user2)
Sep 20 11:51:41 murderFrontend cyrus/mupdate[1918]: Thread timed out waiting for listener_lock
Sep 20 11:51:41 murderFrontend cyrus/mupdate[1918]: Worker thread finished, for a total of 2 (2 spare)
On backend:
Sep 20 11:50:41 murderBack1 cyrus/lmtp[2289]: accepted connection
Sep 20 11:50:41 murderBack1 master[2290]: about to exec /usr/lib/cyrus/bin/lmtpd
Sep 20 11:50:41 murderBack1 cyrus/lmtp[2289]: connection from murderFrontend [172.16.68.18]
Sep 20 11:50:41 murderBack1 cyrus/lmtp[2290]: executed
I don't understand my mistakes
Configuration Frontend
cyrus.conf
START {
# do not delete this entry!
recover cmd="/usr/sbin/ctl_cyrusdb -r"
delprune cmd="/usr/sbin/cyr_expire -E 3"
tlsprune cmd="/usr/sbin/tls_prune"
}
SERVICES {
imap cmd="proxyd" listen="imap" prefork=0 maxchild=100
imaps cmd="proxyd -s" listen="imaps" prefork=0 maxchild=100
pop3 cmd="pop3proxyd" listen="pop3" prefork=0 maxchild=50
pop3s cmd="pop3proxyd -s" listen="pop3s" prefork=0 maxchild=50
lmtp cmd="lmtpproxyd" listen="lmtp" prefork=1 maxchild=20
}
EVENTS {
checkpoint cmd="/usr/sbin/ctl_cyrusdb -c" period=30
delprune cmd="/usr/sbin/cyr_expire -E 3" at=0401
tlsprune cmd="/usr/sbin/tls_prune" at=0401
}
and imapd.conf
configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
altnamespace: 1
unixhierarchysep: yes
lmtp_downcase_rcpt: yes
allowanonymouslogin: no
autocreatequota: -1
sieveusehomedir: false
hashimapspool: true
allowplaintext: yes
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
virtdomains: userid
tls_cipher_list: TLSv1+HIGH:!aNULL:@STRENGTH
syslog_prefix: cyrus
admins: admin murder
tls_cert_file: /etc/ssl/certs/CS_memolinux.crt
tls_key_file: /etc/ssl/private/memolinux.key
tls_ca_file: /etc/ssl/certs/CA_memolinux.crt
allowusermoves: 1
mupdate_server: 172.16.68.18
mupdate_authname: murder
mupdate_username: murder
mupdate_password: murdercyrus
proxy_authname: murder
murderFrontend_password: murdercyrus
murderBack1_password: murdercyrus
murderBack2_password: murdercyrus
Configuration Backend:
cyrus.conf
START {
recover cmd="/usr/sbin/ctl_cyrusdb -r"
mupdatepush cmd="/usr/sbin/ctl_mboxlist -m"
delprune cmd="/usr/sbin/cyr_expire -E 3"
tlsprune cmd="/usr/sbin/tls_prune"
}
SERVICES {
imap cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
imaps cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100
pop3 cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50
pop3s cmd="pop3d -s -U 30" listen="pop3s" prefork=0 maxchild=50
lmtp cmd="lmtpd" listen=":24" prefork=1 maxchild=20
sieve cmd="timsieved" listen="localhost:sieve" prefork=0 maxchild=100
notify cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1
}
EVENTS {
checkpoint cmd="/usr/sbin/ctl_cyrusdb -c" period=30
delprune cmd="/usr/sbin/cyr_expire -E 3" at=0401
tlsprune cmd="/usr/sbin/tls_prune" at=0401
}
Imapd.conf:
configdirectory: /var/lib/cyrus
admins: admin murder
partition-default: /var/spool/cyrus
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
allowplaintext: 1
mupdate_server: 172.16.68.18
mupdate_authname: murder
mupdate_username: murder
mupdate_password: murdercyrus
proxy_authname: murder
murderBack1_password: murdercyrus
murderBack2_password: murdercyrus
murderFrontend_password: murdercyrus
allowanonymouslogin: 0
allowusermoves: yes
altnamespace: yes
unixhierarchysep: yes
lmtp_downcase_rcpt: yes
anysievefolder: 1
sieveusehomedir: 0
hashimapspool: true
virtdomains: userid
fulldirhash: 0
tls_cert_file: /etc/ssl/certs/CS_memolinux.crt
tls_key_file: /etc/ssl/private/memolinux.key
tls_ca_file: /etc/ssl/certs/CA_memolinux.crt
Thanks for your help
all sasltest are correct
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/