Re: [Dovecot] [BUMP] Unanswered: how to force FTS indexing?

2012-11-16 Thread e-frog
On 17.11.2012 07:35, wrote Daniel L. Miller: On 11/16/2012 12:58 PM, Dave Abrahams wrote: on Thu Nov 15 2012, "Daniel L. Miller" wrote: On 11/14/2012 6:52 AM, Dave Abrahams wrote: Does anyone have an answer to this question? Should I simply issue an IMAP search command, or is there a better

Re: [Dovecot] [BUMP] Unanswered: how to force FTS indexing?

2012-11-16 Thread Daniel L. Miller
On 11/16/2012 12:58 PM, Dave Abrahams wrote: on Thu Nov 15 2012, "Daniel L. Miller" wrote: On 11/14/2012 6:52 AM, Dave Abrahams wrote: Does anyone have an answer to this question? Should I simply issue an IMAP search command, or is there a better way? Put this in a cron script: doveadm se

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to

2012-11-16 Thread Thufir
On Fri, 16 Nov 2012 19:58:55 -0600, /dev/rob0 wrote: Judging from your previous post where deliver tried to write to /root/Maildir/, I suppose your mail will be found in ~thufir/Maildir/new/ . Now Postfix is fine, Dovecot seems to be fine also. Your remaining issue is with "mail". If it's old

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to

2012-11-16 Thread /dev/rob0
On Fri, Nov 16, 2012 at 05:32:16PM -0800, Thufir wrote: > On Fri, 16 Nov 2012 16:09:54 -0600, /dev/rob0 wrote: > >The fix to this is simply not to deliver mail to root. You > >should have aliased root to a mortal user. Postfix will not > >invoke a mailbox_command as root. > > Ah, thank you. Not d

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to

2012-11-16 Thread Thufir
On Fri, 16 Nov 2012 16:09:54 -0600, /dev/rob0 wrote: The fix to this is simply not to deliver mail to root. You should have aliased root to a mortal user. Postfix will not invoke a mailbox_command as root. In broader terms, you should only use root for actual system administration, and not for

Re: [Dovecot] whoson plugin for 2.0

2012-11-16 Thread Pascal Volk
On 11/16/2012 11:21 PM Chuck Cochems wrote: > … > I need to return both the IP and the email address as a string to drop > it into the old code. > … You could check the code of the `doveadm who` command . It shows both, the user name and the IP address.

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to server log for more information.

2012-11-16 Thread /dev/rob0
On Fri, Nov 16, 2012 at 10:15:24PM +, Ben Morrow wrote: > postfix's local(8) will not allow you to deliver mail as root. Strictly speaking it will deliver to/as root, but not if invoking commands, which is what the OP was doing. -- http://rob0.nodns4.us/ -- system administration and consul

Re: [Dovecot] whoson plugin for 2.0

2012-11-16 Thread Chuck Cochems
On 11/16/2012 11:53 AM, Pascal Volk wrote: On 11/16/2012 04:27 AM Chuck Cochems wrote: … this is, of course, because getenv() no longer functions lie it used to in plugins. so i need a replacement for getenv("IP") and getenv("USER") to make this work. AFAIR: getenv was replaced by mail_user_p

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to server log for more information.

2012-11-16 Thread Ben Morrow
At 12PM -0800 on 16/11/12 you (Thufir) wrote: > I ran dovecot -a and the blizzard of data seemed ok to my limited > knowledge. Is there another log I should look into to trace this error > down? > > Nov 16 12:30:52 dur dovecot: lda(root): Error: chdir(/root/) failed: > Permission denied (euid

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to server log for more information.

2012-11-16 Thread /dev/rob0
On Fri, Nov 16, 2012 at 12:47:52PM -0800, Thufir wrote: > I ran dovecot -a and the blizzard of data seemed ok to my limited > knowledge. Is there another log I should look into to trace this > error down? It's actually a Postfix problem. Postfix is invoking your Dovecot LDA with wrong permission

Re: [Dovecot] [BUMP] Unanswered: how to force FTS indexing?

2012-11-16 Thread Dave Abrahams
on Thu Nov 15 2012, "Daniel L. Miller" wrote: > On 11/14/2012 6:52 AM, Dave Abrahams wrote: >> Does anyone have an answer to this question? Should I simply issue an >> IMAP search command, or is there a better way? >> > > Put this in a cron script: > > doveadm search -A text zyxabcxyz > /dev/nu

[Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to server log for more information.

2012-11-16 Thread Thufir
I ran dovecot -a and the blizzard of data seemed ok to my limited knowledge. Is there another log I should look into to trace this error down? Dovecot and system info: thufir@dur:~$ thufir@dur:~$ dovecot --version 2.0.19 thufir@dur:~$ thufir@dur:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTR

Re: [Dovecot] Is there any Documentation or Howto/Guide for Dovecot Replication or do i have to wait for dovecot 2.2.x?

2012-11-16 Thread Daniel Parthey
Marko Weber wrote: > Is there any Documentation or Howto/Guide for Dovecot Replication? You might start with dovecot mirroring according to the documentation http://wiki2.dovecot.org/Tools/Dsync http://wiki2.dovecot.org/Design/Dsync and ask if something is unclear. Regards Daniel -- https://plus

Re: [Dovecot] whoson plugin for 2.0

2012-11-16 Thread Pascal Volk
On 11/16/2012 04:27 AM Chuck Cochems wrote: > … > this is, of course, because getenv() no longer functions lie it used to > in plugins. > > so i need a replacement for getenv("IP") and getenv("USER") to make this > work. AFAIR: getenv was replaced by mail_user_plugin_getenv ,--[ lib-storage/ma

[Dovecot] Is there any Documentation or Howto/Guide for Dovecot Replication or do i have to wait for dovecot 2.2.x?

2012-11-16 Thread weber
dear timo, can you help me? best regards marko, from hamburg

[Dovecot] Initial status notification not received

2012-11-16 Thread Nicolas KOWALSKI
Hello, We have SLES-11 SP2 Xen VMs running dovecot as IMAP proxies. At VMs startup, dovecot almost always shows these errors: Nov 16 14:29:19 server dovecot: master: Dovecot v2.1.10 starting up (core dumps disabled) Nov 16 14:29:55 server dovecot: master: Error: service(anvil): Initial status

Re: [Dovecot] Folder layout after Cyrus to Dovecot migration

2012-11-16 Thread Robert Schetterer
Am 16.11.2012 11:36, schrieb Keith Edmunds: >> read >> >> http://wiki2.dovecot.org/Migration >> http://wiki2.dovecot.org/Namespaces > > Thank you: I have (already had) read both. > > Are you suggesting that hidden namespaces will provide the functionality > we are looking for? Or have I missed th

Re: [Dovecot] Folder layout after Cyrus to Dovecot migration

2012-11-16 Thread Keith Edmunds
> read > > http://wiki2.dovecot.org/Migration > http://wiki2.dovecot.org/Namespaces Thank you: I have (already had) read both. Are you suggesting that hidden namespaces will provide the functionality we are looking for? Or have I missed the point? Thanks, Keith

[Dovecot] shared mailboxes and indexes

2012-11-16 Thread Angel L. Mateo
Hello, We are deploying shared mailboxes in our mail system. We are running 2.1.9 and mail backend is maildir. As described at http://wiki.dovecot.org/SharedMailboxes/Shared when shared namespace is configured as namespace shared { separator = / prefix = shared/%%u/ location = maild

Re: [Dovecot] Folder layout after Cyrus to Dovecot migration

2012-11-16 Thread Robert Schetterer
Am 16.11.2012 10:33, schrieb Keith Edmunds: > # dovecot --version > 1.2.15 > > We're trying to migrate a server from Cyrus to Dovecot, and we're mostly > there. > > On Cyrus, the folder layout in the MUA is: > > INBOX > subfolder > subfolder > ... > Sent > Drafts > Queue > Trash > > Users ca

[Dovecot] Folder layout after Cyrus to Dovecot migration

2012-11-16 Thread Keith Edmunds
# dovecot --version 1.2.15 We're trying to migrate a server from Cyrus to Dovecot, and we're mostly there. On Cyrus, the folder layout in the MUA is: INBOX subfolder subfolder ... Sent Drafts Queue Trash Users cannot create sibling folders to the Inbox, only subfolders (and sub-subfolders, e