Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-06-2009, 12:20 AM   #1
Registered: Mar 2008
Posts: 52

Rep: Reputation: 15
postfix used dovecot lda problem

postfix2.6+dovecot1.2.6+ clamav+ amavisw+virtual users(mysql)
sasl auth:dovecot sasl
lda:dovecot lda (with quota function)

here is the problem:

email send to other MTA,work fine.
but send mail to my own mailserver user,postfix use its own lda- local,
it should use dovecot as lda ,and these mail can not receive.
mailserver logs below:

Nov 6 12:17:11 mail postfix/postfix-script[23386]: starting the Postfix mail system
Nov 6 12:17:11 mail postfix/master[23387]: daemon started -- version 2.6.2, configuration /etc/postfix
Nov 6 12:17:20 mail postfix/smtpd[23390]: connect from unknown[]
Nov 6 12:17:21 mail postfix/smtpd[23390]: 2650F134DC0: client=unknown[], sasl_method=LOGIN,
Nov 6 12:17:21 mail postfix/cleanup[23397]: 2650F134DC0: message-id=<ADF95F97B53F445DA9D7349E5810CB13@PC200911031417>
Nov 6 12:17:21 mail postfix/qmgr[23388]: 2650F134DC0: from=<>, size=1537, nrcpt=1 (queue active)
Nov 6 12:17:21 mail postfix/smtpd[23390]: disconnect from unknown[]
Nov 6 12:17:23 mail postfix/smtpd[23406]: connect from localhost.localdomain[]
Nov 6 12:17:23 mail postfix/smtpd[23406]: 7CF5A134E50: client=localhost.localdomain[]
Nov 6 12:17:23 mail postfix/cleanup[23397]: 7CF5A134E50: message-id=<ADF95F97B53F445DA9D7349E5810CB13@PC200911031417>
Nov 6 12:17:23 mail postfix/qmgr[23388]: 7CF5A134E50: from=<>, size=2203, nrcpt=1 (queue active)
Nov 6 12:17:23 mail amavis[23192]: (23192-01) Passed CLEAN, [] [] <> -> <>, Message-ID: <ADF95F97B53F445DA9D7349E5810CB13@PC200911031417>, mail_id: UKaLmn8pbmz1, Hits: 3.717, size: 1537, queued_as: 7CF5A134E50, 2460 ms
Nov 6 12:17:23 mail postfix/lmtp[23399]: 2650F134DC0: to=<>, relay=[]:10024, delay=2.7, delays=0.11/0.05/0.09/2.5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=23192-01, from MTA([]:10025): 250 2.0.0 Ok: queued as 7CF5A134E50)
Nov 6 12:17:23 mail postfix/qmgr[23388]: 2650F134DC0: removed
Nov 6 12:17:23 mail postfix/local[23408]: 7CF5A134E50: to=<>, relay=local, delay=0.33, delays=0.06/0.08/0/0.2, dsn=2.0.0, status=sent (delivered to mailbox)
Nov 6 12:17:23 mail postfix/qmgr[23388]: 7CF5A134E50: removed
anyone any suggest will help out..thx..

relate config file content

# 1.2.6: /etc/dovecot.conf
# OS: Linux 2.6.18-53.el5 i686 CentOS release 5 (Final) ext3
log_path: /var/log/dovelog
protocols: pop3 imap
ssl: no
disable_plaintext_auth: no
login_dir: /usr/local/var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
mail_location: maildir:/var/vmail/%d/%u
mail_debug: yes
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
mail_plugins: quota
mail_plugin_dir: /usr/local/lib/dovecot/lda
sendmail_path: /usr/sbin/sendmail
auth_socket_path: /var/run/dovecot/auth-master
auth default:
mechanisms: plain login digest-md5 cram-md5
verbose: yes
debug: yes
driver: sql
args: /etc/dovecot-sql.conf
driver: sql
args: /etc/dovecot-sql.conf
type: listen
path: /var/run/dovecot/auth-client
mode: 432
user: postfix
group: postfix
path: /var/run/dovecot/auth-master
mode: 384
user: postfix
group: postfix
#trash: /etc/dovecot-trash.conf
driver = mysql
connect = host=localhost dbname=postfix user=root password=****
user_query = SELECT maildir,503 AS uid, 503 AS gid FROM mailbox WHERE username = '%u' AND active = '1'
password_query = SELECT password FROM mailbox WHERE username = '%u' AND active = '1'
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = /var/run/dovecot/auth-client
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:$config_directory/
virtual_gid_maps = static:503
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = mysql:$config_directory/
virtual_mailbox_maps = mysql:$config_directory/
virtual_minimum_uid = 500
virtual_transport = dovecot
virtual_uid_maps = static:503
dovecot unix - n n - - pipe
flags=DRhu user=postfixostfix argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${recipient}

Last edited by xiutuo; 11-06-2009 at 12:36 AM.
Old 11-12-2009, 07:58 PM   #2
Registered: Mar 2008
Posts: 52

Original Poster
Rep: Reputation: 15
I fix myself ,change dovecot with newest version...done...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Server: Postfix + imapproxy + dovecot + squirrelmail -> Folders problem brgsousa Linux - Software 1 09-09-2008 06:56 AM
problem with postfix and dovecot ayush1440 Linux - Server 1 02-01-2008 01:04 AM
Postfix > Dovecot problem cypsteel Linux - Server 0 12-31-2007 02:21 PM
Postfix and Dovecot umbraeOtheisles Linux - Software 3 11-23-2004 07:36 AM
smtp? mua? mta? lda?postfix? AWWWW hotrodowner Linux - Networking 22 06-13-2003 10:08 AM

All times are GMT -5. The time now is 02:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration