Hi Stephen, 2008/6/9 Stephen Liu <satimis@xxxxxxxxx>: > Thanks for your advice. No problem - we all struggled at some point and were glad for help :) > $ cat /etc/postfix/master.cf | grep smtp > smtp inet n - - - - smtpd > > smtp unix - - - - - smtp > relay unix - - - - - smtp > # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 > bsmtp unix - n n - - pipe > flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender > $recipient > * end * > > There are only 2 lines there with smtp in the beginning. >From this snippet you don't see if chroot is enabled by default - the default is denoted by the -, and documented in the line directly before the beginning of the transports. But as I know Debian and Ubuntu, they have probably activated chroot. > $ sudo nano /etc/cyrus.conf > > change both lines. > > changing; > lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" > prefork=0 maxchild=20 > > as; > lmtpunix cmd="lmtpd" > listen="/var/spool/postfix/var/run/cyrus/socket/lmtp" prefork=0 > maxchild=20 > > > changing; > notify cmd="notifyd" listen="/var/run/cyrus/socket/notify" > proto="udp" prefork=1 > > as; > notify cmd="notifyd" > listen="/var/spool/postfix/var/run/cyrus/socket/notify" proto="udp" > prefork=1 I guess you won't need to change this line, as this is independent from postfix. > Jun 10 00:36:30 lampserver postfix/smtpd[4955]: D21EA87820E: > client=ti-out-0910.google.com[209.85.142.187] > Jun 10 00:36:30 lampserver postfix/cleanup[4956]: D21EA87820E: > message-id=<ca46cd50806090936n8e4c831yc70288dbe5bc865b@xxxxxxxxxxxxxx> > Jun 10 00:36:30 lampserver postfix/qmgr[4188]: D21EA87820E: > from=<satimisliu@xxxxxxxxx>, size=1842, nrcpt=1 (queue active) > Jun 10 00:36:30 lampserver postfix/lmtp[4958]: D21EA87820E: > to=<satimiscyrus@xxxxxxxxxxx>, relay=none, delay=0, status=deferred > (connect to /var/run/lmtp[/var/run/lmtp]: No such file or directory) As you see here, it tries to connect to the socket "/var/run/lmtp", but the cyrus default was /var/run/cyrus/socket/lmtp, or the postfix chroot equivalent. So EITHER you change the delivery socket in postfix (which I currently don't know how to do, as I use a different delivery approach on my postfix server - and a different IMAP server ;) ), or you try either /var/run/postfix/var/run/lmtp or /var/run/lmtp in the lmtpunix line in cyrus.conf I hope that helps :) Regards, Jens ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html