Re: [Dovecot] LMTP error

2014-05-01 Thread IT geek 31
On 2 May 2014 01:17, Joseph Tam wrote: > This setting: > > first_valid_uid = 1010 >> > > will need to be changed to "0", or better yet, as others have suggested, > alias root to some user with UID within 1010..1020. > Ah-ha! That's what caused it. I wouldn't have seen that error before changi

Re: [Dovecot] LMTP error

2014-05-01 Thread IT geek 31
On 1 May 2014 19:48, Reindl Harald wrote: > * set a alias on the postfix side to another mail-address > * that way dovecot never see the root-address as destination > * use "postsuper -d queue_id" to kill the messages from the queue > __ > > cat /etc/aliases | grep roo

Re: [Dovecot] LMTP error

2014-05-01 Thread IT geek 31
On 1 May 2014 19:27, Thomas Leuxner wrote: > Obviously not, or you missed the detail in maillog. When the syslog line > starts with _postfix_ it's postfix. > > $ doveadm log find > Everything logs to /var/log/maillog. The line I think I missed was: May 1 19:31:50 Server1 dovecot: lmtp(13770):

Re: [Dovecot] LMTP error

2014-05-01 Thread IT geek 31
On 1 May 2014 18:56, Thomas Leuxner wrote: > > What about the Dovecot log? The error in the _Postfix_ log is pretty > self-explanatory, have a look what Dovecot says. > Um, I was under the impression Dovecot logged to /var/log/maillog like Postfix. I'm not aware of any other log for Dovecot? I

[Dovecot] LMTP error

2014-05-01 Thread IT geek 31
Hi, I've recently switched to LMTP as I'm now using mdbox. However since switching, mails sent to the root account do not get delivered due to the following error: May 1 18:20:17 Server1 postfix/lmtp[13019]: CAEE91F851: to=, relay=mail.test.com[private/dovecot-lmtp], delay=1097, delays=1096/0.4

Re: [Dovecot] Quick win... command to remove all attachments from an Inbox

2014-04-19 Thread IT geek 31
On 19 April 2014 18:06, Daniel Parthey wrote: > This should be done via IMAP. There might be tools or IMAP libraries for > your favourite scripting language which are able to handle attachments. > Thanks Daniel. I shall look at another way. -Mark

Re: [Dovecot] Quick win... command to remove all attachments from an Inbox

2014-04-19 Thread IT geek 31
On 12 April 2014 18:35, IT geek 31 wrote: > Does anyone know of a doveadm command I can use to remove (delete) all > attachments from an mdbox Inbox? > > I prefer to save my attachments and have a sleek Inbox... but sometimes I > forget. A command I can feed into a cron job

Re: [Dovecot] Dovecot Replication setup

2014-04-17 Thread IT geek 31
On 17 April 2014 14:31, Teemu Huovila wrote: > I wish someone -with earlier experience- would answer these questions, to > help us avoid all this fuss > I regret that I did not spot the error in your configuration and Im sorry > nobody else was able to answer you either. The dsync > feature (

[Dovecot] Quick win... command to remove all attachments from an Inbox

2014-04-12 Thread IT geek 31
Good evening all, Does anyone know of a doveadm command I can use to remove (delete) all attachments from an mdbox Inbox? I prefer to save my attachments and have a sleek Inbox... but sometimes I forget. A command I can feed into a cron job would be ideal. Many thanks, -Mark

Re: [Dovecot] Is replication broken?

2014-04-03 Thread IT geek 31
> > Honestly, for most setups I would recommend LMTP nowadays. >> > I don't use Postfix, but that page looks good: > http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP I followed the guide, but I received the following error: Apr 3 08:41:31 server1 postfix/lmtp[4084]: DE4321F83A: to=, relay=serv

Re: [Dovecot] Is replication broken?

2014-04-03 Thread IT geek 31
> > Honestly, for most setups I would recommend LMTP nowadays. > I don't use Postfix, but that page looks good: > http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP > > You do not need to do anything special in postfix, if you use Dovecot's > LDA or LMTP, when you change the storage backend. Most im

Re: [Dovecot] Is replication broken?

2014-04-02 Thread IT geek 31
> > Before I do this, my question is this - will Postfix automatically > know where to find the inbox, or will I have to do modify my Postfix > config somehow? > To answer my own question, I have to edit my Postfix main.cf file with the following command: mailbox_command = /usr/pkg/libexec/doveco

Re: [Dovecot] Is replication broken?

2014-04-02 Thread IT geek 31
> Actually asked another way, "why should I waste time rtfm when I can just be > lazy and waste everyone else's time with questions that I could otherwise > easily answer myself?"... Actually pal that's utter bollocks. I did RTFM, but I think it's widely recognised the Dovecot wiki (Replication

Re: [Dovecot] Is replication broken?

2014-03-17 Thread IT geek 31
> > Look at the three sentences directly before the examples there. It > specifically says: > > "With dsync you can convert between any two mailbox formats that Dovecot > supports. As much of the mailbox state is preserved as possible. Typically > it's everything. See Tools/Dsync

Re: [Dovecot] Is replication broken?

2014-03-13 Thread IT geek 31
rch 2014 16:11, Charles Marcus wrote: > On 3/13/2014 10:55 AM, IT geek 31 wrote: > >> Timo wrote this last month: >> >> mbox format + dsync replication apparently doesn't work because of lock >> ordering issues. Might not be easy to fix, or in any case it's

Re: [Dovecot] Is replication broken?

2014-03-13 Thread IT geek 31
up the priority list? I don't know if anyone else feels the same... but replication is number one on our Christmas wish list right now :-) -Mark On 30 January 2014 15:02, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 30 Jan 2014, IT geek

Re: [Dovecot] Is replication broken?

2014-01-30 Thread IT geek 31
Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 30 Jan 2014, IT geek 31 wrote: > > On 30 January 2014 12:52, Steffen Kaiser > >wrote: >> >> On Thu, 30 Jan 2014, IT geek 31 wrote: >>> >>> Apologies for this being

Re: [Dovecot] Is replication broken?

2014-01-30 Thread IT geek 31
> > On Thu, 30 Jan 2014, IT geek 31 wrote: > > Apologies for this being my 248th post about replication... >> >> The current error I'm getting is: >> >> Jan 30 12:10:54 Server1 dovecot: dsync-local(MailUser1): Error: dsync( >> Server2.test.com):

[Dovecot] Is replication broken?

2014-01-30 Thread IT geek 31
Hi, Apologies for this being my 248th post about replication... The current error I'm getting is: Jan 30 12:10:54 Server1 dovecot: dsync-local(MailUser1): Error: dsync( Server2.test.com): read() failed: read((fd)) failed: Connection reset by peer Subsequent errors are: Jan 30 12:15:47 Server1

Re: [Dovecot] Replication - what am I doing wrong?

2014-01-27 Thread IT geek 31
user = root } service doveadm { inet_listener { port = 12345 } } service imap-login { inet_listener imap { port = 0 } } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0600 } } ssl_cert = wrote: > On 2014-01-27 4:15 AM, IT geek 31 wrote: > &g

[Dovecot] Replication - what am I doing wrong?

2014-01-27 Thread IT geek 31
Hi, I'm having issues getting replication working, and I'm not also not having much luck finding help on it. So I'm wondering... am I not asking the right questions? Or am I not providing enough information... or do we just not know how this aspect of the technology works? If it's the former, t

[Dovecot] Replication file sizes

2014-01-16 Thread IT geek 31
Hi, I'm using Dovecot 2.2.9 to replicate my mailbox to a remote server. My mailbox on ServerA is 235Mb, but on ServerB it ends up being 358Mb. Does anyone know why this is? Shouldn't they be the same size? doveconf -n from ServerA: # 2.2.9: /usr/pkg/etc/dovecot/dovecot.conf # OS: NetBSD 5.2

Re: [Dovecot] Index issue? - SOLVED

2013-12-10 Thread IT geek 31
They were subscribed in Outlook, but there's no option to set that on the iPad. The solution was to edit the mail account settings on the iPad and specify a root folder "INBOX" (minus quotes). -Mark On 10 December 2013 13:15, Daniel Parthey wrote: > Are all the subfolders subscribed? > > For

[Dovecot] Index issue?

2013-12-10 Thread IT geek 31
I've just hastily migrated from Dovecot 1.2.9 to 2.2.9 due to a disk crash. When I say hastily, I literally copied the user's mail data files to the new server and then started the Dovecot service. The trouble is, I now have a user who can see all the subfolders of her inbox in Outlook, but not o

[Dovecot] Dovecot panic during replication

2013-11-15 Thread IT geek 31
I'm seeing the following errors on my Dovecot box when trying to replicate: Nov 15 18:44:46 server1 dovecot: dsync-server(mark): Panic: file mbox-lock.c: line 799 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK) Nov 15 18:44:46 server1 dovecot: dsync-server(

Re: [Dovecot] trashed

2013-11-13 Thread IT geek 31
Guys, I don't wanna get involved with your internal beef, but some of us have real issues getting Dovecot to work as we need it to... If you could focus your efforts and considerable knowledge on helping others then this list would be much better for it. -Mark On 13 November 2013 10:35, Reind

[Dovecot] dsync-server panic/fatal errors

2013-11-11 Thread IT geek 31
Would anyone like to hazard a guess what these errors mean: Nov 11 18:57:04 server2 dovecot: dsync-server(mark): Panic: file mbox-lock.c: line 799 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK) Nov 11 18:57:04 server2 dovecot: dsync-server(mark): Fatal: ma

Re: [Dovecot] Replication on v2.2.6 - I'm stuck (again)

2013-11-10 Thread IT geek 31
On 10 November 2013 19:34, Timo Sirainen wrote: > On 5.11.2013, at 11.01, IT geek 31 wrote: > > > Thanks for the info. I've upgraded to v2.2.7 and made the change. Now I > > get: > > > > Nov 5 11:00:00 server1 dovecot: dsync-server(mark): Error: Co

Re: [Dovecot] Replication on v2.2.6 - I'm stuck (again)

2013-11-09 Thread IT geek 31
Hi, Does anyone have any ideas? I need to iron out these few remaining issues before I deploy this into production... -Mark > On 5 Nov 2013, at 10:01 am, IT geek 31 wrote: > > Hi Timo, > > Thanks for the info. I've upgraded to v2.2.7 and made the change. Now I get:

Re: [Dovecot] Replication on v2.2.6 - I'm stuck (again)

2013-11-05 Thread IT geek 31
te: > 1) Upgrade to v2.2.7 > > 2) Use: > > mail_replica = tcp:server2.mydomain.com > > On 3.11.2013, at 21.53, IT geek 31 wrote: > > > Hi Timo, > > > > Thanks for your response. > > > > Getting it to replicate over TCP is what I'm after. H

Re: [Dovecot] Replication on v2.2.6 - I'm stuck (again)

2013-11-03 Thread IT geek 31
ote: > On 30.10.2013, at 13.01, IT geek 31 wrote: > > > I'm trying to get Dovecot replication working between two servers. I > > didn't have much luck on v2.1.3, so after receiving advice from the list > I > > have upgraded to v2.2.6. > > > > I now get

[Dovecot] Replication on v2.2.6 - I'm stuck (again)

2013-10-30 Thread IT geek 31
Hi, I'm trying to get Dovecot replication working between two servers. I didn't have much luck on v2.1.3, so after receiving advice from the list I have upgraded to v2.2.6. I now get the error: Oct 30 11:50:16 server1 dovecot: doveadm(mark): Error: user mark: Auth PASS lookup failed Oct 30 11:5

Re: [Dovecot] Dovecot replication - I'm stuck

2013-10-28 Thread IT geek 31
Ah, gutted. Neither are an option right now. Thanks for your help anyway. -Mark On 28 October 2013 15:13, /dev/rob0 wrote: > On Mon, Oct 28, 2013 at 01:43:48AM +0100, IT geek 31 wrote: > > I've been following the wiki document at > > http://wiki2.dovecot.org/Replicat

Re: [Dovecot] Dovecot replication - I'm stuck

2013-10-28 Thread IT geek 31
supports incremental syncing of mailboxes. > > Regards, > Lucas > > > Am 28.10.13 01:43, schrieb IT geek 31: > >> Hi, >> >> I've been following the wiki document at >> http://wiki2.dovecot.org/**Replication<http://wiki2.dovecot.org/Replication>

[Dovecot] Dovecot replication - I'm stuck

2013-10-27 Thread IT geek 31
Hi, I've been following the wiki document at http://wiki2.dovecot.org/Replication, but I've become stuck. I'm running version 2.1.3 on NetBSD 5.2 (v2.2+ isn't available as a package yet, and compiling my own is well outside my wheelhouse). I have a couple of questions: The wiki page keeps refer