Clear a single user mapping in Director setup

2014-09-14 Thread Murray Trainer
Hi All, We are using Dovecot director setup.  Is there a command to clear a single user's mapping to a backend mailstore?  This would be useful on occasions.  I couldn't find any command to do it. Thanks Murray

Dovecot failing with exit code 19200 in cron job

2014-08-18 Thread Murray Trainer
Hi All, I am synchronizing a few hundred dovecot mailboxes with a perl script via a crontab.   It works for a while (ie exit status=0)  but the rest then start failing with exit code 19200.   I tried redirecting STDERR but showed nothing.  I suspect the cron job is hitting some sort of resource

NFS INTR mount option

2014-08-18 Thread Murray Trainer
Hi again, We have our mailboxes on several NFS filesystems mounted with the options below.     10.11.0.238:/mailbox_store_01 on /home1 type nfs4

Dovecot mailstore performance tuning

2014-07-21 Thread Murray Trainer
HI All, We have a couple of dovecot director proxies and six backed mailstores each accessing mailboxes stored on five NFSv4 filsystems with about 1TB of mail on each in maildir format.  We have about 800 max users on each mailstore at peak times and performance appears to starting to degrade at

Sending emails using dovecot auth

2014-07-16 Thread Murray Trainer
Hi All, I have noticed that dovecot / exim on Cpanels appear to support sending emails via exim after authenticating to Dovecot - see message below 550-Please turn on SMTP Authentication in your mail client, or login to the 550-IMAP/POP3 server before sending your message We are migrating users

Integrity check of mailboxes before dsync

2014-07-14 Thread Murray Trainer
Hi All, I am migrating a large number of Dovecot mailboxes - some of them are quite old.  I hit an issue yesterday with a corrupt file (index?) that was preventing the mailbox from being synced properly  As soon as I removed the file the dsync worked.  Is there a way to check the integrity of

Dovecot ldap quotas in MB

2014-07-09 Thread Murray Trainer
Hi All, I have the Dovecot quota value coming from LDAP using the line below but my values are stored in MB, not bytes. What can I put in the line to set quotas in MB? user_attrs = homeDirectory=home,mailUID=uid,mailGID=gid,mailQuota=quota_rule=*:bytes=%$ Thanks Murray

Direct groups of users to pairs of backend mailstores?

2014-07-01 Thread Murray Trainer
Hi All, We are using Dovecot in a Director setup with two director proxies, six backend mailstores, mailbox storage in NFS, and user accounts stored in LDAP.   Currently we have five NFS filesystems on EMC VNX storage which are all mounted on each of the six backend mailstores.   At the moment

Remove all messages in a mailbox

2014-06-25 Thread Murray Trainer
Hi All, I am having trouble removing all messages in a mailbox.   The command below doesn't remove all the messages: doveadm expunge -u user@domain mailbox  '*' all Do I need to add .* or other? THanks Murray

Re: [Dovecot] Dovecot ontop of glusterfs issue.

2014-05-21 Thread Murray Trainer
Hi Eliezer, We had the same errors a few weeks ago. Turned out the time on our NFS server was out by over 30 secs as NTP wasn't setup correctly . Looks like the time on one of yours is out by about 250 secs (361-105). Murray -Original Message- From: dovecot

[Dovecot] Dsyncing mail in director setup

2014-05-04 Thread Murray Trainer
Hi All, I have a pair of dovecot director proxies and six dovecot backend mailstores using NFS v4.1 to access five filesystems on EMC VNX NFS storage. This is all working fine until I try and dsync new email mailboxes via one of the mailstores onto the NFS storage. I get major NFS lockups at

[Dovecot] Director NFS backups

2014-04-09 Thread Murray Trainer
Hi All, What is the recommended method of taking backups of user mailboxes when using the Director setup with NFS backend mail storage?    Is there any way to avoid the likely NFS locking issues by backing up the filesystem directly or do I have to do some sort of dsync method.  If I have to use

[Dovecot] Test outgoing email on director setup

2014-04-02 Thread Murray Trainer
HI All, I have a several Exim MTA's relaying mail to a pair of director proxies via LMTP which then relayi to several mailstores via LMTP   Incoming mail is working fine.  My outgoing mail uses LMTP also in the reverse of above.   How do I manually test outgoing mail on the mailstores and

Re: [Dovecot] Direct groups of users to pairs of backend servers

2014-03-25 Thread Murray Trainer
On 25/03/14 15:06, Stan Hoeppner wrote: On 3/24/2014 10:02 PM, Murray Trainer wrote: Hi All, I am using dovecot in the Director setup with multiple proxy and backend mailstores and user information stored in LDAP. I am aware users can be directed to a single backend server. It would

[Dovecot] Direct groups of users to pairs of backend servers

2014-03-24 Thread Murray Trainer
Hi All, I am using dovecot in the Director setup with multiple proxy and backend mailstores and user information stored in LDAP.  I am aware users can be directed to a single backend server.  It would be useful to be able to direct groups of users to pairs of backend servers to give some fault

[Dovecot] dsync mirror to mailstores in director setup

2014-02-26 Thread Murray Trainer
Hi All, I have dsync mirror command working between a standalone dovecot server and a backend mailstore in a Dovecot Director setup.   Is it safe to do the dsync directly to the backend mailstore in this setup? It doesn't seem to work via the director proxy. Thanks Murray

[Dovecot] Dovecot auth query

2014-02-20 Thread Murray Trainer
Hi All, I have my initial mailproxy setup with director through to my initial backend mailstore.  POP3 and IMAP user authentication is working ok on the proxy and the mailstore.  I just noticed when I do a doveadm auth lookup on the proxy it appears to give correct results but when I do it on the

[Dovecot] SMTP configuration for director mail cluster

2014-02-17 Thread Murray Trainer
HI All, I have setup my Dovecot director proxies and Dovecot backend mail stores.  I intend setting up several incoming and outgoing Exim MTA's.  I am a bit confused about what I need to run on the backend Dovecot MTA's to get the incoming mail delivered to them.  Do I need to install Exim on

Re: [Dovecot] Getting Director Proxy Working

2014-02-13 Thread Murray Trainer
Finally got it working. I eventually realized I needed to install dovecot-pop3d and dovecot-imapd for it to work :-) Murray Original Message From: Murray Trainer mtrai...@westnet.com.au Sent: 12 February 2014 12:51:00 PM AWST To: dovecot@dovecot.org Subject: Re: [Dovecot

Re: [Dovecot] Hybrid of linux user accounts and virtual user accounts configuration

2014-02-13 Thread Murray Trainer
Hi Derek, I have done this in reverse order. I used a short howto with users in LDAP. It uses an an LDAP schema called iredmail.schema that lets me create virtual domains and mail users that aren't posix users. I have my posix users under ou=users and my virtual users under ou=domains.

[Dovecot] Getting Director Proxy Working

2014-02-11 Thread Murray Trainer
Hi All, I can't get directory proxying of pop3 and imap working.  The director stuff appears to be OK - see below.   The ldap authentication is working on the backend mail server.  I just get connection refused when I telnet to the proxy on the pop3 and imap ports.  Nothing appears to be running

Re: [Dovecot] Getting Director Proxy Working

2014-02-11 Thread Murray Trainer
  - Original Message - From: Murray Trainer To: Cc: Sent:Wed, 12 Feb 2014 09:25:24 +0800 Subject:[Dovecot] Getting Director Proxy Working Hi All, I can't get directory proxying of pop3 and imap working.  The director stuff appears to be OK - see below.   The ldap authentication

[Dovecot] Trying to get Dovecot Director Proxying working

2014-02-06 Thread Murray Trainer
Hi All, Firstly, thanks for all the really helpful responses to my previous questions Architecture for large Dovecot cluster and Sizing MTA servers. I am now trying to get a Dovecot director proxy working with a single backend mail server. When I try to connect to the dovecot proxy on the

[Dovecot] Sizing MTA servers

2014-01-16 Thread Murray Trainer
Hi All, This is probably a bit off-topic but does anyone have any idea about sizing MTA servers.   We have about 200,000 emails/hr  incoming and outgoing.  I am intending using Exim and Spamassassin on each MTA.  How many servers using recent hardware would I need to cope with this mail

[Dovecot] Architecture for large Dovecot cluster

2014-01-05 Thread Murray Trainer
Hi All, I am trying to determine whether a mail server cluster based on Dovecot will be capable of supporting 500,000+ mailboxes with about 50,000 IMAP and 5000 active POP3 connections. I have looked at the Dovecot clustering suggestions here: