Re: [Dovecot] Questions about Proxy/Director

2011-11-24 Thread Patrick Westenberg
Jan-Frode Myklebust schrieb: We use a clusterfs (so it's not very important which backend server the user is directed to), and have configured the dovecot director with: director_mail_servers = 192.168.42.7 192.168.42.8 192.168.42.9 192.168.42.10 192.168.42.11 192.168.42.28 192.168.42.

Re: [Dovecot] How to create home directories for virtual users?

2011-11-24 Thread Olli Räisänen
Timo Sirainen kirjoitti 2011-11-24 kello 21:29:46: > > It would be better if you used PostfixAdmin's "maildir" field as the > home directory, and then mail_location=~/Maildir. Thank you, Timo! (And thank you, Tom, for the simplification example!) I never thought ~/Maildir could refer to anythin

Re: [Dovecot] v2.1.rc1 released

2011-11-24 Thread Noel Butler
On Thu, 2011-11-24 at 21:35 +0100, Miguel Tormo wrote: > El Jueves, 24 de Noviembre de 2011 20:25:47 Timo Sirainen escribió: > > I'm not sure if changing /etc/security/limits.conf helps. It's probably > > only used by PAM when user logs in, so if Dovecot is started in system > > bootup it's unlike

Re: [Dovecot] v2.1.rc1 released

2011-11-24 Thread Miguel Tormo
El Jueves, 24 de Noviembre de 2011 20:25:47 Timo Sirainen escribió: > I'm not sure if changing /etc/security/limits.conf helps. It's probably > only used by PAM when user logs in, so if Dovecot is started in system > bootup it's unlikely to have been even read yet. Also I think some OSes > override

Re: [Dovecot] How to create home directories for virtual users?

2011-11-24 Thread Tom Hendrikx
On 24-11-11 20:29, Timo Sirainen wrote: > On Thu, 2011-11-24 at 21:23 +0200, Olli Räisänen wrote: >> Tom Hendrikx kirjoitti 2011-11-24 kello 18:13:47: >>> >>> How about using /srv/vmail/%d/%n for homedir, and /srv/vmail/%d/%n/mail >>> as mailstore? >> >> Well, yes - at least the home directory will

Re: [Dovecot] How to create home directories for virtual users?

2011-11-24 Thread Timo Sirainen
On Thu, 2011-11-24 at 21:23 +0200, Olli Räisänen wrote: > Tom Hendrikx kirjoitti 2011-11-24 kello 18:13:47: > > > > How about using /srv/vmail/%d/%n for homedir, and /srv/vmail/%d/%n/mail > > as mailstore? > > Well, yes - at least the home directory will be created that way. Still, > PostfixAdmi

Re: [Dovecot] v2.1.rc1 released

2011-11-24 Thread Timo Sirainen
On Thu, 2011-11-24 at 19:23 +0100, Miguel Tormo wrote: > The fd limit is the maximum number of concurrently open file descriptors per > process. It can be configured on a per-user basis. > You can check the actual value running 'ulimit -n'. It can be increased up to > the value set in /proc/sys/

Re: [Dovecot] How to create home directories for virtual users?

2011-11-24 Thread Olli Räisänen
Tom Hendrikx kirjoitti 2011-11-24 kello 18:13:47: > > How about using /srv/vmail/%d/%n for homedir, and /srv/vmail/%d/%n/mail > as mailstore? Well, yes - at least the home directory will be created that way. Still, PostfixAdmin will not store the path in the maibox table home field. Perhaps it

Re: [Dovecot] v2.1.rc1 released

2011-11-24 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel Tormo said the following on 24/11/11 19:23: > The fd limit is the maximum number of concurrently open file descriptors > per process. It can be configured on a per-user basis. You can check the > actual value running 'ulimit -n'. It can be inc

Re: [Dovecot] v2.1.rc1 released

2011-11-24 Thread Miguel Tormo
El Jueves, 24 de Noviembre de 2011 19:04:12 Luigi Rosa escribió: > Timo Sirainen said the following on 24/11/11 01:46: > > > http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc1.tar.gz > > Works as advertised. > > I noticed this warining: > > Warning: fd limit (ulimit -n) is lower than required u

Re: [Dovecot] v2.1.rc1 released

2011-11-24 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 24/11/11 01:46: > http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc1.tar.gz Works as advertised. I noticed this warining: Warning: fd limit (ulimit -n) is lower than required under max. load (1024 < 4096), becaus

Re: [Dovecot] Problem with lmtp proxy

2011-11-24 Thread Miguel Tormo
El Jueves, 24 de Noviembre de 2011 17:58:40 Timo Sirainen escribió: > On Thu, 2011-11-24 at 17:11 +0100, Miguel Tormo wrote: > > I think I'm missing something but I can't find what it is. To summarize: > > with lmtp_proxy = no it does work, with lmtp_proxy = yes it doesn't. Thank > > you for your

Re: [Dovecot] Problem with lmtp proxy

2011-11-24 Thread Timo Sirainen
On Thu, 2011-11-24 at 17:11 +0100, Miguel Tormo wrote: > I think I'm missing something but I can't find what it is. To summarize: with > lmtp_proxy = no it does work, with lmtp_proxy = yes it doesn't. Thank you for > your help! The problem is: > ** cat dovecot-ldap.conf.ext

Re: [Dovecot] Problem with lmtp proxy

2011-11-24 Thread Eduardo Casarero
2011/11/24 Miguel Tormo > El Jueves, 24 de Noviembre de 2011 17:11:11 Miguel Tormo escribió: > > dn = cn=binduser,cn=Users,dc=edicom,dc=es > > Obviously this part should be "dn = cn=binduser,cn=Users,dc=domain,dc=com" > to be coherent with the rest. I replace the real domain and user names > used

Re: [Dovecot] Problem with lmtp proxy

2011-11-24 Thread Miguel Tormo
El Jueves, 24 de Noviembre de 2011 17:11:11 Miguel Tormo escribió: > dn = cn=binduser,cn=Users,dc=edicom,dc=es Obviously this part should be "dn = cn=binduser,cn=Users,dc=domain,dc=com" to be coherent with the rest. I replace the real domain and user names used, but forgot this part :S.

Re: [Dovecot] How to create home directories for virtual users?

2011-11-24 Thread Tom Hendrikx
On 24-11-11 10:22, Olli Räisänen wrote: > Hello, > > I,m using Dovecot 1.2.9, now finishing a migration from Courier IMAP. > Documentation (http://wiki.dovecot.org/VirtualUsers/Home) says that home > directory should not be the same as mail directory. When I create new user > accounts with Post

[Dovecot] Problem with lmtp proxy

2011-11-24 Thread Miguel Tormo
Hello everyone, I have set up postfix to deliver mails to dovecot (2.0.16) using LMTP. On the other hand, I've successfully configured the IMAP proxy setting in dovecot in order to be able to distribute mailboxes among different servers. I wanted to do the same proxy at LMTP level, but it's not

Re: [Dovecot] How to create home directories for virtual users?

2011-11-24 Thread Joseba Torre
El 24/11/11 15:42, Simon Brereton escribió: On Nov 24, 2011 4:22 AM, "Olli Räisänen" wrote: Hello, I,m using Dovecot 1.2.9, now finishing a migration from Courier IMAP. Documentation (http://wiki.dovecot.org/VirtualUsers/Home) says that home directory should not be the same as mail directory.

Re: [Dovecot] How to create home directories for virtual users?

2011-11-24 Thread Timo Sirainen
On 24.11.2011, at 16.42, Simon Brereton wrote: >> Documentation (http://wiki.dovecot.org/VirtualUsers/Home) says that home > > Why do you need a home directory for virtual users? It says right there in the wiki.

Re: [Dovecot] POP - preventing re-download with server move

2011-11-24 Thread Robert Schetterer
Am 24.11.2011 15:46, schrieb Trutwin, Joshua: > Hi, > > Curious if anyone has any good suggestions to handle this. > > I try to get my hosting users to use IMAP but most use Outhouse and > the IMAP support is somewhat annoying for many so I typically have > them change their settings when using P

[Dovecot] POP - preventing re-download with server move

2011-11-24 Thread Trutwin, Joshua
Hi, Curious if anyone has any good suggestions to handle this. I try to get my hosting users to use IMAP but most use Outhouse and the IMAP support is somewhat annoying for many so I typically have them change their settings when using POP to leave copies on the server. That way when they get th

Re: [Dovecot] How to create home directories for virtual users?

2011-11-24 Thread Simon Brereton
On Nov 24, 2011 4:22 AM, "Olli Räisänen" wrote: > > Hello, > > I,m using Dovecot 1.2.9, now finishing a migration from Courier IMAP. > Documentation (http://wiki.dovecot.org/VirtualUsers/Home) says that home > directory should not be the same as mail directory. When I create new user > accounts wi

Re: [Dovecot] Questions about Proxy/Director (was: Re: Indexes to MLC-SSD)

2011-11-24 Thread Jan-Frode Myklebust
On Thu, Nov 24, 2011 at 02:35:55PM +0100, Patrick Westenberg wrote: > > - What happens if the MTA accepted a message but the backend-server > fails and is unable to store it? Your MTA will be notified about the failure trough SMTP/LMTP error codes, and retry if it was a temp-failure. > - What ab

Re: [Dovecot] modules directory

2011-11-24 Thread Johannes Berg
On Thu, 2011-11-24 at 16:15 +0200, Timo Sirainen wrote: > On 24.11.2011, at 16.13, Johannes Berg wrote: > > >>> Should I install into just $(moduledir)/ now? > >> > >> Yep. > > > > Alright, thanks! Do you remember if that would be compatible with older > > versions as well, or do those require i

Re: [Dovecot] modules directory

2011-11-24 Thread Timo Sirainen
On 24.11.2011, at 16.13, Johannes Berg wrote: >>> Should I install into just $(moduledir)/ now? >> >> Yep. > > Alright, thanks! Do you remember if that would be compatible with older > versions as well, or do those require it being in /imap/? What changed was that the default mail_plugin_dir ch

Re: [Dovecot] modules directory

2011-11-24 Thread Johannes Berg
On Thu, 2011-11-24 at 16:02 +0200, Timo Sirainen wrote: > On 24.11.2011, at 15.11, Johannes Berg wrote: > > > I'm a little confused with how plugin loading works in dovecot 2, I > > can't seem to make it load from $(moduledir)/imap/. Is that intended to > > work? Just a configuration issue? > > >

Re: [Dovecot] Questions about Proxy/Director (was: Re: Indexes to MLC-SSD)

2011-11-24 Thread Jan-Frode Myklebust
On Thu, Nov 24, 2011 at 02:38:43PM +0100, Patrick Westenberg wrote: > Jan-Frode Myklebust schrieb: > > >MTA -(lmtp)--> dovecot-director ---(lmtp)---> backend-server1 > >\---(lmtp)---> backend-server2 > > > > > >IMAP-user -(imap)--> dovecot-director --(imap) -->

Re: [Dovecot] modules directory

2011-11-24 Thread Timo Sirainen
On 24.11.2011, at 15.11, Johannes Berg wrote: > I'm a little confused with how plugin loading works in dovecot 2, I > can't seem to make it load from $(moduledir)/imap/. Is that intended to > work? Just a configuration issue? > > Reason I ask is that I ported my antispam plugin (I know there's a

[Dovecot] Questions about Proxy/Director (was: Re: Indexes to MLC-SSD)

2011-11-24 Thread Patrick Westenberg
Jan-Frode Myklebust schrieb: MTA -(lmtp)--> dovecot-director ---(lmtp)---> backend-server1 \---(lmtp)---> backend-server2 IMAP-user -(imap)--> dovecot-director --(imap) --> backend-server1 \--(imap) --> backend-serve

[Dovecot] Questions about Proxy/Director (was: Re: Indexes to MLC-SSD)

2011-11-24 Thread Patrick Westenberg
Jan-Frode Myklebust schrieb: Yes, and in ascii-art this becomes :-) MTA -(lmtp)--> dovecot-director ---(lmtp)---> backend-server1 \---(lmtp)---> backend-server2 IMAP-user -(imap)--> dovecot-director --(imap) --> backend-server1

[Dovecot] modules directory

2011-11-24 Thread Johannes Berg
Hi! I'm a little confused with how plugin loading works in dovecot 2, I can't seem to make it load from $(moduledir)/imap/. Is that intended to work? Just a configuration issue? Reason I ask is that I ported my antispam plugin (I know there's a fork, but I still like mine better) to dovecot 2 and

Re: [Dovecot] Indexes to MLC-SSD

2011-11-24 Thread Patrick Westenberg
On Tue, 22 Nov 2011 11:45:47 +0100, Jan-Frode Myklebust wrote: Ah, then Timo's reply was right. He suggested you do the lmtp-deliveries to the same server that you would send you imap-user to. You can do this trough dovecot director and lmtp-proxying. So instead of: lmtp:unix:priv

[Dovecot] How to create home directories for virtual users?

2011-11-24 Thread Olli Räisänen
Hello, I,m using Dovecot 1.2.9, now finishing a migration from Courier IMAP. Documentation (http://wiki.dovecot.org/VirtualUsers/Home) says that home directory should not be the same as mail directory. When I create new user accounts with PostfixAdmin the mail directory is not a problem but is

Re: [Dovecot] Solaris hardware crypto engines

2011-11-24 Thread Martin Preen
Timo Sirainen wrote: On Mon, 2011-11-21 at 23:49 +0100, Martin Preen wrote: # /usr/sfw/bin/openssl engine (pkcs11) PKCS #11 engine support ENGINE_set_default_RSA(e); ENGINE_set_default_DSA(e); ENGINE_set_default_ciphers(e); in ssl_proxy_init() and inserting ENGINE_cleanup(); in ssl_proxy