imapc master login for shared mailboxes

2020-03-21 Thread Mark Zealey
Hi there, I'm trying to set up shared mailboxes such that any access to the shared namespace like INBOX/shared/ will take and use imapc to log in with * (ie the current user is the master account for imapc). I've set up like https://wiki2.dovecot.org/SharedMailboxes/ClusterSetup on centos8 l

[Dovecot] Port variable in LMTP userdb lookups?

2011-10-20 Thread Mark Zealey
Hi all, I'm currently changing some systems to use the redirector service, which means that to get local deliveries going I need to get lmtp set up so it can be redirected as well. This is working fine, however we have a number of different ports running on our servers depending on which bran

Re: [Dovecot] Port variable in LMTP userdb lookups?

2011-11-07 Thread Mark Zealey
04-11-2011 23:56, Timo Sirainen yazmış: On Thu, 2011-10-20 at 12:38 +0300, Mark Zealey wrote: I'm currently changing some systems to use the redirector service, which means that to get local deliveries going I need to get lmtp set up so it can be redirected as well. This is working

Re: [Dovecot] Port variable in LMTP userdb lookups?

2011-11-17 Thread Mark Zealey
Thanks so much for that have tested in 2.0.16 release now and is working fine. Mark From: Timo Sirainen [t...@iki.fi] Sent: 16 November 2011 18:25 To: Mark Zealey Cc: Dovecot Mailing List Subject: Re: [Dovecot] Port variable in LMTP userdb lookups? On Mon

[Dovecot] using dsync to convert mailboxes looses caching options

2011-11-26 Thread Mark Zealey
Hi there, We're trying to convert users from Maildir to sdbox at present; I'm using dsync to achieve this (2.0.16) however when the user's have been converted we only get minimal information in the caching files. Is there some way to preserve all the caching decisions that were previously made

[Dovecot] (no subject)

2011-12-05 Thread Mark Zealey

[Dovecot] sql dict: commit failed: MySQL server has gone away

2011-12-07 Thread Mark Zealey
Following on from this thread: http://www.dovecot.org/list/dovecot/2010-September/052704.html in 2.0.16 I am seeing the same issues.

Re: [Dovecot] using dsync to convert mailboxes looses caching options

2011-12-07 Thread Mark Zealey
requests them via pop/imap. Mark From: Timo Sirainen [t...@iki.fi] Sent: 08 December 2011 05:53 To: Mark Zealey Cc: Dovecot Mailing List Subject: Re: [Dovecot] using dsync to convert mailboxes looses caching options On Sat, 2011-11-26 at 18:33 +0200, Mark Zealey wrote: &

Re: [Dovecot] sql dict: commit failed: MySQL server has gone away

2011-12-07 Thread Mark Zealey
..@iki.fi] Sent: 08 December 2011 05:03 To: Mark Zealey Cc: dovecot@dovecot.org Subject: Re: [Dovecot] sql dict: commit failed: MySQL server has gone away On Wed, 2011-12-07 at 20:38 +0200, Mark Zealey wrote: > Following on from this thread: > http://www.dovecot.org/list/dovecot/2010-

Re: [Dovecot] using dsync to convert mailboxes looses caching options

2011-12-08 Thread Mark Zealey
ather than conversion) caches could get relatively large? Mark From: Timo Sirainen [t...@iki.fi] Sent: 08 December 2011 07:33 To: Dovecot Mailing List Cc: Mark Zealey Subject: Re: [Dovecot] using dsync to convert mailboxes looses caching options On Thu, 2011-1

Re: [Dovecot] using dsync to convert mailboxes looses caching options

2011-12-08 Thread Mark Zealey
From: Timo Sirainen [t...@iki.fi] Sent: 08 December 2011 09:27 To: Mark Zealey Cc: Dovecot Mailing List Subject: RE: [Dovecot] using dsync to convert mailboxes looses caching options On Thu, 2011-12-08 at 09:19 +0000, Mark Zealey wrote: > OK now it's copying the timestamp fields for tmp

Re: [Dovecot] using dsync to convert mailboxes looses caching options

2011-12-08 Thread Mark Zealey
anytihng strange. Mark ________ From: Mark Zealey Sent: 08 December 2011 09:35 To: Timo Sirainen Cc: Dovecot Mailing List Subject: RE: [Dovecot] using dsync to convert mailboxes looses caching options OK I'll test the header copying more fully. The reason we want to preserve

Re: [Dovecot] sql dict: commit failed: MySQL server has gone away

2011-12-08 Thread Mark Zealey
Thanks Timo, this patch applied clean against 2.0.16 just running it on live for the past few minutes & seems to have fixed the issues. Mark From: Mark Zealey Sent: 08 December 2011 07:14 To: Timo Sirainen Cc: dovecot@dovecot.org Subject: RE: [Dov

Re: [Dovecot] using dsync to convert mailboxes looses caching options

2011-12-08 Thread Mark Zealey
By the way, another bug I noticed with dsync is that when converting from Maildir to sdbox is that the date.saved field is not preserved - it's just the time when the first dsync command happened. Presumably it should be the mtime of the Maildir message file Mark

Re: [Dovecot] using dsync to convert mailboxes looses caching options

2011-12-10 Thread Mark Zealey
10-12-2011 08:27, Timo Sirainen yazmış: On Thu, 2011-12-08 at 16:10 +, Mark Zealey wrote: By the way, another bug I noticed with dsync is that when converting from Maildir to sdbox is that the date.saved field is not preserved - it's just the time when the first dsync command hap

Re: [Dovecot] using dsync to convert mailboxes looses caching options

2011-12-10 Thread Mark Zealey
10-12-2011 08:28, Timo Sirainen yazmış: On Thu, 2011-12-08 at 14:45 +, Mark Zealey wrote: With 2.0.16 hdr.xxx fields get copied fine (but of course without timestamp). With the patch you provided they don't get copied whether using mirror or backup& starting from scratch. I&

Re: [Dovecot] using dsync to convert mailboxes looses caching options

2011-12-10 Thread Mark Zealey
10-12-2011 13:07, Timo Sirainen yazmış: It could well be because of the conversion to sdbox then - the ctime/mtime of the files are not being preserved by dsync (in stock 2.0.16). The date.saved timestamp is only put into the cache on the second dsync run; presumably therefore it picks it up

[Dovecot] auth-worker temporary failures causing lmtp 500 rejection

2012-01-26 Thread Mark Zealey
Hi there, I'm using dovecot 2.0.16 with a mysql user database. From time to time when we have a big influx of messages (perhaps more than 30 concurrent rcpt to:<> sessions at the same time so no auth-workers free?) or when we have a transient issue connecting to the database server, we see the

Re: [Dovecot] auth-worker temporary failures causing lmtp 500 rejection

2012-01-26 Thread Mark Zealey
been doing some massively parallel testing previously and not seen this. Mark From: Timo Sirainen [t...@iki.fi] Sent: 26 January 2012 12:31 To: Mark Zealey Cc: dovecot@dovecot.org Subject: Re: [Dovecot] auth-worker temporary failures causing lmtp 500 rej

Re: [Dovecot] auth-worker temporary failures causing lmtp 500 rejection

2012-01-26 Thread Mark Zealey
Mark From: Mark Zealey Sent: 26 January 2012 14:37 To: Timo Sirainen Cc: dovecot@dovecot.org Subject: RE: [Dovecot] auth-worker temporary failures causing lmtp 500 rejection I've tried reproducing by having long running auth queries in the sql and KILLing them on t

[Dovecot] Director to keep redirecting users to the same server even after all sessions closed?

2012-01-30 Thread Mark Zealey
Hi there, Just wondering how easy it would be to make the director continue to send a user to the same server (assuming it's still in the pool) for say 90 seconds after they have last been active (ie lmtp or pop/imap)? Basically we are working in quite a heavily cached environment so it takes

Re: [Dovecot] Director to keep redirecting users to the same server even after all sessions closed?

2012-01-30 Thread Mark Zealey
mo Sirainen [t...@iki.fi] Sent: 30 January 2012 13:58 To: Mark Zealey Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Director to keep redirecting users to the same server even after all sessions closed? On 30.1.2012, at 15.32, Mark Zealey wrote: > Just wondering how easy it would be to make the dir

[Dovecot] Slightly more intelligent way of handling issues in sdbox?

2012-02-03 Thread Mark Zealey
Hi there, I was doing some testing on sdbox yesterday. Basically I did the following procedure: 1) Create new sdbox; deliver 2 messages into it (u.1, u.2) 2) Create a copy of the index file (no cache file created yet) 3) deliver another message to the mailbox (u.3) 4) copy back index file from

Re: [Dovecot] Slightly more intelligent way of handling issues in sdbox?

2012-02-07 Thread Mark Zealey
06-02-2012 22:47, Timo Sirainen yazmış: On 3.2.2012, at 16.16, Mark Zealey wrote: I was doing some testing on sdbox yesterday. Basically I did the following procedure: 1) Create new sdbox; deliver 2 messages into it (u.1, u.2) 2) Create a copy of the index file (no cache file created yet) 3

[Dovecot] Passdb disconnected unexpectedly when trying to do Director with LMTP

2012-02-11 Thread Mark Zealey
Hi there, I'm running Dovecot 2.0.16 just set up the director with cut&paste from the wiki. It's working & running fine for pop/imap connections (as verified by doveadm director status user), however when I specify 'RCPT TO' for a (tcp) lmtp connection straight away I get: 451 4.3.0 Tempora

Re: [Dovecot] Passdb disconnected unexpectedly when trying to do Director with LMTP

2012-02-12 Thread Mark Zealey
Ah I should have checked this before - line before: 2012-02-11T14:22:54+00:00 xx dovecot: director: Error: connect(/var/run/dovecot//auth-userdb) failed: Permission denied This is because the director is running as user dovecot; but that file is owned root.root permissions 0600. What would you

[Dovecot] Migration between namespaces breaks outlook on mac's

2012-05-17 Thread Mark Zealey
Hi there, We're running dovecot 1.1 on one set of servers with a courier-imap-like namespace configuration: namespace private { separator = . prefix = INBOX. inbox = yes } We're now migrating customers onto a dovecot-2 platform, switching from Maildir to sdbox (using dsync mirror

[Dovecot] Migration between namespaces breaks outlook on mac's

2012-05-17 Thread Mark Zealey
Hi there, We're running dovecot 1.1 on one set of servers with a courier-imap-like namespace configuration: namespace private { separator = . prefix = INBOX. inbox = yes } We're now migrating customers onto a dovecot-2 platform, switching from Maildir to sdbox (using dsync mirror

[Dovecot] Poor pop3 over nfs performance

2008-06-30 Thread Mark Zealey
Hi, About a week ago I upgraded our reasonably heavily loaded mail servers from a pretty recent courier version to dovecot-1.1rc10. IMAP performance on dovecot is amazing, however POP3 performance is worse than courier :-( I have uploaded some munin graphs taken today to http://linweb.atlas.pipex.

Re: [Dovecot] Poor pop3 over nfs performance

2008-07-02 Thread Mark Zealey
> rc11 had this fix which may be relevant: > > - dovecot-uidlist is now recreated if it results in > file shrinking > over 25%. Not sure this fix is relevent; but I have upgraded to 1.1.1 > With v1.1 INDEX=MEMORY shouldn't matter that much anymore, since it > should cache the virt

Re: [Dovecot] Poor pop3 over nfs performance

2008-07-02 Thread Mark Zealey
t-uidlist" -ot "$HOME/Maildir/new" ]]; then rm -f "$HOME/Maildir/dovecot.index.cache" fi (whenever a user logs in via imap we touch .lastlogin_imap, so we only kill the cache file if the user is pop3-only and both the cache and uidlist are older than the new directory). Mark

[Dovecot] assertion failed: (seq >= t->first_new_seq && seq <= t->last_new_seq)

2008-07-03 Thread Mark Zealey
a few of these this morning. Mark -- Mark Zealey -- Shared Hosting Team Leader Product Development * Webfusion 123-reg.co.uk, webfusion.co.uk, donhost.co.uk, supanames.co.uk This mail is subject to http://www.gxn.net/disclaimer

Re: [Dovecot] assertion failed: (seq >= t->first_new_seq && seq <= t->last_new_seq)

2008-07-03 Thread Mark Zealey
OK I've been struggling to get dumps from the live environment most of the day, but have given up. I've now managed to reproduce this using a fork-bomb type script; here is a backtrace (no debug version installed, but I suspect I could reproduce this in the dev environment if it's not clear what th

Re: [Dovecot] usernames with/without domain - my solution

2008-09-01 Thread Mark Zealey
ittle neater than the per-ip solution if you're in a loadbalanced environment. I don't see why you need the group by or having statements (assuming you have normalized tables). Mark -- Mark Zealey -- Shared Hosting Team Leader Product Development * Webfusion 123-reg.co.uk, webfusion

[Dovecot] Panic: IMAP: Trying to allocate 2273345672 bytes

2008-09-10 Thread Mark Zealey
tween two computers and connections are randomly redirected to either box; so potentially it could be an nfs type corruption issue. Timo, I'll send you a tarball of the dovecot* files off-list Thanks, Mark -- Mark Zealey -- Shared Hosting Team Leader Product Development * Webfusion 123-reg.co.uk, webfusion.co.uk, donhost.co.uk, supanames.co.uk This mail is subject to http://www.gxn.net/disclaimer

Re: [Dovecot] Panic: IMAP: Trying to allocate 2273345672 bytes

2008-09-10 Thread Mark Zealey
I've just found another user that has the exact same error message (same number of bytes). However, this error only happened once, the user has logged in successfully since then and there was not an error about the uidlist having duplicate entries. Thanks, Mark -- Mark Zealey -- Shared Ho

Re: [Dovecot] Panic: IMAP: Trying to allocate 2273345672 bytes

2008-09-11 Thread Mark Zealey
> > About our setup: These are on an nfs-mounted file system. > It's shared > > between two computers and connections are randomly > redirected to either > > box; so potentially it could be an nfs type corruption > issue. Timo, I'll > > send you a tarball of the dovecot* files off-list > > Soun

[Dovecot] Maildir size report for imap?

2008-10-09 Thread Mark Zealey
it or something like that. Mark -- Mark Zealey -- Shared Hosting Team Leader Product Development * Webfusion 123-reg.co.uk, webfusion.co.uk, donhost.co.uk, supanames.co.uk This mail is subject to http://www.gxn.net/disclaimer

Re: [Dovecot] 1.1.4 and trouble over NFS

2008-10-09 Thread Mark Zealey
> That looks correct. So either something's changed in Dovecot since I > last tested it with NFS, or something's changed in Linux kernel. Or > there's something else weird going on. > > I don't really have any good suggestions for solutions and I don't > really have time to debug NFS problems righ

Re: [Dovecot] benchmark dovecot

2008-10-30 Thread Mark Zealey
Thanks; these look interesting. We have a similar nas setup but we have 2 frontend dovecot servers connecting to it and store the indexes over nfs. We also have around 10 mail servers running deliver to try to keep the indexes on the nfs store up-to-date. Have you done any tests with the speed of m

Re: [Dovecot] benchmark dovecot

2008-10-30 Thread Mark Zealey
> Mark Zealey a écrit : > > Thanks; these look interesting. We have a similar nas setup > but we have > > 2 frontend dovecot servers connecting to it and store the > indexes over > > nfs. > Could you please tell me how have you done this configuration ? >

[Dovecot] nfs_flush_fcntl failed: No locks available

2008-11-10 Thread Mark Zealey
:~/Maildir mmap_disable: yes mail_nfs_storage: yes mail_nfs_index: yes lock_method: dotlock maildir_copy_preserve_filename: yes mbox_write_locks: dotlock This happens for both pop and imap (however more frequently with imap). Thanks, Mark -- Mark Zealey -- Shared Hosting Team Leader Product Development *

Re: [Dovecot] Unbreakable NFS locking issues...

2008-11-11 Thread Mark Zealey
Sounds like an issue with nfs 4 to me? We're running nfs3 very happily no issues like this have happened. I don't see that running nfs4 offers many advantages over v3 for the email workload. Mark -- Mark Zealey -- Shared Hosting Team Leader Product Development * Webfusion 123

[Dovecot] %d in deliver

2008-11-20 Thread Mark Zealey
ine, but not do an authdb lookup; or get it to read the domain from an environment variable (or be able to print the contents of an arbitrary environment variable in a formatted string)? Thanks, Mark -- Mark Zealey -- Shared Hosting Team Leader Product Development * Webfusion 123-reg.co.uk,

Re: [Dovecot] [dovecot] Pre-populate index files for mbox

2008-11-25 Thread Mark Zealey
As a quick hack, surely you could deliver a dummy file to the inbox and then login over pop/imap and remove it? Mark

[Dovecot] 1.1.6 -> 1.1.7 regression: dovecot: pipe() failed: Too many open files

2008-12-23 Thread Mark Zealey
shot of the fd's open by the master dovecot process. Thanks, Mark -- Mark Zealey -- Shared Hosting Team Leader Product Development * Webfusion 123-reg.co.uk, webfusion.co.uk, donhost.co.uk, supanames.co.uk This mail is subject to http://www.gxn.net/disclaimer

Re: [Dovecot] 1.1.6 -> 1.1.7 regression: dovecot: pipe() failed: Too many open files

2009-01-12 Thread Mark Zealey
> > There weren't amazing numbers of imap sessions open at > > the time (only something like 400-500; we've had 1.5k in > the past), so I > > suspect this is a regression between 1.1.6 and 1.1.7 where > you've got a > > leak of fd's ? > > Sounds like a leak, but I doubt it was a regression. Pr

Re: [Dovecot] help: "dovecot: pipe() failed: Too many open files"

2009-02-06 Thread Mark Zealey
t should be around 3* max conns you expect to be on the safe side of things. Mark -- Mark Zealey -- Shared Hosting Team Leader Product Development * Webfusion 123-reg.co.uk, webfusion.co.uk, donhost.co.uk, supanames.co.uk This mail is subject to http://www.gxn.net/disclaimer > -Origi

[Dovecot] Effects of going read-only on dovecot & pop/imap clients

2009-02-19 Thread Mark Zealey
t can under the circumstances ie allow read access to mails? Also, has anyone got experience of how clients handle mailboxes being read-only? My guess is that pop clients would probably break and download the same messages over and over? Thanks, Mark -- Mark Zealey -- Shared Hosting Team Leader Prod

Re: [Dovecot] Effects of going read-only on dovecot & pop/imap clients

2009-02-19 Thread Mark Zealey
> Are you talking about only POP3 clients? I suppose in theory it should > be possible, but it's such a special case that I'm not going to bother > making Dovecot support that. Dovecot really wants to create > dovecot-uidlist files. But I suppose you could just have it > create them > to some temp

[Dovecot] courier-dovecot-migrate.pl maintaining order of pop3 uidl's

2011-01-05 Thread Mark Zealey
Hi there, I've just been experimenting with the latest courier-dovecot-migrate.pl script and I notice that it favours keeping pop3 UIDL ordering rather than IMAP UID preservation. There is this comment (line 312): # POP3 clients may want to get POP3 UIDLs in the same order always. # P

Re: [Dovecot] courier-dovecot-migrate.pl maintaining order of pop3 uidl's

2011-01-05 Thread Mark Zealey
ctly). I'm assuming this is actually a bug as from my understanding it's always worse to create a new pop3 UIDL than to change the ordering. Mark 05-01-2011 17:28, Mark Zealey yazmış: Hi there, I've just been experimenting with the latest courier-dovecot-migrate.pl script and

[Dovecot] penalty configuration and proxy servers

2011-03-04 Thread Mark Zealey
Hi there, I've had a look through the wiki and a quick look through the source for penalty configurations (dovecot 2.0.9) but I've not found anything to do with configuration options for this functionality. I'm basically wanting to disable a particular host/subnet from the penalty setup. In ou

[Dovecot] Post-login scripting with mail_drop_priv_before_exec in dovecot2

2011-05-09 Thread Mark Zealey
Hi, I'm in the process of upgrading from dovecot v1.1 to dovecot 2. We fetch uid/gid user information from a database and also use post-login scripting with mail_drop_priv_before_exec = yes which means the postlogin script is executed with the permissions of the user we have found in the data

[Dovecot] Dovecot deliver uidlist issues

2009-08-06 Thread Mark Zealey
emove the uidlist file when someone logs in to the mailbox for the first time which then forces it to be created in the correct order; but this is a very messy solution. Thanks, Mark -- Mark Zealey -- Platform Architect Product Development * Webfusion 123-reg.co.uk, webfusion.co.uk, donhost.c

[Dovecot] RFC: Storing indexes in a (remote) database to increase dovecot scalability

2009-08-10 Thread Mark Zealey
place to store emails, whereas a database server would be the ideal place to store indexes/caches. Obviously for speed of setup, simply storing everything on a filesystem is easy so I'm not suggesting that we abandon this route, but for truly large infrastructures I think being able to use a d

Re: [Dovecot] 1.1 -> 1.2 upgrade?

2009-12-07 Thread Mark Zealey
I'm a little confused by the following statement on that page: If you were using e.g. mail_location = maildir:/var/mail/%h, just change it to mail_location = maildir:%h and add /var/mail/ prefix to home dirs. However, looking at the patch (http://hg.dovecot.org/dovecot-1.2/rev/dd49cf3fd2c9) a

[Dovecot] [PATCH proposal] make dsync preserve pop3_uidl_format

2013-04-11 Thread Mark Zealey
Hi there, I ran into an issue yesterday (dovecot 2.0) whereby when we dsync messages from a local machine (sdbox) to a remote (Maildir) which have different pop3_uidl_formats configured, the uidl format is not preserved. There doesn't seem to be any way to force this in the code, although I sus