postfix to cyrus-imap via lmtp?

Adi Linden adil at adis.on.ca
Tue Oct 19 11:47:56 EDT 2004


I am building a mailsystem that uses postfix as MTA. I am having great
difficulties getting postfix to use lmtp. Things are working if I use
deliver:

  master.cf:
  cyrus     unix  -       n       n       -       -       pipe
    flags= user=cyrus argv=/usr/local/cyrus/bin/deliver -r ${sender} -m ${extension} ${user}

  main.cf:
  mailbox_transport = cyrus

If I try to configure lmtp things go very wrong. The default install
results in a permission problem vith the parent directories for the
socket. If I get this out of the way by doing chmod 777 /var/imap I am
still getting errors.

  cyrus.conf:
  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

  master.cf:
  lmtp      unix  -       -       n       -       -       lmtp

  main.cf:
  mailbox_transport = lmtp:unix:/var/imap/socket/lmtp

  mail.log:
  Oct 19 10:45:18 yoda postfix/local[31445]: warning: premature end-of-input on private/lmtp socket while reading input attribute name
  Oct 19 10:45:18 yoda postfix/local[31445]: warning: private/lmtp socket: malformed response
  Oct 19 10:45:18 yoda postfix/local[31447]: warning: premature end-of-input on private/lmtp socket while reading input attribute name
  Oct 19 10:45:18 yoda postfix/local[31447]: warning: private/lmtp socket: malformed response
  Oct 19 10:45:18 yoda postfix/master[31283]: warning: process /usr/lib/postfix/lmtp pid 31453 killed by signal 11
  Oct 19 10:45:18 yoda postfix/master[31283]: warning: /usr/lib/postfix/lmtp: bad command startup -- throttling
  Oct 19 10:45:18 yoda postfix/master[31283]: warning: process /usr/lib/postfix/lmtp pid 31452 killed by signal 11

Any ideas where I might be going wrong? This is on Debian/Sarge with the
current postfix Debian package installed and the latest cyrus-sasl and
cyrus-imapd build from source.

Thanks,
Adi
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list