[Dovecot] dovecot + LDAP-SASL ?

2007-08-07 Thread Hadmut Danisch
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 the LDAP do the SASL work and dovecot just pass SASL messages through?

Re: [Dovecot] dovecot + LDAP-SASL ?

2007-08-07 Thread Sergey A. Kobzar
Hi Hadmut, You can keep crypted passwords in LDAP also. See man (8) slappasswd: -h scheme If -h is specified, one of the following RFC 2307 schemes may be specified: {CRYPT}, {MD5}, {SMD5}, {SSHA}, and {SHA}. The default is {SSHA}. Note that scheme names may need to be

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 want

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 the LDAP

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] 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] 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 ?

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

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 the

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 additional changes

[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] 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 support

[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

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] 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 - --

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

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

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

[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

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

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:

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 signed

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

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

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

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't be

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: [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 copy files from

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

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

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] 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. 17

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 before he gets

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

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 bug. Try the

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-cvsm=118648637312063w=2 Great! Thank you very much. Bryan

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

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 cronjob

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 cronjob

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 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 just simply

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: snip protocol lda { mail_plugin= quota, cmusieve global_script_path =

[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 substring