Re: [Dovecot] zlib plugin bug?

2013-03-11 Thread Angel L. Mateo
El 08/03/13 14:13, Jan Phillip Greimann escribió: Hi there, got a problem with the zlib plugin, just wanted to test it on a test-mailserver, configured like in the wiki (http://wiki2.dovecot.org/Plugins/Zlib) and restarted the server. I've send an email to a blank maildir++ mailbox, the file is

[Dovecot] 2.2rc2 core dump

2013-03-11 Thread Heiko Schlichting
Hi, using dovecot 2.2rc2 I got core dumps during IMAP subscription change if the CONTROL directory (specified in mail_location) does not exists. userdb_mail: mbox:~/Test:INBOX=~/Test/heiko:INDEX=~/.imap/index:CONTROL=~/.imap/control If ~/.imap/control does not exists, dovecot crashes. See

Re: [Dovecot] zlib plugin bug?

2013-03-11 Thread Jan Phillip Greimann
Am 11.03.2013 08:05, schrieb Angel L. Mateo: zlib plugin doesn't put any flag in messages. The Z flag mentioned in the wiki is one you could put if your are compressing an existing mailbox in order to know which files you have previously compressed. Thank you. I noticed later that there is

[Dovecot] Random questions on backing up Dovecot

2013-03-11 Thread Tabbed Out
Hi, I've read a few threads about the subject, but I am hoping someone can comment on a few misunderstandings that I might have? It seems like doing a tar of the mail folder location then rsyncing it over to the backup location is the general idea. I plan to have dovecot create 6 virtual users

[Dovecot] Integrating with Drupal SQL db

2013-03-11 Thread info
Hi I'm trying to get Dovecot to use Drupal users password for authenticating IMAP users. But I just cant figure out how to make Dovecot understand the password hash type that Drupal 7 is using. My example user with password Teacher1 looks like this in Drupal database:

Re: [Dovecot] Integrating with Drupal SQL db

2013-03-11 Thread l...@airstreamcomm.net
On 3/11/13 11:57 AM, i...@stos.se wrote: Hi I'm trying to get Dovecot to use Drupal users password for authenticating IMAP users. But I just cant figure out how to make Dovecot understand the password hash type that Drupal 7 is using. My example user with password Teacher1 looks like this in

Re: [Dovecot] Integrating with Drupal SQL db

2013-03-11 Thread Andreas Meyer
i...@stos.se wrote: Hi I'm trying to get Dovecot to use Drupal users password for authenticating IMAP users. But I just cant figure out how to make Dovecot understand the password hash type that Drupal 7 is using. My example user with password Teacher1 looks like this in Drupal database:

[Dovecot] doveadm password check

2013-03-11 Thread Thomas Pries
Hi, I want to write some php code that users can change there dovecot password via a roundcube plugin. I'm using php function crypt(...) to generate the hashes and everything works well so far. I'm using doveadm pw to generate testhashes e.g.: srv:~ # doveadm pw -r 5 -s BLF-CRYPT -p abc

Re: [Dovecot] Integrating with Drupal SQL db

2013-03-11 Thread Andreas Meyer
Hello! I took the thread back to the list. Tobias Rådenholt tobias.radenh...@stos.se wrote: I think it is ssha512 hashing. It's not stos.se that's affected. It's swedishschoolinsydney.org.au Just found this: capabilities are 'IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS

Re: [Dovecot] doveadm password check

2013-03-11 Thread Professa Dementia
On 3/11/2013 12:20 PM, Thomas Pries wrote: Hi, I want to write some php code that users can change there dovecot password via a roundcube plugin. I'm using php function crypt(...) to generate the hashes and everything works well so far. I'm using doveadm pw to generate testhashes e.g.: srv:~

Re: [Dovecot] doveadm password check

2013-03-11 Thread Pascal Volk
On 03/11/2013 08:20 PM Thomas Pries wrote: Hi, I want to write some php code that users can change there dovecot password via a roundcube plugin. I'm using php function crypt(...) to generate the hashes and everything works well so far. I'm using doveadm pw to generate testhashes

Re: [Dovecot] doveadm password check

2013-03-11 Thread Thomas Pries
Hi, On 11.03.2013 22:41, Pascal Volk wrote: On 03/11/2013 08:20 PM Thomas Pries wrote: I expected an ok ... Usage would be: doveadm pw -t '{BLF-CRYPT}$2a$05$W82/Vw4ZEcHBC00M8cNwe.g8fOHuAeV7L5Q/q4W6VWl9V5kjoiz8y' Your shell expands $2a and $05$W8… to empty strings Thanks, sometimes

Re: [Dovecot] Integrating with Drupal SQL db

2013-03-11 Thread Patrick Domack
The issue is, drupal uses a custom password format. You could rewrite the password hashs that drupal uses, into a normal crypt ssha256 version, that dovecot will understand, but it will probably going be much easier, to just program it into dovecot to support it.

[Dovecot] dovecot virtual user 'unknown'...

2013-03-11 Thread Dr Michael Daly
Hi I have a problem whereby Dovecot 1.0.7 is reporting that a recently setup virtual user in /etc/dovecot_passdb is 'unknown'. I have been trying to setup the user 'info' in a plaintext passwd-file /etc/dovecot_passdb as a virtual user, ie non system user. I suspect I have not properly setup

Re: [Dovecot] Integrating with Drupal SQL db

2013-03-11 Thread info
Do you have any clue on how to rewrite Dovecot to support Drupal 7 hashes? I have a feeling this is going to become over my head. Regards Tobias On Mon, 11 Mar 2013 20:40:16 -0400, Patrick Domack patric...@patrickdk.com wrote: The issue is, drupal uses a custom password format. You could

Re: [Dovecot] Integrating with Drupal SQL db

2013-03-11 Thread info
Hi! I dont know if thats related. The specific error message in the log is that the hash is not a valid one. Regards Tobias On Mon, 11 Mar 2013 20:38:39 +0100, Andreas Meyer anme...@anup.de wrote: Hello! I took the thread back to the list. Tobias Rådenholt tobias.radenh...@stos.se

Re: [Dovecot] Integrating with Drupal SQL db

2013-03-11 Thread info
Hi again, this is what I've found regarding how Drupal 7 hashes. $hash = md5($salt . $password, TRUE); do { $hash = md5($hash . $password, TRUE); } while (--$count); The whole final hash value is encoded into 16 base64 characters and prepended by an identifying string, the standard phpass

[Dovecot] stats plugins causing dns lookup per connection

2013-03-11 Thread Kelsey Cummings
I noticed our imap servers were generating a lot of A record lookups for their own IP's the other day and just got around to tracking down the source. Seems like they are all being caused by guid_128_generate() - perhaps the lookup could be cached at start up or it could just use make use of the