I've just installed dovecot on FreeBSD 6.1. Running MySQL 5.0 on another server. Postfix version 2.3.3 Dovecot starts then exits with no error messages. I've run it as a daemon and on the command line with -F option How do I run it in debug mode so I can figure out why it does not stay running. The maillog has a startup message dovecot: Dovecot v1.0.rc7 starting up Ed Dovecot.conf ## Dovecot configuration file # IC - EL 2006.09.29 protocols = imap imaps pop3 pop3s # IC - EL 2006.09.29 disable_plaintext_auth = no # IC - EL 2006.09.29 ssl_disable = no # IC - EL 2006.09.29 ssl_cert_file = /usr/share/ssl/s/Cert.pem ssl_key_file = /usr/share/ssl/s/PrivateKey.pem login_process_size = 64 # IC - EL 2006.09.29 login_processes_count = 6 # IC - EL 2006.09.29 login_greeting = InternetCrusade ready. # IC - EL 2006.09.29 #default_mail_env = maildir:/var/mail/%Ld/%Ln/%2.256Hp default_mail_env = maildir:/var/mail/%Ld/%Ln/ mail_extra_groups = mail verbose_proctitle = yes first_valid_gid = 0 protocol imap { imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep } protocol pop3 { # IC - EL 2006.09.29 pop3_uidl_format = %v.%u pop3_client_workarounds = outlook-no-nuls oe-ns-eoh } protocol lda { sendmail_path = /usr/sbin/sendmail } auth default { # IC - EL 2006.09.29 mechanisms = plain login cram-md5 digest-md5 ntlm # IC - EL 2006.09.29 passdb sql { args = usr/local/etc/dovecot-sql.conf } # IC - EL 2006.09.29 userdb static { args = uid=5000 gid=5000 home=/var/mail/%Ld/%Ln } # IC - EL 2006.09.29 socket listen { client { user = postfix group = postfix path = /var/spool/postfix/private/auth mode = 0660 } } } #dict { #quota = mysql:/etc/dovecot-dict-quota.conf #} dovecot-sql.conf driver = mysql connect = host=db1.sandiegort.com user=dovecot password=BuatSmiT dbname=icmail default_pass_scheme = PLAIN password_query = SELECT password FROM emails WHERE account = '%n' AND domain = '%d' AND alias = 0
On Fri, 2006-09-29 at 14:39 -0700, Ed Lucero wrote:> I've just installed dovecot on FreeBSD 6.1. Running MySQL 5.0 on another > server. Postfix version 2.3.3 > > Dovecot starts then exits with no error messages. > > I've run it as a daemon and on the command line with -F optionIf it quits without errors even with -F, then it must have logged an error message. If you can't find it, set log_path manually to somewhere and then see what it writes there.> The maillog has a startup message > > dovecot: Dovecot v1.0.rc7 starting upThis message is written with "info" loglevel instead of "error" loglevel, so it could be written to different log than errors. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20061008/740c7932/attachment.bin>