[Dovecot] cannot delete emails in inbox

2009-01-03 Thread JANE CUA
I am working on upgrading our current squirrelmail and replace uw-imap with dovecot.  I have what looks like a successful installation.  My current setup is: Centos 5.2 sendmail 8.13.8 dovecot 1.1.17 (imap) squirrelmail 1.4.17 I can send and receive email fine.  However when I try to delete an

[Dovecot] Warnings compiling on OpenBSD 4.4 i386

2009-01-03 Thread Peter Lindgren
Hi, probably just nothing to worry about, but I get the following warnings when building 1.1.7 on OpenBSD 4.4 on i386. If I remove the --with-bsdauth config option, they all disappear. I won't use it anyway, but maybe there are others. $ dmesg OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55

Re: [Dovecot] Default dirs in ./configure?

2009-01-03 Thread Peter Lindgren
Johan 'yosh' Marklund skrev: Isn't /usr/local/ the default to prevent collisions with dist. provided files? The binaries defaults to /usr/local, and distro's binaries defaults to /usr? Anyway, the config and state directories shouldn't matter if they are the same, right? /Peter -- Peter Lin

Re: [Dovecot] Default dirs in ./configure?

2009-01-03 Thread Johan 'yosh' Marklund
Isn't /usr/local/ the default to prevent collisions with dist. provided files? /yosh Peter Lindgren skrev: > Hi! > I try to build a new 1.1.7 installation. Since I'm not a large > sysadmin, just my own private mail server admin, I just wonder why the > sysconf and state dirs defaults to $prefix?

[Dovecot] Default dirs in ./configure?

2009-01-03 Thread Peter Lindgren
Hi! I try to build a new 1.1.7 installation. Since I'm not a large sysadmin, just my own private mail server admin, I just wonder why the sysconf and state dirs defaults to $prefix? Maybe I'm old-school, but isn't /etc and /var, respectively, a better default than /usr/local? Should require two

Re: [Dovecot] convert non-standard mbox to maildir

2009-01-03 Thread mouss
Maarten Bezemer a écrit : > Hi, > > On Sat, 3 Jan 2009, mouss wrote: > >> did you try: >> mb2md -R -s /path/to/your/pst/INBOX -d /path/to/Maildir > > I did not, but did now, and it didn't work... As expected, it creates > empty folders with the right name, containing sub folders named > 'mai

Re: [Dovecot] convert non-standard mbox to maildir

2009-01-03 Thread Maarten Bezemer
Hi, On Sat, 3 Jan 2009, mouss wrote: did you try: mb2md -R -s /path/to/your/pst/INBOX -d /path/to/Maildir I did not, but did now, and it didn't work... As expected, it creates empty folders with the right name, containing sub folders named 'mailbox' with the contents of the original

Re: [Dovecot] convert non-standard mbox to maildir

2009-01-03 Thread mouss
Maarten Bezemer a écrit : > Hi, > > Let me start with wishing you all the best for this new year, and I hope > we'll see a lot of new features and not so much new bugs ;-) > > I'm trying to convert a number of PSTs to maildir. Just plain drag&drop > in Outlook doesn't work (gives a very cryptic e

Re: [Dovecot] delivers mail to bad directory(prefix) using sieve filters

2009-01-03 Thread Darren Pilgrim
Timo Sirainen wrote: On Jan 1, 2009, at 12:05 PM, Radim Roska wrote: Squirrelmail does not allow to create folders without prefix. Really? No. There's a configurable setting that creates folders under INBOX by default; however, Squirrelmail can create top-level folders and sub-folders of

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Guillaume Hilt
Looks like using "As home" in the sql request corrected the problem :) Thanks Timo ;) Guillaume Hilt Guillaume Hilt a écrit : I'll try that. For the mail location, it's already the case : ~/.maildir Guillaume Hilt Timo Sirainen a écrit : "maildir" field isn't used for anything. Perhap

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Guillaume Hilt
I'll try that. For the mail location, it's already the case : ~/.maildir Guillaume Hilt Timo Sirainen a écrit : "maildir" field isn't used for anything. Perhaps there is some completely undocumented and unreliable code that makes use of it for pop3/imap, but it is used in no way by Sieve.

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Timo Sirainen
"maildir" field isn't used for anything. Perhaps there is some completely undocumented and unreliable code that makes use of it for pop3/imap, but it is used in no way by Sieve. Try something like: user_query = SELECT CONCAT('/home/vmail', maildir) AS home, 207 AS uid, 207 AS gid FROM mailb

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Guillaume Hilt
In dovecot-sql.conf user_query = SELECT CONCAT('/home/vmail/',maildir) AS maildir, 207 AS uid, 207 AS gid FROM mailbox WHERE username = '%u' So I'll have a complete path like /home/vmail/mydomain/myuser/. Guillaume Hilt Timo Sirainen a écrit : Where did you add that? You'll need to return

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Timo Sirainen
Where did you add that? You'll need to return a "home" field from user_query poiting to the sieve script directory. On Jan 3, 2009, at 10:35 AM, Guillaume Hilt wrote: Anyway, I correct the sql request by adding a concat with .home/ vmail/ and now I have the good home directory but the error s

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Guillaume Hilt
Anyway, I correct the sql request by adding a concat with .home/vmail/ and now I have the good home directory but the error still occurs. Setting sieve_global_dir didn't change anything. Guillaume Hilt Timo Sirainen a écrit : On Jan 3, 2009, at 10:21 AM, Guillaume Hilt wrote: Timo Sirain

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Timo Sirainen
On Jan 3, 2009, at 10:21 AM, Guillaume Hilt wrote: Timo Sirainen a écrit : On Jan 2, 2009, at 9:38 AM, Guillaume Hilt wrote: Jan 2 14:48:52 mail deliver(postmas...@adomain.fr): chdir(/root) failed: Permission denied .. Why does it look inside the /root folder for sieve configuration ? Y

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Guillaume Hilt
Timo Sirainen a écrit : On Jan 2, 2009, at 9:38 AM, Guillaume Hilt wrote: Jan 2 14:48:52 mail deliver(postmas...@adomain.fr): chdir(/root) failed: Permission denied .. Why does it look inside the /root folder for sieve configuration ? Your userdb returns /root as home directory. Show your

[Dovecot] convert non-standard mbox to maildir

2009-01-03 Thread Maarten Bezemer
Hi, Let me start with wishing you all the best for this new year, and I hope we'll see a lot of new features and not so much new bugs ;-) I'm trying to convert a number of PSTs to maildir. Just plain drag&drop in Outlook doesn't work (gives a very cryptic error message in a certain folder, b

Re: [Dovecot] delivers mail to bad directory(prefix) using sieve filters

2009-01-03 Thread Timo Sirainen
On Jan 1, 2009, at 12:05 PM, Radim Roska wrote: Squirrelmail does not allow to create folders without prefix. Really?

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Timo Sirainen
On Jan 2, 2009, at 9:38 AM, Guillaume Hilt wrote: Jan 2 14:48:52 mail deliver(postmas...@adomain.fr): chdir(/root) failed: Permission denied .. Why does it look inside the /root folder for sieve configuration ? Your userdb returns /root as home directory. Show your dovecot- sql.conf and e

Re: [Dovecot] Permission to distribute Dovecot run file

2009-01-03 Thread Timo Sirainen
On Jan 2, 2009, at 11:59 PM, Rick Widmer wrote: To follow the style of the toaster I need a place where I can obtain the init.d script from http://wiki.dovecot.org/DovecotInit I would prefer to have permission to host the file myself so I don't have to worry about creating patches if there

[Dovecot] Dot in user name. Was: Re: Apple patch 9

2009-01-03 Thread Giuliano Gavazzi
Sorry for sneaking in this thread, but it might be a reason for a patch on the Apple side. Up until 10.3.9 Server, and 10.4 Client, I used to be able to create users with short name containing a dot. The latest OS doesn't allow that easily (there seem to be some not so clean workarounds), but