[Dovecot] dovecot deliver mail bounce problem
Hi list,
I am using dovecot deliver for the local mail delivery with qmail. this is working fine.
but when mail is sent to invalid user, it gets bounced back with error "I'm not going to try again; this message has been in the queue too long." rather "no mailbox here by that name"
I could find proper solution, kindly guide to resolve it.
/var/log/maillog
Oct 24 23:03:27 backup dovecot: auth(default): master in: USER 1
d@arch.xyz.com service=deliver
Oct 24 23:03:27 backup dovecot: auth(default): vpopmail(d@arch.xyz.com):
lookup user=d domain=arch.xyz.com
Oct 24 23:03:27 backup dovecot: auth(default): vpopmail(d@arch.xyz.com):
unknown user
Oct 24 23:03:27 backup dovecot: auth(default): prefetch(d@arch.xyz.com):
passdb didn't return userdb entries, trying the next userdb
Oct 24 23:03:27 backup dovecot: auth(default): master out: NOTFOUND 1
no logs in /var/log/dovecot-deliver.log
following is the configuration .qmail-default |/var/qmail/bin/preline -f /usr/local/libexec/dovecot/deliver -n -e -d $EXT@$USER
dovecot -n # 1.1.5: /etc/dovecot/dovecot.conf protocols: imap ssl_disable: yes disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_greeting: mail ready. mail_plugins: quota imap_quota trash imap_client_workarounds: delay-newmail outlook-idle namespace: type: private prefix: INBOX. inbox: yes list: yes subscriptions: yes auth default: mechanisms: plain login verbose: yes debug: yes debug_passwords: yes passdb: driver: checkpassword args: /home/vpopmail/bin/vchkpw userdb: driver: vpopmail userdb: driver: prefetch socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: vpopmail group: vchkpw plugin: quota: maildir quota_rule: Trash:ignore
Dhaval Thakar a écrit :
Hi list,
I am using dovecot deliver for the local mail delivery with qmail. this is working fine.
but when mail is sent to invalid user, it gets bounced back with error "I'm not going to try again; this message has been in the queue too long." rather "no mailbox here by that name"
if there is "no mailbox here by that name", then you should reject at smtp time (in your MTA: postfix, sendmail, whatever).
do not bounce after accepting mail. Search for "backscatter" to learn more.
I could find proper solution, kindly guide to resolve it.
/var/log/maillog Oct 24 23:03:27 backup dovecot: auth(default): master in: USER 1
d@arch.xyz.com service=deliver Oct 24 23:03:27 backup dovecot: auth(default): vpopmail(d@arch.xyz.com): lookup user=d domain=arch.xyz.com Oct 24 23:03:27 backup dovecot: auth(default): vpopmail(d@arch.xyz.com): unknown user Oct 24 23:03:27 backup dovecot: auth(default): prefetch(d@arch.xyz.com): passdb didn't return userdb entries, trying the next userdb Oct 24 23:03:27 backup dovecot: auth(default): master out: NOTFOUND 1no logs in /var/log/dovecot-deliver.log
following is the configuration .qmail-default |/var/qmail/bin/preline -f /usr/local/libexec/dovecot/deliver -n -e -d $EXT@$USER
dovecot -n # 1.1.5: /etc/dovecot/dovecot.conf protocols: imap ssl_disable: yes disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_greeting: mail ready. mail_plugins: quota imap_quota trash imap_client_workarounds: delay-newmail outlook-idle namespace: type: private prefix: INBOX. inbox: yes list: yes subscriptions: yes auth default: mechanisms: plain login verbose: yes debug: yes debug_passwords: yes passdb: driver: checkpassword args: /home/vpopmail/bin/vchkpw userdb: driver: vpopmail userdb: driver: prefetch socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: vpopmail group: vchkpw plugin: quota: maildir quota_rule: Trash:ignore
On Fri, 2008-10-24 at 17:57 +0530, Dhaval Thakar wrote:
but when mail is sent to invalid user, it gets bounced back with error "I'm not going to try again; this message has been in the queue too long." rather "no mailbox here by that name" .. Oct 24 23:03:27 backup dovecot: auth(default): master out: NOTFOUND 1
dovecot-auth successfully figures out that the user doesn't exist.
.qmail-default |/var/qmail/bin/preline -f /usr/local/libexec/dovecot/deliver -n -e -d $EXT@$USER
Try manually running:
/usr/local/libexec/dovecot/deliver -n -e -d blabla echo $?
What does the echo print? If it prints 67, the problem isn't deliver but qmail.
On Wed, Oct 29, 2008 at 8:55 PM, Timo Sirainen tss@iki.fi wrote:
On Fri, 2008-10-24 at 17:57 +0530, Dhaval Thakar wrote:
but when mail is sent to invalid user, it gets bounced back with error "I'm not going to try again; this message has been in the queue too long." rather "no mailbox here by that name" .. Oct 24 23:03:27 backup dovecot: auth(default): master out: NOTFOUND 1
dovecot-auth successfully figures out that the user doesn't exist.
.qmail-default |/var/qmail/bin/preline -f /usr/local/libexec/dovecot/deliver -n -e -d $EXT@$USER
Try manually running:
/usr/local/libexec/dovecot/deliver -n -e -d blabla echo $?
What does the echo print? If it prints 67, the problem isn't deliver but qmail.
thanks it prints 67.
i'll check with qmail for solution
if somebody is using dovecot deliver with qmail, kindly guide me
participants (4)
-
dhaval thakar
-
Dhaval Thakar
-
mouss
-
Timo Sirainen