Re: [Dovecot] dovecot deliver mail bounce problem

2008-10-30 Thread dhaval thakar
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


[Dovecot] dovecot deliver mail bounce problem

2008-10-24 Thread Dhaval Thakar

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   
[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



Re: [Dovecot] regarding dovecot.index.cache

2008-10-24 Thread Dhaval Thakar

Timo Sirainen wrote:

On Mon, 2008-10-20 at 12:05 +0530, Dhaval Thakar wrote:
  
Error: Corrupted header in file 
/home/vpopmail/domains/arch.xyz.com/A/mailadmin/Maildir/dovecot-uidlist 
(version = 3)



I think you're using an old deliver from Dovecot v1.0.x. There's no such
error message as this in v1.1.4.

  

thank you sir,

with your proper direction I have dovecot deliver working for my mail server
this problem got solved once I uninstalled & install dovecot-1.1.5 
(before reinstallation I remove deliver manually, I think I had not 
uninstalled older 1.0 while upgrading to ver 1.1)


this is working fine with my existing system.



Re: [Dovecot] regarding dovecot.index.cache

2008-10-17 Thread Dhaval Thakar

Timo Sirainen wrote:

On Oct 16, 2008, at 2:17 PM, Dhaval Thakar wrote:


This is regarding updating dovecot.index.cache.
I have few backup ids configured. these are used only when old mail 
needs to be retrieved.

usually these mailboxes contains more then 9,000 mails.

while login to webmail, imap consumption is high, which creates 
performance related issues for regular mailboxes.

to resolve this i have to move heavy mailbox to dedicated server.
before doing that, I wanted to confirm if there any way to update 
dovecot.index.cache even if user is not checking his / her mails.


If mails were delivered using Dovecot's deliver, it would update the 
cache file (as long as the user had logged in at least once so Dovecot 
would know what fields need to be cached).



hi,

i have configured lda for qmail & it works fine for some time.
later its stops working with the following error on qmail-send logs
deferral: preline:_fatal:_child_crashed/

on google i found may be caused due to corruption of dovecot.index,
after deletion of dovecot.index file it works fine.

following is dovecot-deliver.log
deliver([EMAIL PROTECTED]): Error: Corrupted header in file 
/home/vpopmail/domains/xyz/A/mailadmin/Maildir/dovecot-uidlist (version = 3)


kindly suggest any patch / configuration changes for this.

dovecot -n
# 1.1.4: /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



[Dovecot] regarding dovecot.index.cache

2008-10-16 Thread Dhaval Thakar

Hi,

This is regarding updating dovecot.index.cache.
I have few backup ids configured. these are used only when old mail 
needs to be retrieved.

usually these mailboxes contains more then 9,000 mails.

while login to webmail, imap consumption is high, which creates 
performance related issues for regular mailboxes.

to resolve this i have to move heavy mailbox to dedicated server.
before doing that, I wanted to confirm if there any way to update 
dovecot.index.cache even if user is not checking his / her mails.


kindly confirm, & provide direction to implement same.

Following is the mailserver related details
Qmail with Vpopmail 5.4.24
Dovecot-1.1.4

dovecot -n
# 1.1.4: /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
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
plugin:
 quota: maildir
 quota_rule: Trash:ignore

thanks & regards
dhaval