[Dovecot] LDA qmail - vpopmail

2008-08-21 Thread Ron Culler
I am trying to setup LDA with qmail/vpopmail to use the expire plugin
and I am getting errors about auth-master

(Can't connect to auth server at /usr/local/var/run/dovecot/auth-master:
No such file or directory)

The auth default section of the dovecot.conf is set to use
vpopmail(mysql) and that works great for IMAP access.

Can anyone share a config for using the expire plugin with
qmail/vpopmail?   I was wanting to put the preline commands in the
.qmail-default files on a per-domain basis.

/home/vpopmail/domains/domain1.com/.qmail-default

But to start I tried just putting it into the .qmail file for an
individual user.

Thanks
 
 
Ron Culler


[Dovecot] Expire Plugin - LDA with Vpopmail errors

2008-08-07 Thread Ron Culler
I am trying to setup Dovecot to use the expire plugin and wanted to use
the LDA so I can ensure the messages are indexed as they are delivered
to the mailboxes. This system is only accessed via a webmail interface

Using dovecot-1.1.2 and Vpopmail with Qmail

Dovecot.conf file
base_dir = /usr/local/var/run/dovecot/
protocols = imap 
disable_plaintext_auth = no
shutdown_clients = yes
log_path = /var/log/dovecott
info_log_path = /var/log/dovecott
log_timestamp = 
ssl_disable = yes
login_dir = /usr/local/var/run/dovecot/login
login_user = dovecot
login_process_per_connection = yes
login_processes_count = 3
login_max_processes_count = 128
mail_location = maildir:~/Maildir
namespace private {
separator = .
prefix = INBOX.
inbox = yes
}

verbose_proctitle = yes
first_valid_uid = 89
#last_valid_uid = 0

maildir_copy_with_hardlinks = yes
maildir_copy_preserve_filename = no

protocol imap {
listen = 127.0.0.1:4143
imap_max_line_length = 65536
login_greeting_capability = yes
mail_plugins = expire
}
  
protocol lda {
  mail_plugins = expire
  log_path = /var/log/dovecot-deliver.log
  info_log_path = /var/log/dovecot-deliver.log

}


plugin {
  # Trash and its children 7d, Spam 30d
  expire = Trash 7 
  expire_dict = proxy::expire

}

auth default {
mechanisms = plain

passdb vpopmail {
args =
}

userdb vpopmail {
}

user = vpopmail
count = 1
ssl_require_client_cert = no
}

I see errors in the /var/log/dovecot-deliver.log deliver ([EMAIL PROTECTED])
Error: Can't connect to auth server at
/usr/local/var/run/dovecot//auth-master: no such file or directory.

What do I need to do to create this?


Ron Culler








[Dovecot] Maildir Index Question

2008-08-06 Thread Ron Culler
We have several hundred mailboxes that have thousands of files in them
(spam boxes)

We currently run a find command and remove the files that are over 7
days old but still have boxes with upto 60k messages in them.
I know that dovecot will update the index files for each mailbox when
the boxes is accessed by an IMAP client(Webmail using Squirrel)but that
can take quite a while to index.

What I would like to do is via a cron job after the old file remove is
to force dovecot to reindex these boxes. That way when the users login
to the webmail interface it is quicker.

Does anyone know if a script is available to do this?

Thanks
 

Ron Culler