Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 7 Aug 2007, Sebastian Ganschow wrote: /var/vmal/globalsieverc: require ["fileinto"]; # Move spam to spam folder if exists "X-Spam-Flag" { fileinto "spam"; # Stop here so that we do not reply on spams stop; } Is there anything else I need

[Dovecot] Dovecot 1.1alpha2 - (imap) killed with signal 10

2007-08-07 Thread Luca Corti
As promised, here is the bug report: # dovecot -n # 1.1.alpha2: /usr/local/etc/dovecot.conf protocols: imap pop3 ssl_cert_file: /etc/postfix/server.pem ssl_key_file: /etc/postfix/server.pem login_dir: /usr/local/var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login

[Dovecot] dovecot-sieve vacation changes

2007-08-07 Thread pod
I'd like to put forward the following patch for dovecot-sieve. Essentially this just merges in some changes made in CMU sieve 2.3.8 and as such brings the behaviour more in line with RFC 3834 "Recommendations for Automatic Responses to Electronic Mail": - fixes erroneous sender "-request" substr

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Sebastian Ganschow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Schetterer schrieb: > so do you have any idea why global sieve-filter file > does not work with your system? No I've got no idea. dovecot.conf: protocol lda { mail_plugin= quota, cmusieve global_script_path = /var/vmail/globa

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebastian Ganschow schrieb: > albinootje schrieb: >> am i missing something ? i am using postfixadmin+dovecot+dovecot-LDA and >> i thought the spam-folder gets created the moment there's spam to be >> delivered >> in the spam-folder > >> so why not ju

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Sebastian Ganschow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 albinootje schrieb: > am i missing something ? i am using postfixadmin+dovecot+dovecot-LDA and > i thought the spam-folder gets created the moment there's spam to be > delivered > in the spam-folder > > so why not just simply have a global sieve-file

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 albinootje schrieb: > Sebastian Ganschow wrote: > >> If the cronjob will be executed every minute, the chance for some >> mails getting in before the maildir has been created will be very >> low, because the created alias has to be synchronized to the

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread albinootje
Sebastian Ganschow wrote: > If the cronjob will be executed every minute, the chance for some > mails getting in before the maildir has been created will be very > low, because the created alias has to be synchronized to the > mailrelay first. This happens every 15 minutes. > > I think the cronjo

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Sebastian Ganschow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Udo Rader schrieb: > procmail for example could make you happy here (man procmailex). May be, but I'm using dovecots deliver. > another (more sane) option would be to write the list of newly created > users into a file/database/... and have a cronjo

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Charles Marcus
Why not just do this with a post-logon script? http://wiki.dovecot.org/PostLoginScripting This would only work, if the user logs in before he gets the first mail. Ahh, right, sorry... this would not be the best way anyway, since as someone else pointed out, the script would run every time t

Re: [Dovecot] OpenBSD and too many open files

2007-08-07 Thread Bryan Vyhmeister
On Aug 7, 2007, at 11:15 AM, Brad wrote: I already passed this around for review and it has been commited. http://marc.info/?l=openbsd-cvs&m=118648637312063&w=2 Great! Thank you very much. Bryan

Re: [Dovecot] OpenBSD and too many open files

2007-08-07 Thread Brad
On Tue, 7 Aug 2007 10:05:32 -0700 Bryan Vyhmeister <[EMAIL PROTECTED]> wrote: > On Aug 1, 2007, at 4:22 PM, Bryan Vyhmeister wrote: > > > On Aug 1, 2007, at 11:09 AM, Quentin Garnier wrote: > > > >> Well, the problem is Christos did some other stuff in that commit > >> than > >> just fixing the

Re: [Dovecot] What would you tell the CIO in an "ABCs of Email" overview?

2007-08-07 Thread Esther Schindler
The article is live... as part 1, anyway. As you'll soon see, it was impossible to do an ABCs of Email that covered both technology and people issues. So I've split these into two articles. I'll do the "POP vs IMAP" stuff separately... as soon as I recover from this one. I tried to make t

Re: [Dovecot] OpenBSD and too many open files

2007-08-07 Thread Bryan Vyhmeister
On Aug 7, 2007, at 10:29 AM, Quentin Garnier wrote: Well, I have not had a single instance of the "Too many files" error since. Everything is working smoothly. I'll see about getting the patch into OpenBSD if possible. I'll get that tutorial done as well. I'll send a mail to [EMAIL PROTECTED]

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Udo Rader
On Tue, 2007-08-07 at 19:22 +0200, Sebastian Ganschow wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Charles Marcus schrieb: > > > > Why not just do this with a post-logon script? > > > > http://wiki.dovecot.org/PostLoginScripting > > This would only work, if the user logs in bef

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Sebastian Ganschow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles Marcus schrieb: > > Why not just do this with a post-logon script? > > http://wiki.dovecot.org/PostLoginScripting This would only work, if the user logs in before he gets the first mail. Sebastian - -- Sebastian Ganschow Königsberger Str.

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Sebastian Ganschow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott Silva schrieb: > What are you using to create users? > MAybe you could add something to the user creation system. I'm using postfixAdmin but I don't want to modify it. Sebastian - -- Sebastian Ganschow Königsberger Str. 17 45770 Marl Germany

Re: [Dovecot] OpenBSD and too many open files

2007-08-07 Thread Bryan Vyhmeister
On Aug 1, 2007, at 4:22 PM, Bryan Vyhmeister wrote: On Aug 1, 2007, at 11:09 AM, Quentin Garnier wrote: Well, the problem is Christos did some other stuff in that commit than just fixing the bug. Try the attached patch. Thank you for the patch. It applied cleanly and I have a kernel tha

Re: [Dovecot] vfile ACL's

2007-08-07 Thread Benjamin R. Haskell
On Sun, 5 Aug 2007, Timo Sirainen wrote: On Fri, 2007-08-03 at 09:34 -0400, Benjamin R. Haskell wrote: (Sorry for the impatience. This was one of several questions in my email from yesterday. I thought I might have better luck being more direct.) Is there a way to set ACL's, using the vfile b

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Scott Silva
Sebastian Ganschow spake the following on 8/7/2007 9:38 AM: > Patrick Ben Koetter schrieb: >> * Sebastian Ganschow <[EMAIL PROTECTED]>: >>> Peter Hessler schrieb: If your OS uses /etc/skel to build new users from (many do), you can create it there. Most OSs that use /etc/skel merely cop

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Charles Marcus
That's no problem either. The question is: Are you looking for an automated process or does "cp -a template_maildir/ /srv/mail/newuser/" the job? It should be automated. A possible solution would be a cronjob, which checks every few minutes if there is a new user without a maildir. But this re

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Sebastian Ganschow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Ben Koetter schrieb: > * Sebastian Ganschow <[EMAIL PROTECTED]>: >> Peter Hessler schrieb: >>> If your OS uses /etc/skel to build new users from (many do), you can >>> create it there. Most OSs that use /etc/skel merely copy files from >>> t

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Patrick Ben Koetter
* Sebastian Ganschow <[EMAIL PROTECTED]>: > > Peter Hessler schrieb: > > If your OS uses /etc/skel to build new users from (many do), you can > > create it there. Most OSs that use /etc/skel merely copy files from > > there, then chown them to the appropriate user and group. Perms > > shouldn

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Mike Brudenell
Greetings - On 7 Aug 2007, at 14:36, Nicolas STRANSKY wrote: In fact the patch applies well, dovecot compiles well, but rquota is still not functionnal. I have this in config.log: HAVE_RQUOTA_FALSE='#' HAVE_RQUOTA_TRUE='' #define HAVE_RQUOTA But there is no RPC string in quota-fs.o. Where am I

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Sebastian Ganschow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Hessler schrieb: > If your OS uses /etc/skel to build new users from (many do), you can > create it there. Most OSs that use /etc/skel merely copy files from > there, then chown them to the appropriate user and group. Perms > shouldn't be m

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Peter Hessler
If your OS uses /etc/skel to build new users from (many do), you can create it there. Most OSs that use /etc/skel merely copy files from there, then chown them to the appropriate user and group. Perms shouldn't be modified. On 2007 Aug 07 (Tue) at 14:37:03 +0200 (+0200), Sebastian Ganschow w

Re: [Dovecot] Best way to change PACKAGE_STRING & VERSION_STRING

2007-08-07 Thread Timo Sirainen
On Tue, 2007-08-07 at 07:58 -0500, David Favor wrote: > Let me know the best way to change the source tree > to add in a time to be output from 'dovecot --version'. I think the only way to do that is to modify config.h after configure is run. signature.asc Description: This is a digitally signe

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Nicolas STRANSKY
In fact the patch applies well, dovecot compiles well, but rquota is still not functionnal. I have this in config.log: HAVE_RQUOTA_FALSE='#' HAVE_RQUOTA_TRUE='' #define HAVE_RQUOTA But there is no RPC string in quota-fs.o. Where am I wrong ? -- Nico

Re: [Dovecot] Maildir Skeleton

2007-08-07 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 7 Aug 2007, Sebastian Ganschow wrote: I'd like to prepare a skeleton for the users maildir to create i.e. a spam folder and a sieve file per default. Is there any chance to realize this with dovecot? Try: http://wiki.dovecot.org/PostLog

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Mike Brudenell
Greetings - On 7 Aug 2007, at 13:54, Stewart Dean wrote: Sorry to be so clueless, but all the activity about rquotad drives me to admit my puzzlement (or ignorance)... I run rquotad on my mail server that also runs DCrquotad is used by the other 3 hosts (a login/FTP server, a mailing lis

[Dovecot] Best way to change PACKAGE_STRING & VERSION_STRING

2007-08-07 Thread David Favor
Let me know the best way to change the source tree to add in a time to be output from 'dovecot --version'. I've tried the following with no success: mkdir -p /build/work/dovecot-1.1alpha2 cd /build/work/dovecot-1.1alpha2 export LDFLAGS='-L/common/pkgs/sqlite-3.4.1.1/lib64 -R/common/pkgs/sqlite-

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Cor Bosman
> Sorry to be so clueless, but all the activity about rquotad drives me to > admit my puzzlement (or ignorance)... > I run rquotad on my mail server that also runs DCrquotad is used by > the other 3 hosts (a login/FTP server, a mailing list server and a user > mgmnt server) that NFS mount th

Re: [Dovecot] Latest 1.1 tree build failure

2007-08-07 Thread David Favor
Timo Sirainen wrote: On Tue, 2007-08-07 at 07:23 -0500, David Favor wrote: Suggestions of how to fix this? mkdir -p /build/work/dovecot-1.1-alpha1 cd /build/work/dovecot-1.1-alpha1 export LDFLAGS='-L/common/pkgs/sqlite-3.4.1.1/lib64 -R/common/pkgs/sqlite-3.4.1.1/lib64' export CPPFLAGS='-pipe -

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Stewart Dean
Sorry to be so clueless, but all the activity about rquotad drives me to admit my puzzlement (or ignorance)... I run rquotad on my mail server that also runs DCrquotad is used by the other 3 hosts (a login/FTP server, a mailing list server and a user mgmnt server) that NFS mount the folder a

Re: [Dovecot] Latest 1.1 tree build failure

2007-08-07 Thread Timo Sirainen
On Tue, 2007-08-07 at 07:23 -0500, David Favor wrote: > Suggestions of how to fix this? > > mkdir -p /build/work/dovecot-1.1-alpha1 > cd /build/work/dovecot-1.1-alpha1 > export LDFLAGS='-L/common/pkgs/sqlite-3.4.1.1/lib64 > -R/common/pkgs/sqlite-3.4.1.1/lib64' > export CPPFLAGS='-pipe -O2 -I/comm

[Dovecot] Maildir Skeleton

2007-08-07 Thread Sebastian Ganschow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm setting up a new mailserver with postfix and Dovecot. I'd like to prepare a skeleton for the users maildir to create i.e. a spam folder and a sieve file per default. Is there any chance to realize this with dovecot? Regards Sebastian - -- S

Re: [Dovecot] dovecot + LDAP-SASL ?

2007-08-07 Thread Hadmut Danisch
Timo Sirainen wrote: > > For plaintext authentication you can use authentication binds and have > the password stored on LDAP side in any way you want. > > For non-plaintext authentication Dovecot needs the secret in plaintext > or some other specific format. LDAP doesn't support "SASL forwarding"

[Dovecot] v1.1.alpha2 released

2007-08-07 Thread Timo Sirainen
http://dovecot.org/releases/1.1/alpha/dovecot-1.1.alpha2.tar.gz http://dovecot.org/releases/1.1/alpha/dovecot-1.1.alpha2.tar.gz.sig Hopefully the next release can be v1.1.beta1. I'm not aware of any major problems and I think I'm pretty much done with new features (except for dbox). The largest c

[Dovecot] Latest 1.1 tree build failure

2007-08-07 Thread David Favor
Suggestions of how to fix this? mkdir -p /build/work/dovecot-1.1-alpha1 cd /build/work/dovecot-1.1-alpha1 export LDFLAGS='-L/common/pkgs/sqlite-3.4.1.1/lib64 -R/common/pkgs/sqlite-3.4.1.1/lib64' export CPPFLAGS='-pipe -O2 -I/common/pkgs/sqlite-3.4.1.1/include' unset CDPATH make distclean ./confi

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Joseba Torre
It's also working here. In my RHEL4, make crashed because it didn't get any value for SED. export SED=/bin/sed before autoconf solved the issue, and now it up and running. Thanks a lot! Agur. El Martes, 7 de Agosto de 2007 13:17, Nicolas STRANSKY escribió: > Le 07.08.2007 12:37,

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Nicolas STRANSKY
Le 07.08.2007 12:37, Mike Brudenell a écrit : > Greetings - > > On 7 Aug 2007, at 11:28, Nicolas STRANSKY wrote: > >> OK, thanks for the answer, but unfortunately, these don't apply well to >> 1.0.3.. > > They applied just fine to 1.0.3 here. You are right, they applied just fine, I just couldn

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Mike Brudenell
Greetings - On 7 Aug 2007, at 11:28, Nicolas STRANSKY wrote: OK, thanks for the answer, but unfortunately, these don't apply well to 1.0.3.. They applied just fine to 1.0.3 here. I started off with pristine copies of the files from the 1.0.3 distribution then applied the patches using

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Nicolas STRANSKY
Le 07.08.2007 10:36, Timo Sirainen a écrit : > On Tue, 2007-08-07 at 10:29 +0200, Nicolas STRANSKY wrote: >> Le 06.08.2007 18:08, Timo Sirainen a écrit : >> >> So both http://hg.dovecot.org/dovecot/rev/078d9dde99c8 and >> http://hg.dovecot.org/dovecot/rev/abec53314897 are needed to have rquota >> s

[Dovecot] Dovecot 1.0.3: mbox problems for newly created users

2007-08-07 Thread Bernd Kuhls
Hi, I am having problems with Dovecot 1.0.3 and Thunderbird 2.0.0.6 when using a new user account without any mbox files present. Directory /home/$user/.imap_mail/ does not exist when Thunderbird first tries to login using IMAP to the account. On login this directory is created with a zero byte

Re: [Dovecot] OT: Re: Ideas for Webmail/OTP

2007-08-07 Thread Timo Sirainen
On Tue, 2007-08-07 at 11:54 +0200, Steffen Kaiser wrote: > > configuration from operating system. If you have a pam module for an > > electronic one-time > > password generator you can use it with IMAP and webmail without additional > > changes in > > IMAP- or webmail-server. > > "without additi

[Dovecot] OT: Re: Ideas for Webmail/OTP

2007-08-07 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 7 Aug 2007, Frank Behrens wrote: Of course, this is more sophisticated and more expensive. My proposol uses OPIE - One- time Passwords In Everything. But remember: With my proposal you use always the login Ah, OK. configuration from o

Re: [Dovecot] Ideas for Webmail/OTP

2007-08-07 Thread Frank Behrens
Steffen Kaiser <[EMAIL PROTECTED]> wrote on 7 Aug 2007 10:26: > You mean, the client issues LOGIN (with a dummy password), because Dovecot > needs to aquire the OTP challenge first, this LOGIN attempt is failed, > but the username can be used to aquire the OTP challenge. It is reported > back, via

Re: [Dovecot] A few dovecot 1.1 bugs - sort, flag reset and etc.

2007-08-07 Thread Timo Sirainen
On Sat, 2007-08-04 at 11:25 -0400, wenjie zheng wrote: > BUG #2: Some flags are reset after they were set a while ago, > like messages that has been read are randomly becoming unread again. Fixed: http://hg.dovecot.org/dovecot/rev/65e12fa51d4d signature.asc Description: This is a digitally sign

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Timo Sirainen
On Tue, 2007-08-07 at 10:29 +0200, Nicolas STRANSKY wrote: > Le 06.08.2007 18:08, Timo Sirainen a écrit : > > So both http://hg.dovecot.org/dovecot/rev/078d9dde99c8 and > http://hg.dovecot.org/dovecot/rev/abec53314897 are needed to have rquota > support with 1.0.x or is there anything else ? http

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Nicolas STRANSKY
Le 06.08.2007 18:08, Timo Sirainen a écrit : So both http://hg.dovecot.org/dovecot/rev/078d9dde99c8 and http://hg.dovecot.org/dovecot/rev/abec53314897 are needed to have rquota support with 1.0.x or is there anything else ? Thanks -- Nico

Re: [Dovecot] Ideas for Webmail/OTP

2007-08-07 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 23 Jul 2007, Frank Behrens wrote: Solution 1: When PAM is configured for IMAP the user can use a one-time-password in the same way as before. The problem is, that the user must know the sequence number for the password (otp challenge), so

Re: [Dovecot] dovecot + LDAP-SASL ?

2007-08-07 Thread Timo Sirainen
On Tue, 2007-08-07 at 08:38 +0200, Hadmut Danisch wrote: > Hi, > > just a question: > > I know that dovecot supports SASL authentication and supports LDAP. > Which means that dovecot performs the SASL methods itself and stores the > plaintext secret on LDAP. > > But it is also possible to have t

Re: [Dovecot] Subfolders

2007-08-07 Thread Christian Schmidt
Hello Azher, Azher Amin, 05.08.2007 (d.m.y): > Thnx for the replies. I am using 1.0.2 and mbox, but from which option > you choose that this folder will have subfolders or will it contain only > files ?? I used the New SubFolder Option. Our mail server is running with mbox files. Whenever I wa