I just installed CentOS 5 + Postfix + Dovecot. Now When I send mail via telnet from one user to another via Postfix (MTA), I have no problem. The recipient gets the message perfectly. Now this tells me that Postfix is working fine (I assume) but then I configured Dovecot to use IMAP4 and then configured my Thunderbird client. Now all the messages I previously sent using Telnet showed up in Thunderbird Inbox but then when I attempt to send a message via Thunderbird, the message appears to send fine however the recipient never gets it and I get no delivery failrures back of any kind. I check the Postfix (MTA) mail queue and it shows empty. What is causing this anyone? Does anyone know why this is not working?
Here is my postconf -n for Postfix (MTA)
[root@nat home]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 home_mailbox = mail/ html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = wtf.com myhostname = nat.wtf.com myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_banner = $myhostname ESMTP $mail_name unknown_local_recipient_reject_code = 550
================================================================
Here is what is 'UNCOMMENTED' in my /etc/dovecot.conf
protocols = imap imaps mail_location = maildir:~/mail protocol imap { imap_client_workarounds = delay-newmail outlook-idle netscape-eoh } login_process_size = 64 protocol pop3 { protocol lda { protocol lda { postmaster_address = carlos@wtf.com } auth default { mechanisms = plain passdb pam { } userdb passwd { } user = root } dict { } plugin { }
Anyone know what is causing this problem above? Sending internal email works fine via Telnet however when I try using my mail client / imap4, nothing happens.
On Tue, May 5, 2009 at 3:21 PM, Seth Mattinen <sethm@rollernet.us> wrote:
Try the postfix user list.
I did and was told this appears to be a Dovecot config issues since the MTA (Postfix) is sending mail just fine via Telnet. What makes you suggest this to be a MTA issue?
On Tue, May 5, 2009 at 3:27 PM, Seth Mattinen <sethm@rollernet.us> wrote:
I mean that I can send (SMPT) via Telnet which Postfix does fine. However when I configure Thunderbird mail client to use the IMAP (Dovecot) settings and attempt to compose a new message, the user (recipient) never receives the message. I am thinking as well as users of the Postfix list that this issue is related to my Dovecot config file not being properly set up. I could be wrong...
In this case telnet is an SMTP client and Thunderbird is an SMTP client. One works and another does not. Seems like a client issue to me. IMAP has nothing to do with sending email except that maybe a copy of your sent message may get stored on the IMAP server under a "Sent Items" folder. I would check your postfix logs.
-----Original Message----- From: dovecot-bounces+jkrejci=usinternet.com@dovecot.org [mailto:dovecot-bounces+jkrejci=usinternet.com@dovecot.org] On Behalf Of Carlos Williams Sent: Tuesday, May 05, 2009 2:32 PM To: Dovecot Mailing List Subject: Re: [Dovecot] Unable To Send Mail
On Tue, May 5, 2009 at 3:27 PM, Seth Mattinen <sethm@rollernet.us> wrote:
I mean that I can send (SMPT) via Telnet which Postfix does fine. However when I configure Thunderbird mail client to use the IMAP (Dovecot) settings and attempt to compose a new message, the user (recipient) never receives the message. I am thinking as well as users of the Postfix list that this issue is related to my Dovecot config file not being properly set up. I could be wrong...
Thanks all. It appears that it is an issue with Thunderbird. Looks like it's working well. Thanks for the help and pointing me in the right direction!
- Carlos
I think it also helps if you have the output of dovecot -n
1.0.7: /etc/dovecot.conf
base_dir: /var/run/dovecot/ protocols: imap imaps listen: * login_dir: /var/run/dovecot//login login_executable: /usr/libexec/dovecot/imap-login mail_location: maildir:~/mail imap_client_workarounds: delay-newmail outlook-idle netscape-eoh auth default: passdb: driver: pam userdb: driver: passwd
participants (4)
-
Carlos Williams
-
Justin Krejci
-
Seth Mattinen
-
Timo Sirainen