Hello Noel,
dovecot -n shows this:
# 1.2.11: /etc/mail/dovecot.conf # OS: Linux 2.6.32.8-cluster x86_64 openSUSE 11.2 (x86_64) base_dir: /var/run/dovecot/ log_path: /var/log/dovecot.err info_log_path: /var/log/dovecot.info protocols: imaps pop3s listen: 333.33.33.33 ssl_listen: 333.33.33.33 ssl_ca_file: /etc/postfix/tls/cacert.pem ssl_cert_file: /etc/postfix/tls/cert.pem ssl_key_file: /etc/postfix/tls/key.pem ssl_key_password: mailswamp ssl_cipher_list: ALL:!LOW login_dir: /var/run/dovecot/login login_executable(default): /usr/local/mail/libexec/dovecot/imap-login login_executable(imap): /usr/local/mail/libexec/dovecot/imap-login login_executable(pop3): /usr/local/mail/libexec/dovecot/pop3-login login_user: mailer login_greeting: Dovecot Ready. login_max_processes_count: 256 first_valid_uid: 51 last_valid_uid: 51 first_valid_gid: 51 last_valid_gid: 51 maildir_stat_dirs: yes maildir_copy_preserve_filename: yes mail_executable(default): /usr/local/mail/libexec/dovecot/imap mail_executable(imap): /usr/local/mail/libexec/dovecot/imap mail_executable(pop3): /usr/local/mail/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/mail/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/mail/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/mail/lib/dovecot/pop3 auth default: mechanisms: plain digest-md5 cram-md5 passdb: driver: sql args: /etc/mail/dovecot-sql.conf userdb: driver: prefetch userdb: driver: static args: uid=51 gid=51 socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: mailer group: mailer
Please let me know if I should provide any additional data.
Thanks again,
Alex
On 05/04/10 16:06, Noel Butler wrote:
bugger sent that direct, please send that output to the list :)
On Wed, 2010-05-05 at 09:04 +1000, Noel Butler wrote:
Alex,
Please show the output of dovecot -n
On Tue, 2010-05-04 at 15:23 -0700, Alex wrote:
Thanks for the hint.
I enabled 'socket listen' it in dovecot.conf as you pointed it out.
Now dovecot.err log has these error messages:
May 04 14:57:19 deliver(user1@some_domain.com): Error: User user1@some_domain.com is missing UID (set mail_uid) May 04 14:57:19 deliver(user2@some_domain.com): Error: User user2@some_domain.com is missing UID (set mail_uid) May 04 14:57:25 deliver(user3@some_domain.com): Error: User user3@some_domain.com is missing UID (set mail_uid)
I tried to set necessary mail_uid in dovecot-sql.conf in user_query:
user_query = SELECT maildir as mail, 51 as userdb_uid, 51 as userdb_gid, 51 as mail_uid FROM dovecot_email_maps WHERE email = '%u'