Re: [Dovecot] Address Extensions with System Users

2009-04-17 Thread Timo Sirainen
On Apr 18, 2009, at 2:05 AM, Bill Cole wrote: Scott Silva wrote, On 4/17/09 1:27 PM: [...] AFAIR the RFC's state that all e-mail addresses are acted on in lowercase when being manipulated. The upper case parts are left intact only for human beings to read. That is very wrong. Email addres

Re: [Dovecot] Address Extensions with System Users

2009-04-17 Thread Bill Cole
Scott Silva wrote, On 4/17/09 1:27 PM: [...] AFAIR the RFC's state that all e-mail addresses are acted on in lowercase when being manipulated. The upper case parts are left intact only for human beings to read. That is very wrong. Email address local-parts MUST be treated as case-sensitive in

Re: [Dovecot] 0 mails available even if mails in mailbox

2009-04-17 Thread Timo Sirainen
On Apr 17, 2009, at 6:51 PM, stefan novak wrote: maybe you have mounted your nfs share with nodiratime? Dovecot doesn't care about atimes in mailbox syncing, only mtimes.

Re: [Dovecot] Shared folders and subscriptions

2009-04-17 Thread Timo Sirainen
On Apr 17, 2009, at 6:28 PM, Markus Werner wrote: Or you could also see if you could create a private namespace with prefix="#User/" and subscriptions=yes, perhaps with location=maildir:/var/lib/dovecot/empty:CONTROL=~/Maildir/shared where the empty directory would be a world-readable non-wri

Re: [Dovecot] Sieve "redirect"

2009-04-17 Thread stefan novak
maybe you need to include vacation? require "vacation"; if header :contains "Subject" "Listserv" { redirect "list-us...@example.com"; redirect "list-us...@example.com"; redirect "list-us...@example.com"; stop; }

Re: [Dovecot] Sieve "redirect"

2009-04-17 Thread James Butler
> Is there an alternative to the "redirect" Sieve capability? > > For example: > > if header :contains "Subject" "Listserv" { > redirect "list-us...@example.com"; > redirect "list-us...@example.com"; > redirect "list-us...@example.com"; > stop; > } > > How can I do the above without using "

[Dovecot] Sieve "redirect"

2009-04-17 Thread James Butler
Is there an alternative to the "redirect" Sieve capability? For example: if header :contains "Subject" "Listserv" { redirect "list-us...@example.com"; redirect "list-us...@example.com"; redirect "list-us...@example.com"; stop; } How can I do the above without using "redirect"? Unfortuna

Re: [Dovecot] 0 mails available even if mails in mailbox

2009-04-17 Thread stefan novak
maybe you have mounted your nfs share with nodiratime?

Re: [Dovecot] Shared folders and subscriptions

2009-04-17 Thread Markus Werner
On Fri, Apr 17, 2009 at 05:43:01PM -0400, Timo Sirainen wrote: > It would be possible to do both. The INBOX/ could be set up as a hidden > namespace and the "" namespace would be the default one. Or is there a > reason why you wouldn't want "" namespace to show up anything? Crying users, because s

Re: [Dovecot] Shared folders and subscriptions

2009-04-17 Thread Timo Sirainen
On Fri, 2009-04-17 at 23:38 +0200, Markus Werner wrote: > > Preferably you should also be using subscriptions=no so you wouldn't > > have to specify CONTROL at all, but for that you'd need to have a > > namespace with prefix="". > > Would an additional namespace, for subscriptions only, work? I wo

Re: [Dovecot] Shared folders and subscriptions

2009-04-17 Thread Markus Werner
On Fri, Apr 17, 2009 at 05:22:32PM -0400, Timo Sirainen wrote: > On Fri, 2009-04-17 at 22:48 +0200, Markus Werner wrote: > > namespace shared { > > separator = / > > prefix = "#User/%%u/" > > location = > > maildir:%%h/Maildir:INDEX=~/Maildir/index/shared/%%u:CONTROL=~/Maildir/control/

Re: [Dovecot] Shared folders and subscriptions

2009-04-17 Thread Timo Sirainen
On Fri, 2009-04-17 at 22:48 +0200, Markus Werner wrote: > namespace shared { > separator = / > prefix = "#User/%%u/" > location = > maildir:%%h/Maildir:INDEX=~/Maildir/index/shared/%%u:CONTROL=~/Maildir/control/shared > subscriptions = yes > list = yes > } The CONTROL must hav

Re: [Dovecot] Setup Question

2009-04-17 Thread Jeff Grossman
On 4/17/2009 1:43 PM, Timo Sirainen wrote: On Fri, 2009-04-17 at 13:05 -0700, Jeff Grossman wrote: I have come across my more problem. If somebody sends mail to JEFF instead of jeff it is saying user unknown. How do I tell the pipe command in Postfix to lowercase the username but not the e

[Dovecot] Shared folders and subscriptions

2009-04-17 Thread Markus Werner
Hi, I've got a problem with user shared folders and subscriptions. When I try to subscribe a folder, dovecot returns "OK Subscribe completed", but the newly subscribed folder is not listed with LSUB: a1 login t...@example.com *** a1 OK [CAP. a2 list "" "*" * LIST (\HasChildren) "/" "INBOX

Re: [Dovecot] Setup Question

2009-04-17 Thread Timo Sirainen
On Fri, 2009-04-17 at 13:05 -0700, Jeff Grossman wrote: > I have come across my more problem. If somebody sends mail to JEFF > instead of jeff it is saying user unknown. How do I tell the pipe > command in Postfix to lowercase the username but not the extension? You can also do this in Dovecot

Re: [Dovecot] Setup Question

2009-04-17 Thread Jeff Grossman
On 4/17/2009 12:39 PM, Jeff Grossman wrote: On 4/17/2009 8:14 AM, Jeff Grossman wrote: I really want to try and get this plus addressing working correctly with Dovecot and Postfix. After doing some reading I think I am going to change my Postfix setup from mailbox_command to mailbox_transport

Re: [Dovecot] Active Directory LDAP authentication fails after a time

2009-04-17 Thread Noah Miller
On 4/17/2009, noahisaac (n...@miller.cc) wrote: I've got Dovecot version 1.0.7 Best bet is to upgrade... lits of fixes and improvements since this version... 1.1.14 is current stable version, and is available (well, maybe not quite yet since it was only released yesterday, but at least 1.1.13

Re: [Dovecot] Setup Question

2009-04-17 Thread Jeff Grossman
On 4/17/2009 8:14 AM, Jeff Grossman wrote: I really want to try and get this plus addressing working correctly with Dovecot and Postfix. After doing some reading I think I am going to change my Postfix setup from mailbox_command to mailbox_transport. I have a few questions to make sure I am t

Re: [Dovecot] [OT] two-way IMAP synchronization

2009-04-17 Thread Tassilo Horn
Wolfram Schlich writes: Hi Wolfram, > I am looking for a tool that does a true two-way synchronization > (synchronization of expunges/deletes) of IMAP mailboxes, kind of > a mixture of unison and imapsync. > Does anyone have any ideas how to accomplish that? I use OfflineIMAP [1] to sync my 2 r

Re: [Dovecot] For the record: Postfix+Spamassassin+ClamAV+Dovecot

2009-04-17 Thread Seth Mattinen
James Butler wrote: > Postfix 2.5.5 > SpamAssassin 3.2.5 (under Perl 5.10.0) > ClamAV 0.95.1 > Dovecot 1.2.rc2 > > works fine on Fedora 10. > > Installed Dovecot and ClamAV from source and everything else using yum. > > I'm using the ClamAV plugin for Spamassassin: > http://wiki.apache.org/spam

Re: [Dovecot] Active Directory LDAP authentication fails after a time

2009-04-17 Thread Charles Marcus
On 4/17/2009, noahisaac (n...@miller.cc) wrote: > I've got Dovecot version 1.0.7 Best bet is to upgrade... lits of fixes and improvements since this version... 1.1.14 is current stable version, and is available (well, maybe not quite yet since it was only released yesterday, but at least 1.1.13 i

[Dovecot] For the record: Postfix+Spamassassin+ClamAV+Dovecot

2009-04-17 Thread James Butler
Postfix 2.5.5 SpamAssassin 3.2.5 (under Perl 5.10.0) ClamAV 0.95.1 Dovecot 1.2.rc2 works fine on Fedora 10. Installed Dovecot and ClamAV from source and everything else using yum. I'm using the ClamAV plugin for Spamassassin: http://wiki.apache.org/spamassassin/ClamAVPlugin I'm calling Spamass

Re: [Dovecot] Active Directory LDAP authentication fails after a time

2009-04-17 Thread Romer Ventura
i run dovecot 1.1.7 and i have the ldap.conf like this: base = ou=DOMAIN-Users,dc=domain,dc=com ldap_version = 3 auth_bind = yes dn = cn=ldap,cn=Users,dc=domain,dc=com dnpass = password I am authenticating against AD2003 and have not have and issue since it went live back in december... I woul

Re: [Dovecot] SELinux and "i_stream_read() failed: Permission denied"

2009-04-17 Thread James Butler
> On Thu, 2009-04-16 at 17:01 -0700, James Butler wrote: >> > But there's no dovecot.deliver anymore in v1.2: >> > >> > ~/cvs/dovecot-1.2/src/deliver% grep dovecot.deliver deliver >> > ~/cvs/dovecot-1.2/src/deliver% >> > >> > It is in v1.1 though. >> > >> >> I have no answer for you, except: >> >>

[Dovecot] Active Directory LDAP authentication fails after a time

2009-04-17 Thread noahisaac
Hi - I've got Dovecot version 1.0.7 running on a CentOS 5.2 machine. It's serving pop, imap and imaps and authenticating against an Active Directory machine. This all works fine at first, but after about two weeks or so, dovecot's authentication against AD starts to fail. All of dovecot's aut

Re: [Dovecot] Address Extensions with System Users

2009-04-17 Thread Scott Silva
on 4-16-2009 6:10 PM Jeff Grossman spake the following: > On 4/16/2009 5:18 PM, Jeff Grossman wrote: >> On 4/16/2009 2:08 PM, Timo Sirainen wrote: >>> On Thu, 2009-04-16 at 11:14 -0700, Jeff Grossman wrote: Everything I can find about setting this up applies to virtual users which I

Re: [Dovecot] Setup Question

2009-04-17 Thread Jeff Grossman
On 4/17/2009 9:24 AM, Timo Sirainen wrote: On Fri, 2009-04-17 at 09:10 -0700, Jeff Grossman wrote: You'll probably want to use userdb static now. Or if deliver needs to verify that the user exists, use something like: userdb passwd { args = uid=vmail gid=vmail home=/home/vmail/user/ }

Re: [Dovecot] Setup Question

2009-04-17 Thread Timo Sirainen
On Fri, 2009-04-17 at 09:10 -0700, Jeff Grossman wrote: > > You'll probably want to use userdb static now. Or if deliver needs to > > verify that the user exists, use something like: > > > > userdb passwd { > > args = uid=vmail gid=vmail home=/home/vmail/user/ > > } > > > I don't know if deliver

Re: [Dovecot] Setup Question

2009-04-17 Thread Jeff Grossman
On 4/17/2009 8:46 AM, Timo Sirainen wrote: On Apr 17, 2009, at 11:14 AM, Jeff Grossman wrote: 2. Have all mail delivered for each user to the "/home/vmail//" directory. All mail will be owned by vmail, but that is okay since Dovecot is the only thing touching the mail files anyway. .

Re: [Dovecot] Setup Question

2009-04-17 Thread Timo Sirainen
On Apr 17, 2009, at 11:14 AM, Jeff Grossman wrote: 2. Have all mail delivered for each user to the "/home/vmail//" directory. All mail will be owned by vmail, but that is okay since Dovecot is the only thing touching the mail files anyway. .. 6. Copy the current users mail to the ne

Re: [Dovecot] 0 mails available even if mails in mailbox

2009-04-17 Thread Timo Sirainen
On Apr 17, 2009, at 9:27 AM, Raphael Thoma wrote: We are currently facing the problem, that dovecot doesn't return any messages (Pop3: +OK 0 messages) even if there are messages in the cur and new directory (maildir format). The logfile does not contain any information other than login/logo

Re: [Dovecot] UW-IMAP migration to namespaces

2009-04-17 Thread Timo Sirainen
On Apr 17, 2009, at 6:37 AM, Jernej Porenta wrote: If I set my namespaces like this: namespace private { separator = / prefix = inbox = yes location = mbox:~/:INBOX=~/.mailbox hidden = yes list = yes } namespace private { separator = / prefix = mail/ location = mbox:~/mail prefix = ma

Re: [Dovecot] Setup Question

2009-04-17 Thread Jeff Grossman
Thank you. I like that suggestion. I will probably do that. Any recommendation on moving the mail over from the old location to the new location without messing up any of the date/time stamps on the messages? I use maildir format. On 4/17/2009 8:41 AM, Romer Ventura wrote: Looks about righ

Re: [Dovecot] Setup Question

2009-04-17 Thread Romer Ventura
Looks about right... I have a very similar setup, but i authenticate to Active Directory via LDAP and it works very good. If you have or may get more domains i would set up mail_location to something like this: /home/vmail/%d/%u that way you are ready for growth and everything is kept organ

[Dovecot] Setup Question

2009-04-17 Thread Jeff Grossman
I really want to try and get this plus addressing working correctly with Dovecot and Postfix. After doing some reading I think I am going to change my Postfix setup from mailbox_command to mailbox_transport. I have a few questions to make sure I am thinking correctly. All of my users are sys

[Dovecot] 0 mails available even if mails in mailbox

2009-04-17 Thread Raphael Thoma
Hello We are currently facing the problem, that dovecot doesn't return any messages (Pop3: +OK 0 messages) even if there are messages in the cur and new directory (maildir format). The logfile does not contain any information other than login/logout. After I deleted the dovecot.index file, a

Re: [Dovecot] Multiple instances and/or separate certificates per email address

2009-04-17 Thread Jose Celestino
On Sex, 2009-04-17 at 22:03 +1000, Simon L Jackson wrote: > Hi, > > We have a mail server with multiple instances of Postfix each listening > on a different IP address to create a set of virtual mail servers. There > are various reasons why separate instances of Postfix seems to work best > to

[Dovecot] [OT] two-way IMAP synchronization

2009-04-17 Thread Wolfram Schlich
Hi, I am looking for a tool that does a true two-way synchronization (synchronization of expunges/deletes) of IMAP mailboxes, kind of a mixture of unison and imapsync. Does anyone have any ideas how to accomplish that? TIA. -- Regards, Wolfram Schlich Gentoo Linux * http://dev.gentoo.org/~wschl

[Dovecot] Multiple instances and/or separate certificates per email address

2009-04-17 Thread Simon L Jackson
Hi, We have a mail server with multiple instances of Postfix each listening on a different IP address to create a set of virtual mail servers. There are various reasons why separate instances of Postfix seems to work best to achieve this goal, but I wont divert into that discussion here. I w

[Dovecot] UW-IMAP migration to namespaces

2009-04-17 Thread Jernej Porenta
Hello, I am trying to migrate existing UW-IMAP installation to dovecot 1.1.14 and I am having troubles with namespaces. As you know UW-IMAP allows full system access to home directory of a user and you can set up dovecot to do that as well, but I would like to use namespaces. If I set my n

Re: [Dovecot] bad maildir location

2009-04-17 Thread Noel Butler
On Fri, 2009-04-17 at 18:09, denis wrote: > Hi, > But the problem is that dovecot creates (when you log in for the first time) > a directory in the form of the exact address. Here for example, > /var/alternc/mail/d/de...@collectifs.net > > And so all connections will be on an empty location.

Re: [Dovecot] v1.1.14 and v1.2.rc3 released

2009-04-17 Thread Wolfgang . Friebel
I was already going to report a bug with rc2 where the server crashed when a client tried to access a Maildir folder with wrong permissions. After installation of rc3 the server correctly reports the wrong permissions and keeps running: IMAP(user1): stat(/var/spool/mail/user1/Maildir/tmp) fail

Re: [Dovecot] FTS Plugin design

2009-04-17 Thread Rui Carneiro
Thank you for all tips. The design look more clear to me now. I have one more question. I looked into fts_build_want_index_part() and I saw that I need to add some flags to message_part_flags, what values should I choose? My first approach was to follow your schema and set MESSAGE_PART_FLAG_ATTACH

[Dovecot] bad maildir location

2009-04-17 Thread denis
Hi, I use dovecot 1.0.15 on Debian Lenny. In my /etc/dovecot/dovecot-sql.conf, i use user_query = SELECT path, 33 AS uid, uid AS gid FROM mail_users WHERE alias = '%u' The result is something like this /var/alternc/mail/d/denis_collectifs.net and is the correct location (the Maildir is created

[Dovecot] Quota not being dispayed correctly in 1.2rc2 (with proof)

2009-04-17 Thread Ralf Hildebrandt
User reports: 0% of 640MB -- which cannot be true. I logged in as masteruser and was able to confirm this. I'm getting "0.0% von 640.0MB" == "0.0% of 640.0MB" His maildirsize file is attached. His mailbox is nearly full. Manual login: # telnet localhost 143 Trying 127.0.0.1... Connected to loca

Re: [Dovecot] v1.1.14 and v1.2.rc3 released

2009-04-17 Thread Peter Eriksson
Timo Sirainen wrote: > http://dovecot.org/releases/1.1/dovecot-1.1.14.tar.gz > http://dovecot.org/releases/1.1/dovecot-1.1.14.tar.gz.sig > > Here's a short status table when testing 1.1.14 on a Sun Fire X4240 (AMD, Solaris 10 Update 6 x86): Compiler Options

Re: [Dovecot] Postfix, Dovecot SASL and Entourage smtps authentication fails.

2009-04-17 Thread Timo Sirainen
On Apr 17, 2009, at 3:06 AM, Mart Pirita wrote: So it's my mistake, but I was taught, that Dovecot always give error on startup, if any double config lines exist. Unfortunately not. I'll see if I can add that check to v1.3/v2.0.

Re: [Dovecot] Postfix, Dovecot SASL and Entourage smtps authentication fails.

2009-04-17 Thread Mart Pirita
Tere. If you had changed the mechanisms=plain default, it would have shown up here (and you can see that also with dovecot -a). So something's wrong in that setting. Hmm, You are right, postfix install inserted into config lines: # Postfix - suggested configuration taken from SASL_README