[Dovecot] Can't receive emails
Hello everyone,
I installed postfix and dovecot (imap + pop) on a debian server. I can send emails via postfix and I could receive emails via dovecot before. Yesterday my server got shutdown and restarted and since then, I somehow have some problems. If I send some emails, I don't receive them in /var/vmail/%d/%n/Maildir But the login works fine (pop and imap).
How can I figure out, why there are no mails comming?
Thank you Bye, Chris
dovecot --version 1.0.15
dovecot -n # 1.0.15: /etc/dovecot/dovecot.conf base_dir: /var/run/dovecot/ log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot.debug.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /var/run/dovecot//login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login login_greeting: Mailserver ready. first_valid_uid: 5000 last_valid_uid: 5000 mail_privileged_group: mail mail_location: maildir:/var/vmail/%d/%n/Maildir mail_debug: yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: mechanisms: plain login passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: passwd userdb: driver: static args: uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=yes socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail
driver = mysql connect = host=localhost dbname=postfix user=MYUSER password=MYPASS default_pass_scheme = CRYPT password_query = SELECT username as user, password FROM mailbox WHERE username='%u';
Hello again,
I searched every logfile I could find, but without any results :( How does it usually work? The mail is send by another server and on my server, does postfix receive the email or is it dovecots job? Who puts the mail into that mail directory? I guess it's postfix?
Thank you in advance Bye, Chris
Am 05.10.2010 11:59, schrieb Chris:
Hello everyone,
I installed postfix and dovecot (imap + pop) on a debian server. I can send emails via postfix and I could receive emails via dovecot before. Yesterday my server got shutdown and restarted and since then, I somehow have some problems. If I send some emails, I don't receive them in /var/vmail/%d/%n/Maildir But the login works fine (pop and imap).
How can I figure out, why there are no mails comming?
Thank you Bye, Chris
dovecot --version 1.0.15
dovecot -n # 1.0.15: /etc/dovecot/dovecot.conf base_dir: /var/run/dovecot/ log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot.debug.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /var/run/dovecot//login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login login_greeting: Mailserver ready. first_valid_uid: 5000 last_valid_uid: 5000 mail_privileged_group: mail mail_location: maildir:/var/vmail/%d/%n/Maildir mail_debug: yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: mechanisms: plain login passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: passwd userdb: driver: static args: uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=yes socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail
driver = mysql connect = host=localhost dbname=postfix user=MYUSER password=MYPASS default_pass_scheme = CRYPT password_query = SELECT username as user, password FROM mailbox WHERE username='%u';
On 5 October 2010 15:52, Chris SpamOnMe@freenet.de wrote:
Hello again,
I searched every logfile I could find, but without any results :( How does it usually work? The mail is send by another server and on my server, does postfix receive the email or is it dovecots job? Who puts the mail into that mail directory? I guess it's postfix?
Postfix will either deliver using virtual or some other delivery agent if you have set one up. Unless you are using Dovecot LDA (which I don't see in your config) then Dovecot has nothing to do with delivery.
Mail logs will most likely be in /var/log/syslog or /var/log/mail.log or similar.
The postfix mailing list is probably what you're looking for: http://www.postfix.org/lists.html And you should give this a quick read before posting: http://www.postfix.org/DEBUG_README.html#mail
Guy
-- Don't just do something...sit there!
On 05/10/2010 15:52, Chris wrote:
I searched every logfile I could find, but without any results :( How does it usually work? The mail is send by another server and on my server, does postfix receive the email or is it dovecots job? Who puts the mail into that mail directory? I guess it's postfix?
If you are administering an e-mail server, this is stuff you are supposed to know.
If it is a large enough installation to warrant /domain/localpart/ naming and MySQL user database, then you really should be fully up to speed on this stuff.
In general, your MTA (Postfix in your case) usually receives e-mail by SMTP usually via TCP on port 25.
Depending on your MTA configuration it may deliver the mail directly to a file itself, or it may send it to another program by means of a socket, or by piping the message into another program invoked on a per-message basis.
To progress your issue further, you probably need to work out how you have Postfix configured.
Bill
participants (3)
-
Chris
-
Guy
-
William Blunn