On 02/16/2010 12:03 PM, Matthias Wulkow wrote:
Hello Patrick,I didn't try yet to remove the deliver file (and stop/start cyrus) as users are using it and I would like to test as few as possible... Regaring these errors, isn't maybe better to use lmtp instead of lmtpunix which requires this socket? From the cyrus.conf: # at least one LMTP is required for delivery # lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1 The socket file is there (I checked). Here is the cyrus-imapd file:
<snip>Ok, running as user cyrus, which appears to be set to /sbin/nologin in /etc/passwd. Check in /etc/passwd and make sure the cyrus user has a shell of /bin/bash
start() { if is_running; then echo -n $"$BASENAME already running." false echo else if [ $QUICK -eq 0 ]; then echo -n $"Importing $BASENAME databases: " cd $CONFIGDIRECTORY $RUNUSER - cyrus -c "umask 166 ; INSTANCE=$INSTANCE /usr/lib/cyrus-imapd/cvt_cyrusdb_all> ${CONFIGDIRECTORY}/rpm/db_import.log 2>&1"< /dev/null RETVAL=$? if [ $RETVAL -eq 0 ]; then success $"$BASENAME importing databases" else failure $"$BASENAME error importing databases, check ${CONFIGDIRECTORY}/rpm/db_import.log" fi echo fi if [ $RETVAL -eq 0 ]; then echo -n $"Starting ${BASENAME}: " $CYRUSMASTER -C $IMAPDCONF -M $CYRUSCONF -p $PIDFILE -d $CYRUSOPTIONS 2>/dev/null 1>&2 RETVAL=$? [ $RETVAL -eq 0 ]&& success $"$BASENAME startup" || failure $"$BASENAME startup" echo fi fi [ $RETVAL -eq 0 ]&& touch $LOCKFILE return $RETVAL } <snip>
<<attachment: boutilpj.vcf>>
---- 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