|
|
|
|
||||||
| comp.mail.imap Discussion of IMAP-based mail systems. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
hello,
I'm working on suse linux enterprise server 9 with SP3 installed. How can I get cyrus working? I'm trying to get an email system working on this server. This is on a clean install, no 3rd party things have been added. Thanks, Oskar ps. here are the config files from cyrus and imapd ************************************************** ********************************* mail:~ # cat /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/spool/postfix/public/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 } mail:~ # ************************************************** ************************************** mail:~ # cat /etc/imapd.conf unixhierarchysep: yes allowplainwithouttls: yes autocreatequota: 0 quotawarn: 0 timeout: 30 poptimeout: 10 altnamespace: no lmtp_overquota_perm_failure: no mail:~ # ************************************************** ************************************* 00:48:39 mail master[8638]: ready for work May 5 00:48:39 mail master[8641]: about to exec /usr/lib/cyrus/bin/ctl_cyrusdb May 5 00:48:39 mail master[8642]: about to exec /usr/lib/cyrus/bin/lmtpd May 5 00:48:39 mail ctl_cyrusdb[8641]: DBERROR db4: /var/spool/imap//db/__db.001: No such file or directory May 5 00:48:39 mail ctl_cyrusdb[8641]: DBERROR: dbenv->open '/var/spool/imap//db' failed: No such file or directory May 5 00:48:39 mail ctl_cyrusdb[8641]: DBERROR: init() on berkeley May 5 00:48:39 mail ctl_cyrusdb[8641]: DBERROR: reading /var/spool/imap//db/skipstamp, assuming the worst: No such file or directory May 5 00:48:39 mail ctl_cyrusdb[8641]: checkpointing cyrus databases May 5 00:48:39 mail ctl_cyrusdb[8641]: archiving database file: /var/spool/imap//annotations.db May 5 00:48:39 mail ctl_cyrusdb[8641]: error opening /var/spool/imap//annotations.db for reading May 5 00:48:39 mail ctl_cyrusdb[8641]: DBERROR: error archiving database file: /var/spool/imap//annotations.db May 5 00:48:39 mail ctl_cyrusdb[8641]: DBERROR: archive /var/spool/imap//db: cyrusdb error May 5 00:48:39 mail ctl_cyrusdb[8641]: DBERROR db4: txn_checkpoint interface requires an environment configured for the transaction subsystem May 5 00:48:39 mail ctl_cyrusdb[8641]: DBERROR: couldn't checkpoint: Invalid argument May 5 00:48:39 mail ctl_cyrusdb[8641]: DBERROR: sync /var/spool/imap//db: cyrusdb error May 5 00:48:39 mail ctl_cyrusdb[8641]: DBERROR db4: DB_ENV->log_archive interface requires an environment configured for the logging subsyste m May 5 00:48:39 mail master[8638]: service lmtpunix pid 8660 in READY state: terminated abnormally May 5 00:48:39 mail master[8661]: about to exec /usr/lib/cyrus/bin/lmtpd ... |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
unixhierarchysep: yes
allowplainwithouttls: yes autocreatequota: 0 quotawarn: 0 poptimeout: 10 admins: cyrus allowanonymouslogin: no altnamespace: no configdirectory: /var/lib/imap drachost: localhost dracinternal: 0 duplicatesuppression: yes lmtp_overquota_perm_failure: no lmtpsocket: /var/spool/postfix/public/lmtp normalizeuid: yes partition-default: /var/spool/imap sasl_mech_list: plain login sasl_pwcheck_method: saslauthd sievedir: /var/lib/sieve timeout: 30 lmtp_luser_relay: oskare ************************************************** ************ May 5 17:48:01 mail imap[5091]: accepted connection May 5 17:48:04 mail PAM-warn[3858]: function=[pam_sm_authenticate] service=[imap] terminal=[<unknown>] user=[cyrus] ruser=[<unknown>] rhost=[<unknown>] May 5 17:48:04 mail PAM-warn[3858]: function=[pam_sm_acct_mgmt] service=[imap] terminal=[<unknown>] user=[cyrus] ruser=[<unknown>] rhost=[<unknown>] May 5 17:48:04 mail imap[5091]: login: localhost [127.0.0.1] cyrus plaintext May 5 17:50:00 mail master[4993]: process 5091 exited, status 0 mail:~ # ************************************************** ******** I got this far, but now I'm getting a PAM warning. What else can I do to make this work? |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
HI.
dv wrote: > sasl_pwcheck_method: saslauthd Which kind of authentication are you planning to use? Try this instead: sasl_pwcheck_method: auxprop And use the commands: saslpasswd2 -c cyrus .... sasldblistusers2 Unless you are planning to use a different auth database. Yizhar Hurwitz http://yizhar.mvps.org |
|
![]() |
| Outils de la discussion | |
|
|