Re: [Dovecot] dovecot deliver mail bounce problem
On Wed, Oct 29, 2008 at 8:55 PM, Timo Sirainen <[EMAIL PROTECTED]> 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 > > [EMAIL PROTECTED] > > 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
Re: [Dovecot] dovecot deliver mail bounce problem
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 > [EMAIL PROTECTED] 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. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] dovecot deliver mail bounce problem
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 > [EMAIL PROTECTED] service=deliver > Oct 24 23:03:27 backup dovecot: auth(default): vpopmail([EMAIL PROTECTED]): > lookup user=d domain=arch.xyz.com > Oct 24 23:03:27 backup dovecot: auth(default): vpopmail([EMAIL PROTECTED]): > unknown user > Oct 24 23:03:27 backup dovecot: auth(default): prefetch([EMAIL PROTECTED]): > 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 > [EMAIL PROTECTED] > > > > 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 >