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 at arch.xyz.com service=deliver Oct 24 23:03:27 backup dovecot: auth(default): vpopmail(d at arch.xyz.com): lookup user=d domain=arch.xyz.com Oct 24 23:03:27 backup dovecot: auth(default): vpopmail(d at arch.xyz.com): unknown user Oct 24 23:03:27 backup dovecot: auth(default): prefetch(d at 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 at arch.xyz.com service=deliver > Oct 24 23:03:27 backup dovecot: auth(default): vpopmail(d at arch.xyz.com): > lookup user=d domain=arch.xyz.com > Oct 24 23:03:27 backup dovecot: auth(default): vpopmail(d at arch.xyz.com): > unknown user > Oct 24 23:03:27 backup dovecot: auth(default): prefetch(d at 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 >
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 1dovecot-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@$USERTry 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20081029/e80cf019/attachment-0002.bin>
On Wed, Oct 29, 2008 at 8:55 PM, Timo Sirainen <tss at 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