[Dovecot] Unable to send email out using Dovecot SASL
Hi,
I am currently using Dovecot 1.0.rc17 with Postfix 2.3.8 on Ubuntu. So far I'm able to receive my email using dovecot pop3 but I can't send out the email. Anybody managed to get Postfix with Dovecot SASL support so far? What do I missed out?
Below is my configure: #-----------/dovecot.conf-------------- base_dir: /var/run/dovecot/ log_timestamp: .%Y-%m-%d %H:%M:%S . protocols: imap imaps pop3 pop3s listen(default): *:143 listen(imap): *:143 listen(pop3): *:110 ssl_listen(default): *:993 ssl_listen(imap): *:993 ssl_listen(pop3): *:995 ssl_cert_file: /etc/ssl/mail-cert.pem ssl_key_file: /etc/ssl/mail-key.pem 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 first_valid_uid: 150 last_valid_uid: 150 mail_extra_groups: mail mail_location: maildir:/var/vmail/%d/%u maildir_copy_with_hardlinks: yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(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 imap_client_workarounds(default): outlook-idle delay-newmail imap_client_workarounds(imap): outlook-idle delay-newmail imap_client_workarounds(pop3): outlook-idle pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: user: nobody verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 432 user: vmail group: mail #-----------/dovecot.conf end--------------
#-----------/dovecot-sql.conf-------------- driver = mysql connect = host=localhost dbname=postfix user=postfix password=Password default_pass_scheme = MD5-CRYPT user_query = SELECT '/var/vmail/%d/%n' as home, 'maildir:/var/vmail/%d/%n' as mail, 150 AS uid, 8 AS gid, concat('dirsize:storage=', quota) AS quota FROM mailbox WHERE username = '%u' AND active = '1' password_query = SELECT username as user, password, '/var/vmail/%d/%n' as userdb_home, 'maildir:/var/vmail/%d/%n' as userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = '%u' AND active = '1' #-----------/dovecot-sql.conf end--------------
Rgds CH
dovecot@convergenz.biz wrote:
Hi,
I am currently using Dovecot 1.0.rc17 with Postfix 2.3.8 on Ubuntu. So far I'm able to receive my email using dovecot pop3 but I can't send out the email. Anybody managed to get Postfix with Dovecot SASL support so far? What do I missed out?
You must configure both of them - for working example see: http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL
Uldis
At 1:34 PM +0800 7/6/07, dovecot@convergenz.biz imposed structure on a stream of electrons, yielding:
Hi,
I am currently using Dovecot 1.0.rc17 with Postfix 2.3.8 on Ubuntu.
Upgrading to the release version of Dovecot would be a good idea. although it is not likely to be related to your trouble.
So far I'm able to receive my email using dovecot pop3 but I can't send out the email. Anybody managed to get Postfix with Dovecot SASL support so far?
Yes. I use it all the time.
What do I missed out?
Probably nothing on the Dovecot side.
Outbound mail does not involve Dovecot except in providing authentication services for Postfix. You will need to at least share the error message you are getting for anyone to have any clue as to how to help, and probably your master.cf and main.cf files from Postfix as well.
This is *probably* better directed at the Postfix community, but there are likely to be people here who can help.
-- Bill Cole bill@scconsult.com
I am currently using Dovecot 1.0.rc17 with Postfix 2.3.8 on Ubuntu. When you choose to use software with known bugs and security issues that have already been fixed in later versions, you really should make sure you know exactly what all of those issues are and whether or not they affect you.
So far I'm able to receive my email using dovecot pop3 but I can't send out the email.
Why not? Error messages and a postconf -n might help here.
What do I missed out? Have you read: http://www.postfix.org/SASL_README.html what were the results when you went through the troubleshooting steps?
Kenny Dail kend@amigo.net
participants (4)
-
Bill Cole
-
dovecot@convergenz.biz
-
Kenny Dail
-
Uldis Pakuls