Cyrus Muder

Derwyn Dpenha derwynd at gmail.com
Mon Nov 26 06:18:20 EST 2007


Hi All,
> Is your postfix running chrooted? If yes check in master.cf that at least
> lmtp is not running chrooted.
I was trying murder on Fed box and came across this on
http://cyrusimap.web.cmu.edu/imapd/install-murder.html

Delivering mail
To deliver mail to your Murder, configure your MTA just as you did
before, but instead of connecting directly to lmtpd, it should connect
to lmtpproxyd. You can connect to the lmtpproxyd running on the
frontend machines, or you can install master and lmtpproxyd on your
SMTP servers.

My cyrus.conf does seem to have
frontend
  lmtp          cmd="lmtpproxyd -a" listen="*:lmtp" prefork=1

master
  lmtp         cmd="lmtpd" listen="*:lmtp" prefork=1
  lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1

backend
  lmtp          cmd="lmtpd -a" listen="*:lmtp" prefork=1
  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1

The debug logs I get in cyrus is

Nov 26 16:41:48 location postfix/lmtp[29178]: match_list_match:
location.exampledomain.com: no match
Nov 26 16:41:48 location postfix/lmtp[29178]: flush_add: site
location.exampledomain.com id 7A25311E5AB status 4
Nov 26 16:41:48 location postfix/lmtp[29178]: smtp_loop: got 1 of 1
end-of-data replies
Nov 26 16:41:48 location postfix/lmtp[29178]: name_mask: resource
Nov 26 16:41:48 location postfix/lmtp[29178]: name_mask: software
Nov 26 16:41:48 location postfix/lmtp[29178]: scache_clnt_save_dest:
dest_label=lmtp:[192.168.50.77]:24 dest_prop=4096
endp_label=lmtp:[192.168.50.77]:24
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr request = save_dest
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr ttl = 2
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr label =
lmtp:[192.168.50.77]:24
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr property = 4096
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr label =
lmtp:[192.168.50.77]:24
Nov 26 16:41:48 location postfix/lmtp[29178]: private/scache: wanted
attribute: status
Nov 26 16:41:48 location postfix/lmtp[29178]: input attribute name: status
Nov 26 16:41:48 location postfix/lmtp[29178]: input attribute value: 0
Nov 26 16:41:48 location postfix/lmtp[29178]: private/scache: wanted
attribute: (list terminator)
Nov 26 16:41:48 location postfix/lmtp[29178]: input attribute name: (end)
Nov 26 16:41:48 location postfix/lmtp[29178]: scache_clnt_save_endp:
endp=lmtp:[192.168.50.77]:24
prop=3?192.168.50.77:24?192.168.50.77?192.168.50.77?6144?15?1196075807?4096
fd=16
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr request = save_endp
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr ttl = 2
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr label =
lmtp:[192.168.50.77]:24
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr property =
3?192.168.50.77:24?192.168.50.77?192.168.50.77?6144?15?1196075807?4096
Nov 26 16:41:48 location postfix/lmtp[29178]: private/scache: wanted
attribute: dummy
Nov 26 16:41:48 location postfix/lmtp[29178]: input attribute name: dummy
Nov 26 16:41:48 location postfix/lmtp[29178]: input attribute value: (end)
Nov 26 16:41:48 location postfix/lmtp[29178]: private/scache: wanted
attribute: (list terminator)
Nov 26 16:41:48 location postfix/lmtp[29178]: input attribute name: (end)
Nov 26 16:41:48 location postfix/lmtp[29178]: private/scache: wanted
attribute: status
Nov 26 16:41:48 location postfix/lmtp[29178]: input attribute name: status
Nov 26 16:41:48 location postfix/lmtp[29178]: input attribute value: 0
Nov 26 16:41:48 location postfix/lmtp[29178]: private/scache: wanted
attribute: (list terminator)
Nov 26 16:41:48 location postfix/lmtp[29178]: input attribute name: (end)
Nov 26 16:41:48 location postfix/lmtp[29178]: deliver_request_final: send: "" -1
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr status =
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr diag_type =
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr diag_text =
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr mta_type =
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr mta_mname =
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr action =
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr reason =
Nov 26 16:41:48 location postfix/lmtp[29178]: send attr status = 4294967295
Nov 26 16:41:48 location postfix/lmtp[29178]: master_notify: status 1
Nov 26 16:41:48 location postfix/lmtp[29178]: connection closed


Wanted to know as to how to debug lmtpproxyd.

and wondering what I'm doing wrong here...

Derwyn


More information about the Info-cyrus mailing list