[Dovecot] Unable to send email out using Dovecot SASL
dovecot at convergenz.biz
dovecot at convergenz.biz
Fri Jul 6 08:34:28 EEST 2007
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
More information about the dovecot
mailing list