On Mon, Jun 9, 2008 at 4:07 PM, Stephen Liu <satimis@xxxxxxxxx> wrote: > Hi Simon, > > >> > Whether I have to run the command as root? >> >> NO, you shouldn't run this as root! >> If you want to delete a cyrus mailbox you have to give the cyrus >> admin >> user the rights to do so (as someone else already stated). > > > Noted with thanks. > > >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> Try to find out where you cyrus creates it's lmtp socket and point >> your >> postfix config to it. >> >> I don't know Debian but I think it should come with some docs to get >> things to work. (Ubuntu ins mainly a copy of Debian so the same >> should >> apply there as well). Maybe some Debian/Ubuntu user can point you to >> the >> right docs. > > > $ cat /etc/cyrus.conf | grep socket > # UNIX sockets start with a slash and are absolute paths > # (you must keep the Unix socket name in sync with imap.conf) > lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" > prefork=0 maxchild=20 > notify cmd="notifyd" > listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1 > * end * > > > Would it be /var/run/cyrus/socket/lmtp ? You have somewhere int your postfix main.cf "/var/run/lmtp", probably a mailbox_transport=... or a local_transport=.... You must replace it by the cyrus path : /var/run/cyrus/socket/lmtp If smtpd daemon is chrooted this become more difficult ! You have 2 possibilities - just try to replace the 'y' in master.cf by a 'n' to make smtpd not chrooted - change the path in cyrus.conf to move the socket somewhere bellow the postfix chroot jail. Be carefull cyrus must have enough right in the postfix directory to create the socket. > > > $ sudo ls -la /var/run/cyrus/socket | grep lmtp > srwxrwxrwx 1 root root 0 2008-06-09 21:26 lmtp > > > $ sudo ls -la /var/run/cyrus/socket/ > total 0 > drwxr-x--- 2 cyrus mail 80 2008-06-09 21:26 . > drwxr-xr-x 3 cyrus mail 60 2008-06-09 21:26 .. > srwxrwxrwx 1 root root 0 2008-06-09 21:26 lmtp > srwxrwxrwx 1 root root 0 2008-06-09 21:26 notify > * end * > > > How to link it to postfix config? Thanks > > > > B.R. > Stephen > > > Send instant messages to your online friends http://uk.messenger.yahoo.com > ---- > 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 > -- Alain Spineux aspineux gmail com May the sources be with you ---- 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