Re: [Dovecot] LMTP with virtual and system users

2014-01-08 Thread Adrian Zaugg
Am 07.01.14 13:21 schrieb Philipp Kolmann: I didn't want to have lda SUID root... Is this necessary? Exim calls the dovecot-lda as user $local_part and if you setup your mail storage to have the right permissions, this should work without SUID. But maybe I'm wrong; anyway in the wiki there is a

Re: [Dovecot] LMTP with virtual and system users

2014-01-07 Thread Philipp Kolmann
Hi Adrian, thanks for your reply. I have also thought in this direction already but I didn't want to have lda SUID root... I saw that the Passwd-file passdb supports username_format as argument. Would it be possible to add this feature also to the LMTP passdb driver? thanks Philipp On

Re: [Dovecot] LMTP with virtual and system users

2014-01-01 Thread Adrian Zaugg
Hi Philipp You are completely right, the proposed solution doesn't work. It seems exim always qualifies an address without a domain, I believe this is because LMTP requiers to get only qualified addresses (LMTP is based on SMTP and the RFC, if I read it correctly specifies it like this). So,

Re: [Dovecot] LMTP with virtual and system users

2013-12-30 Thread Philipp Kolmann
Hi Adrian, Am 26.12.2013 12:20, schrieb Adrian Zaugg: You can use exim to prepare the address as you wish: only the user name for pam users and the full address for virtual users. Configure a new router to strip the domain part for pam users: local_pam_users: debug_print = R: strip

Re: [Dovecot] LMTP with virtual and system users

2013-12-29 Thread Eugene
wishes Eugene -Original Message- From: Philipp Kolmann Sent: Wednesday, December 25, 2013 11:16 AM To: Dovecot Mailing List Subject: [Dovecot] LMTP with virtual and system users Hi, I have a mailsystem where i have some local users with shell access and full home dirs which receive mail

Re: [Dovecot] LMTP with virtual and system users

2013-12-26 Thread Adrian Zaugg
Hi Philipp You can use exim to prepare the address as you wish: only the user name for pam users and the full address for virtual users. Configure a new router to strip the domain part for pam users: local_pam_users: debug_print = R: strip domain for local pam users driver =

[Dovecot] LMTP with virtual and system users

2013-12-24 Thread Philipp Kolmann
Hi, I have a mailsystem where i have some local users with shell access and full home dirs which receive mail and also several SQL virtual users only for mail. With the virtual users, everything works fine. Mail is delivered via LMTP and also sieve works :) The SQL Lookup knows what to do