Re: Dovecot auth username mapping

2015-07-01 Thread Philon
Hi Laz, I’m just wondering… why are you using LDAP and/or PAM to access the MySQL server? If also the password is stored in the db you could use MySQL directly? Because then you could use password_query and user_query to actually split the provided email address into name and domain parts. Then

Re: duplicate namespace prefix

2015-07-01 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 2 Jul 2015, Daniel Tröder wrote: Am 02.07.2015 um 00:51 schrieb jjhoffart: Hello, I am in the process of setting up a server that is running to invocations of dovecot. One of the invocations is acting as a backend and the other as

Re: Dovecot auth username mapping

2015-07-01 Thread Peter Chiochetti
Am 2015-07-02 um 01:41 schrieb Laz C. Peterson: I did attempt to switch the PAM/Kerberos authentication to Dovecot LDAP authentication, but now performance is unbelievably slow. Any thoughts to this? In case you have multiple passdb backends, it could be, that LDAP only gets its chance, after

Re: duplicate namespace prefix

2015-07-01 Thread Daniel Tröder
Am 02.07.2015 um 00:51 schrieb jjhoffart: > Hello, > I am in the process of setting up a server that is running to > invocations of dovecot. One of the invocations is acting as a backend and the > other as a Director. I believe I have most of the configuration complete but > I keep running

Re: Using PAM and passwdfile together

2015-07-01 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 1 Jul 2015, Jim Garrison wrote: I have some local users and some Postfix virtual mailboxes. The config currently has: # 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-504.12.2.el6.x86_64 x86_64 CentOS release 6.6 (Final) passdb {

Re: Dovecot auth username mapping

2015-07-01 Thread Laz C. Peterson
It’s actually unbelievable how much slower LDAP auth is than PAM. Does anyone have any suggestions how I can improve Dovecot LDAP auth? I have tried caching authentications and that doesn’t help either. ~ Laz Peterson Paravis, LLC Ph: 951.319.3240 x201 > On Jul 1, 2015, at 4:41 PM, Laz C. Pet

Re: Dovecot auth username mapping

2015-07-01 Thread Laz C. Peterson
Thank you for the response Axel. I will look into that. I did attempt to switch the PAM/Kerberos authentication to Dovecot LDAP authentication, but now performance is unbelievably slow. For example, with PAM/Kerberos, a user can log into webmail and have all of their emails/folders showing al

duplicate namespace prefix

2015-07-01 Thread jjhoffart
Hello, I am in the process of setting up a server that is running to invocations of dovecot. One of the invocations is acting as a backend and the other as a Director. I believe I have most of the configuration complete but I keep running into the following error: Jul 01 14:17:04 lda(po

Re: dovecot-lmtp

2015-07-01 Thread Steven Hopps
I have solved the issue, I had to add mailbox_transport to main.cf, and I had to add auth_username_format = %Ln to dovecot.conf to fix the "Unrecognized User" errors. It's now working! Steven Hopps || sho...@pridetechdesign.com 424-888-0443 || http://www.pridetechdesign.com = Ask about my Sec

Re: Dovecot auth username mapping

2015-07-01 Thread Axel Luttgens
> Le 1 juil. 2015 à 04:38, Laz C. Peterson > a écrit : > > I have an interesting case here … > > Virtual mailboxes, domain/username/aliases stored in MySQL, authentication > done using PAM. PAM authenticates through Kerberos, which are internal > realms and not the email domains — for exampl

Using PAM and passwdfile together

2015-07-01 Thread Jim Garrison
Dovecot 2.0.9 on Centos 6.6 I have some local users and some Postfix virtual mailboxes. The config currently has: > # 2.0.9: /etc/dovecot/dovecot.conf > # OS: Linux 2.6.32-504.12.2.el6.x86_64 x86_64 CentOS release 6.6 (Final) > first_valid_uid = 190 > log_path = /var/log/dovecot.log > mail_access

Re: dovecot-lmtp

2015-07-01 Thread Steven Hopps
I apologize for the multiple emails, I forgot to mention that when I added a mailbox_transport line, suddenly the log started showing lmtp entries, however everything was bouncing (I did mention the bouncing.) When I removed that line, it works again, but now the log does not show any lmtp ent

Re: dovecot-lmtp

2015-07-01 Thread Steven Hopps
I tried copying virtual_transport to mailbox_transport and started receiving user unknown and no such user errors. Current configuration output follows: virtual_transport = lmtp:unix:private/dovecot-lmtp mailbox_transport = # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-4-amd64 x86_64 De

Re: dovecot-lmtp

2015-07-01 Thread Pascal Volk
On 07/01/2015 02:28 PM, Steven Hopps wrote: > Hi, I'm trying to use dovecot-lmtp so that I can filter messages with > sieve, however it doesn't appear to be working. > > I followed the instructions on wiki2.dovecot.org. I'm running Debian > Wheezy. I've got runit configured to execute postfix an

dovecot-lmtp

2015-07-01 Thread Steven Hopps
Hi, I'm trying to use dovecot-lmtp so that I can filter messages with sieve, however it doesn't appear to be working. I followed the instructions on wiki2.dovecot.org. I'm running Debian Wheezy. I've got runit configured to execute postfix and dovecot, which may be the source of the problem (r

Re: Dovecot deleting files and directories

2015-07-01 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 1 Jul 2015, Jan Ekholm wrote: The log file is not really too informative, mostly lines of this form: Jul 01 14:00:36 imap(operators-east@east.domain.x): Debug: Namespace : /opt/mail/operators-east doesn't exist yet, using default permissio

Dovecot deleting files and directories

2015-07-01 Thread Jan Ekholm
Hi, I’m a new Dovecot user and using version 2.2.18 on an OpenSuse system. In general it all works quite nicely and clients can connect to Dovecot and manage mails normally. The layout used is maildir. The users are all virtual, i.e. they do not exist on the Linux system. They all log in withou