On 04/06/2011 05:29 AM, Sandy Drobic wrote:
On 06.04.2011 03:20, Jim Flanagan wrote:
I'm setting up postfix/cyrus imap on a new install of openSuse 11.4 (64 bit). Having a few problem, but before I get into the details of that, there is some strange problem that is causing cyradm and SMB/NMB to not run. Cyrus Imap has nothing to do with Samba, please post the two problems as separate threads.
OK will do. I was thinking that some file system problem was causing both issues.
When I try to run cyradm I get a message that login is disabled. The corresponding log entry in /var/log/messages is:
Apr 5 19:22:46 jimmee master[15424]: about to exec /usr/lib/cyrus/bin/imapd Apr 5 19:22:46 jimmee imap[15424]: executed Apr 5 19:22:46 jimmee imap[15424]: IOERROR: opening /var/lib/imap/user_deny.db: No such file or directory Apr 5 19:22:46 jimmee imap[15424]: accepted connection The configuration files for Cyrus Imap are /etc/imapd.conf and /etc/cyrus.conf, please post the content of thes files.
A typical showstopper is the need to set up the desired auth configuration. You probably want saslauthd + ssl, if your users are local system users.
Looking in /var/lib/imap/ there are some files there but not user_deny.db. Not sure what this is about. Without configuration files I can't tell you either. (^-^)
Yes, I do want saslauthd +ssl, and was working to configure that. I can confirm the following. user@jimmee:~> testsaslauthd -u linuxjim -p password -s smtp 0: OK "Success." user@jimmee:~> testsaslauthd -u linuxjim -p password -s imap 0: OK "Success." Config files as follows: /etc/imapd.conf: [General] Verbosity = 0 Pipefs-Directory = /var/lib/nfs/rpc_pipefs Domain = localdomain sasl_pwcheck_method: saslauthd sasl_mech_list: plain login allowplaintext: 1 [Mapping] Nobody-User = nobody Nobody-Group = nobody etc/cyrus.conf: # standard standalone server implementation START { # do not delete this entry! recover cmd="ctl_cyrusdb -r" # this is only necessary if using idled for IMAP IDLE idled cmd="idled" } # UNIX sockets start with a slash and are put into /var/lib/imap/socket SERVICES { # add or remove based on preferences imap cmd="imapd" listen="imap" prefork=0 imaps cmd="imapd -s" listen="imaps" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 pop3s cmd="pop3d -s" listen="pop3s" prefork=0 sieve cmd="timsieved" listen="sieve" prefork=0 # 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 # this is only necessary if using notifications # notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1 } EVENTS { # this is required checkpoint cmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression delprune cmd="cyr_expire -E 3" at=0400 # this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at=0400 # Uncomment the next entry, if you want to automatically remove # old messages of EVERY user. # This example calls ipurge every 60 minutes and ipurge will delete # ALL messages older then 30 days. # enter 'man 8 ipurge' for more details # cleanup cmd="ipurge -d 30 -f" period=60 } Many thanks, Jim F -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org