RE: dovecot virtual users with sendmail, my solution

2022-05-18 Thread Marc
> > I wanted to use dovecot virtual users with sendmail. I do not see you use/create/modify sendmail specific files. So can it be your virtual users are not that virtual any more, but real users? > As you probably know, this > doesn't work by default. The more scalable sol

dovecot virtual users with sendmail, my solution

2022-05-17 Thread Christopher McCrory
Hello... I wanted to use dovecot virtual users with sendmail. As you probably know, this doesn't work by default. The more scalable solution is probably to use LDAP, but I really don't like it. This is how I did it https://github.com/chrismcc-gmail/dovecot-virtual-sendmail Basicall

Re: getmail, dovecot, virtual users

2018-03-05 Thread Robert Schetterer
Am 05.03.2018 um 15:46 schrieb David Mehler: > Hello, > > I've got a dovecot setup with virtual users coming from a MySQL > database. The only system user I have is the vmail owner of the email > store. What i'd like to do is use the program getmail to back up my > gmail account and place that in

getmail, dovecot, virtual users

2018-03-05 Thread David Mehler
Hello, I've got a dovecot setup with virtual users coming from a MySQL database. The only system user I have is the vmail owner of the email store. What i'd like to do is use the program getmail to back up my gmail account and place that in my user's virtual mail store. I'm having issues making th

Re: [Dovecot] virtual users

2013-07-12 Thread Eugene
Hello Gab, well the most attractive feature of virtual users is ease of administration. Adding a new domain and user is a matter of adding a couple of text lines (if using simplest text-based user databases), mail users do not litter the system user space, you do not expose system access to ma

Re: [Dovecot] Virtual Users Dovecot and Postfix

2013-02-16 Thread Ben Morrow
At 12AM +0100 on 17/02/13 you (Silvio Siefke) wrote: > On Sat, 16 Feb 2013 03:49:37 + Ben Morrow wrote: > > > The setup given in that howto will accept mail for any user at one of > > the domains listed in virtual_mailbox_domains, and mail for > > nonexistent users will then be bounced by Dov

Re: [Dovecot] Virtual Users Dovecot and Postfix

2013-02-16 Thread Silvio Siefke
On Sat, 16 Feb 2013 03:49:37 + Ben Morrow wrote: > The setup given in that howto will accept mail for any user at one of > the domains listed in virtual_mailbox_domains, and mail for > nonexistent users will then be bounced by Dovecot. This is a very bad > idea, since you'll end up becoming a

Re: [Dovecot] Virtual Users Dovecot and Postfix

2013-02-16 Thread Ben Morrow
At 8AM +0100 on 16/02/13 you (Thomas Leuxner) wrote: > * Ben Morrow 2013.02.16 04:49: > > > > http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix > > > > The setup given in that howto will accept mail for any user at one of > > the domains listed in virtual_mailbox_domains, and mail for

Re: [Dovecot] Virtual Users Dovecot and Postfix

2013-02-15 Thread Thomas Leuxner
* Ben Morrow 2013.02.16 04:49: > > http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix > > The setup given in that howto will accept mail for any user at one of > the domains listed in virtual_mailbox_domains, and mail for nonexistent > users will then be bounced by Dovecot. This is a ver

Re: [Dovecot] Virtual Users Dovecot and Postfix

2013-02-15 Thread Ben Morrow
At 4AM +0100 on 16/02/13 you (Silvio Siefke) wrote: > > i want setup my Mailserver with the Tutorial on Dovecot Wiki. > > http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix > > I have one question for this, must i set the Mailadresses in > /etc/postfix/virtual too or is the passwd File

[Dovecot] Virtual Users Dovecot and Postfix

2013-02-15 Thread Silvio Siefke
Hello, i want setup my Mailserver with the Tutorial on Dovecot Wiki. http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix I have one question for this, must i set the Mailadresses in /etc/postfix/virtual too or is the passwd File from dovecot enough? Thank you for help & Greetings Silv

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-03 Thread dormitionsk...@hotmail.com
Dear Mr. Kaiser, I got called away to deal with some unforeseen problems, and was not able to even look at this problem until late tonight. In the meantime, Andrzej posted a fix that seems to have it working now. I really appreciate your willingness to help. If you need me to apply your sc

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-03 Thread dormitionsk...@hotmail.com
On Jan 3, 2013, at 12:49 PM, Andrzej A. Filip wrote: > On 01/03/2013 06:37 AM, dormitionsk...@hotmail.com wrote: >> >> On Jan 2, 2013, at 4:14 PM, Andrzej A. Filip wrote: >> >>> On 01/02/2013 08:46 PM, dormitionsk...@hotmail.com wrote: On Jan 2, 2013, at 11:12 AM, Andrzej A. Filip wrote: >

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-03 Thread Andrzej A. Filip
On 01/03/2013 06:37 AM, dormitionsk...@hotmail.com wrote: > > On Jan 2, 2013, at 4:14 PM, Andrzej A. Filip wrote: > >> On 01/02/2013 08:46 PM, dormitionsk...@hotmail.com wrote: >>> On Jan 2, 2013, at 11:12 AM, Andrzej A. Filip wrote: >>> On 01/02/2013 06:53 PM, dormitionsk...@hotmail.com wro

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 3 Jan 2013, Steffen Kaiser wrote: On Wed, 2 Jan 2013, dormitionsk...@hotmail.com wrote: On Jan 2, 2013, at 11:12 AM, Andrzej A. Filip wrote: On 01/02/2013 06:53 PM, dormitionsk...@hotmail.com wrote: [...] This is the mail header from th

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 2 Jan 2013, dormitionsk...@hotmail.com wrote: On Jan 2, 2013, at 11:12 AM, Andrzej A. Filip wrote: On 01/02/2013 06:53 PM, dormitionsk...@hotmail.com wrote: [...] This is the mail header from the mqueue: [...] MDeferred: dovecot mailer (

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-02 Thread dormitionsk...@hotmail.com
On Jan 2, 2013, at 4:14 PM, Andrzej A. Filip wrote: > On 01/02/2013 08:46 PM, dormitionsk...@hotmail.com wrote: >> On Jan 2, 2013, at 11:12 AM, Andrzej A. Filip wrote: >> >>> On 01/02/2013 06:53 PM, dormitionsk...@hotmail.com wrote: [...] This is the mail header from the mqueue:

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-02 Thread dormitionsk...@hotmail.com
On Jan 2, 2013, at 11:12 AM, Andrzej A. Filip wrote: > On 01/02/2013 06:53 PM, dormitionsk...@hotmail.com wrote: >> [...] >> This is the mail header from the mqueue: >> >> [...] >> MDeferred: dovecot mailer (/usr/local/libexec/dovecot/dovecot-lda) exited >> with EX_TEMPFAIL >> [...] > > Check d

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-02 Thread Andrzej A. Filip
On 01/02/2013 06:53 PM, dormitionsk...@hotmail.com wrote: > [...] > This is the mail header from the mqueue: > > [...] > MDeferred: dovecot mailer (/usr/local/libexec/dovecot/dovecot-lda) exited > with EX_TEMPFAIL > [...] Check dovecot's logs If it does not help the push delivery of messages ni

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-02 Thread dormitionsk...@hotmail.com
On Jan 2, 2013, at 4:05 AM, Andrzej A. Filip wrote: > On 01/02/2013 12:09 AM, dormitionsk...@hotmail.com wrote: >> [...] >> I ran it without making any changes. This is the output. >> >> systemuser@openindiana:~/Downloads/Sendmail# sendmail -d60.5 -d27.2 -bv >> hacwebstore >> map_lookup(dequote

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-02 Thread Andrzej A. Filip
On 01/02/2013 12:09 AM, dormitionsk...@hotmail.com wrote: > [...] > I ran it without making any changes. This is the output. > > systemuser@openindiana:~/Downloads/Sendmail# sendmail -d60.5 -d27.2 -bv > hacwebstore > map_lookup(dequote, systemuser, %0=systemuser) => NOT FOUND (0) > map_lookup(deq

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-01 Thread dormitionsk...@hotmail.com
On Jan 1, 2013, at 3:34 PM, Andrzej A. Filip wrote: > On 01/01/2013 10:18 PM, dormitionsk...@hotmail.com wrote: >> Thank you, Andrzej, for helping us. I really appreciate it. >> >> It no longer rejects the mail that I try to send to the virtual users. It >> just tries to send it for eternity.

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-01 Thread Andrzej A. Filip
On 01/01/2013 10:18 PM, dormitionsk...@hotmail.com wrote: > Thank you, Andrzej, for helping us. I really appreciate it. > > It no longer rejects the mail that I try to send to the virtual users. It > just tries to send it for eternity. SquirrelMail says, "Waiting for > localhost". It does not

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-01 Thread dormitionsk...@hotmail.com
Thank you, Andrzej, for helping us. I really appreciate it. It no longer rejects the mail that I try to send to the virtual users. It just tries to send it for eternity. SquirrelMail says, "Waiting for localhost". It does not get rejected. It does not get sent. It does not leave anything i

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-01 Thread Andrzej A. Filip
On 01/01/2013 06:40 PM, dormitionsk...@hotmail.com wrote: > On Jan 1, 2013, at 10:31 AM, Andrzej A. Filip wrote: > >> On 12/31/2012 04:19 AM, dormitionsk...@hotmail.com wrote: >>> [...] >> 1) Do you use virtual users with or without domain part? >> [virtual-user or virtual-u...@exaple.net ] > > Wit

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-01 Thread Reindl Harald
Am 01.01.2013 18:40, schrieb dormitionsk...@hotmail.com: >> 3) Is SMTP AUTH crucial for virtual users? >> > > No. I'd like it, but it's not crucial. > > We don't have it now for anyone. The only way we access our email outside > the monastery is through SquirrelMail. I was hoping to add tha

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-01 Thread dormitionsk...@hotmail.com
On Jan 1, 2013, at 10:31 AM, Andrzej A. Filip wrote: > On 12/31/2012 04:19 AM, dormitionsk...@hotmail.com wrote: >> [...] > > 1) Do you use virtual users with or without domain part? > [virtual-user or virtual-u...@exaple.net ] Without. virtual-user > 2) How many entries do you have in pasw

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2013-01-01 Thread Andrzej A. Filip
On 12/31/2012 04:19 AM, dormitionsk...@hotmail.com wrote: > [...] 1) Do you use virtual users with or without domain part? [virtual-user or virtual-u...@exaple.net ] 2) How many entries do you have in paswdb/userdb files? [<100,<1000,] 3) Is SMTP AUTH crucial for virtual users?

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2012-12-31 Thread dormitionsk...@hotmail.com
c 31, 2012, at 8:34 PM, Noel Butler wrote: > On Mon, 2012-12-31 at 16:52 -0700, dormitionsk...@hotmail.com wrote: >> >> Thank you very much for the article. It was quite interesting. All >> thirteen pages! >> >> Unless somebody else posts that they've m

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2012-12-31 Thread dormitionsk...@hotmail.com
Thank you very much for the article. It was quite interesting. All thirteen pages! Unless somebody else posts that they've managed to get Sendmail to work with Dovecot virtual users, then I think your suggestion to look at a different MTA might just be the best route to take. Than

Re: [Dovecot] Dovecot Virtual Users with Sendmail

2012-12-31 Thread Ken A
Dovecot has no problem with virtual users, but Sendmail's idea of virtual users is not quite as 'virtual'. One possible solution: http://www.cs.fsu.edu/~langley/USVH-tr.pdf That was 2007.. so perhaps somebody has written this up in a more concise way.. or you can wrestle with ldap. :-( or switch

[Dovecot] Dovecot Virtual Users with Sendmail

2012-12-30 Thread dormitionsk...@hotmail.com
I'm trying to get Dovecot working with Virtual Users and Sendmail on OpenIndiana 151a7. OpenIndiana is the Open Source continuation of OpenSolaris after Oracle tried to kill it off a couple of years ago shortly after acquiring Sun Microsystems. I'm not sure if this is so much a Dovecot problem

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-26 Thread Trever L. Adams
On 06/26/2012 07:11 AM, Wojciech Puchar wrote: >> The only draw back I see with maildir is one file per message. This > > it is mostly adventage. Agreed. > >> makes it resilient to corruption that mbox sees (if a message gets >> corrupted, you erase one message and that corruption won't propagate >

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-26 Thread Trever L. Adams
> b) Make sure your local samba setup is joined to the domain. Make sure > it writes an appropriate krb5.keytab (/etc/krb5.keytab in my setup) as > part of its password management, etc. > > net ads keytab add smtp/mail_server_fqdn > net ads keytab add imap/mail_server_fqdn > > > You may have

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-26 Thread Kaya Saman
On 06/25/2012 08:37 AM, Trever L. Adams wrote: On 06/25/2012 01:20 AM, Kaya Saman wrote: Now what I would like to know is, which is better for "virtual hosting" Maildir or mbox? Basically my requirement is that I would like to separate users via either individual folders and then put each user

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-26 Thread Wojciech Puchar
The only draw back I see with maildir is one file per message. This it is mostly adventage. makes it resilient to corruption that mbox sees (if a message gets corrupted, you erase one message and that corruption won't propagate even if you leave it in place). In many setups this also leads to

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread Trever L. Adams
On 06/25/2012 01:52 AM, Kaya Saman wrote: > On Mon, Jun 25, 2012 at 8:37 AM, Trever L. Adams > wrote: >> On 06/25/2012 01:20 AM, Kaya Saman wrote: >> >> Now what I would like to know is, which is better for "virtual >> hosting" Maildir or mbox? >> >> >> Basically my requirement is that I would lik

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread J E Lyon
On 25 Jun 2012, at 10:44, Charles Marcus wrote: > On 2012-06-25 3:58 AM, J E Lyon wrote: >> I've not come up with any significant advantages of mbox that count >> for much in my experiences and installations . . Would be interested >> to hear of suggested advantages that I might have overlooked >

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread Branko Majic
On Mon, 25 Jun 2012 08:52:51 +0100 Kaya Saman wrote: > To start with the reason I'm not using LDAP is because I couldn't find > enough information on how to set it up! I did post here a couple of > times but got no responses.. so I figured it was something that > people either didn't know or

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread Charles Marcus
On 2012-06-25 3:58 AM, J E Lyon wrote: I've not come up with any significant advantages of mbox that count for much in my experiences and installations . . Would be interested to hear of suggested advantages that I might have overlooked One major advantage of mbox (and now mdbox) over maildir

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread Kaya Saman
On Mon, Jun 25, 2012 at 10:31 AM, Charles Marcus wrote: > On 2012-06-25 3:20 AM, Kaya Saman wrote: >> >> # cat dovecot.conf >> # v1.2+: >> auth_use_winbind = yes > > > Please always only provide output of doveconf -n, not copy/pastes from the > config files. > > This proves (to yourself and every

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread Charles Marcus
On 2012-06-25 3:20 AM, Kaya Saman wrote: # cat dovecot.conf # v1.2+: auth_use_winbind = yes Please always only provide output of doveconf -n, not copy/pastes from the config files. This proves (to yourself and everyone else) that you are using the config that dovecot is actually using - it

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread J E Lyon
On 25 Jun 2012, at 08:52, Kaya Saman wrote: > I've previously **only** ever worked with Maildir but I was told that there > are some benefits to mbox which is why I decided to try to use it here! I used mbox before Dovecot, but once I found Maildir, I never looked back. I've not come up with an

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread Kaya Saman
On Mon, Jun 25, 2012 at 8:37 AM, Trever L. Adams wrote: > On 06/25/2012 01:20 AM, Kaya Saman wrote: > > Now what I would like to know is, which is better for "virtual > hosting" Maildir or mbox? > > > Basically my requirement is that I would like to separate users via > either individual folders a

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread Trever L. Adams
On 06/25/2012 01:20 AM, Kaya Saman wrote: > Now what I would like to know is, which is better for "virtual > hosting" Maildir or mbox? > > > Basically my requirement is that I would like to separate users via > either individual folders and then put each user's mbox or Maildir in > the created dire

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread J E Lyon
On 25 Jun 2012, at 08:20, Kaya Saman wrote: > Now what I would like to know is, which is better for "virtual > hosting" Maildir or mbox? I always use Maildir in preference to mbox . . it's just such a lovely solution, imho :) (Mind you, I'm on a *nix server, so filesystem behaviour may be a cons

Re: [Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread Trever L. Adams
On 06/25/2012 01:20 AM, Kaya Saman wrote: > Hi, > > I'm trying to configure a server to use SAMBA and Winbind to > authenticate to Active Directory I managed to get this portion up > and running even the Dovecot portion. > > For reference something similar to this guide: > > http://www.whitneyt

[Dovecot] Virtual users - what is better Maildir or mbox?

2012-06-25 Thread Kaya Saman
Hi, I'm trying to configure a server to use SAMBA and Winbind to authenticate to Active Directory I managed to get this portion up and running even the Dovecot portion. For reference something similar to this guide: http://www.whitneytechnologies.com/?p=119 However PAM is slightly differen

[Dovecot] Dovecot Virtual Users with Users Domain Mapping

2012-04-24 Thread Piotr Maier
I have successfully compiled, configured and ran Dovecot with virtual users feature. Here's part of my /etc/dovecot.conf configuration file: mail_location = maildir:~/Maildir auth default { mechanisms = plain login userdb passwd-file { args = /home/%d/etc/passwd } passdb passwd-file { args = /h

Re: [Dovecot] virtual users

2011-07-04 Thread /dev/rob0
On Mon, Jul 04, 2011 at 09:02:59AM -0500, I wrote: > On Mon, Jul 04, 2011 at 02:58:34PM +0300, Amira Othman wrote: > > Iam using dovecot-1.0.7-7.el5 and postfix-2.3.3-2.3.el5_6 on > > centos 5.6 I want to configure mail server without system account > > .I can send using the virtual account but c

Re: [Dovecot] virtual users

2011-07-04 Thread /dev/rob0
On Mon, Jul 04, 2011 at 02:58:34PM +0300, Amira Othman wrote: > Iam using dovecot-1.0.7-7.el5 and postfix-2.3.3-2.3.el5_6 on centos > 5.6 I want to configure mail server without system account .I can > send using the virtual account but can't receive and I have this in > log file > > relay=loca

Re: [Dovecot] virtual users

2011-07-04 Thread Charles Marcus
On 2011-07-04 7:58 AM, Amira Othman wrote: > Iam using dovecot-1.0.7-7.el5 and postfix-2.3.3-2.3.el5_6 Need I say it? Upgrade. Both are now unsupported/EOL for a long time now... -- Best regards, Charles

[Dovecot] virtual users

2011-07-04 Thread Amira Othman
Hello All; Iam using dovecot-1.0.7-7.el5 and postfix-2.3.3-2.3.el5_6 on centos 5.6 I want to configure mail server without system account .I can send using the virtual account but can't receive and I have this in log file relay=local, delay=0.02, delays=0.02/0/0/0, dsn=5.1.1, status=bounced (unkn

[Dovecot] virtual users with postfix+dovecot plugin usage question

2011-06-13 Thread Denis Iskandarov
I'm interested in if i should enable plugins only in LDA as i understood that with postfix dovecot works only like LDA. For example i wanna use autocreate plugin for imap user i have enabled in both IMAP and LDA sections. Is it right or i had to configure it only in LDA section ? Than how quota and

[Dovecot] Virtual users

2011-04-06 Thread Tolga
Hello, I am using postfix and virtual accounts. So far, I have been able to get postfix to deliver to the correct location, but I don't know how to get dovecot to pick up the mail. My mails are at /srv/vmail/domain/user, below is my dovecot -n output and the relevant error. Can you help me pl

Re: [Dovecot] Virtual Users, PAM authentication, MySql backend

2010-11-30 Thread Álvaro Leão
i agree with you...but it's my boss order.. :( and...he is the boss Álvaro César Leão Teixeira 2010/11/30 Noel Butler > On Tue, 2010-11-30 at 14:13 -0200, Álvaro Leão wrote: > > > > with this example, and the correct pam,d/dovecot (with the mysql acess), > > i'll just use the mysql to authent

Re: [Dovecot] Virtual Users, PAM authentication, MySql backend

2010-11-30 Thread Noel Butler
On Tue, 2010-11-30 at 14:13 -0200, Álvaro Leão wrote: > with this example, and the correct pam,d/dovecot (with the mysql acess), > i'll just use the mysql to authenticate, using the pam module to acess the > user/password, right? Why be concerned about needing to use PAM? It is evil, it is why

Re: [Dovecot] Virtual Users, PAM authentication, MySql backend

2010-11-30 Thread Álvaro Leão
thank's again Timo... with this example, and the correct pam,d/dovecot (with the mysql acess), i'll just use the mysql to authenticate, using the pam module to acess the user/password, right? Álvaro César Leão Teixeira 2010/11/30 Timo Sirainen > On 30.11.2010, at 12.30, Álvaro Leão wrote: >

Re: [Dovecot] Virtual Users, PAM authentication, MySql backend

2010-11-30 Thread Timo Sirainen
On 30.11.2010, at 12.30, Álvaro Leão wrote: > Can I use PAM authentication, witch get the users data from a external > database (like mysql)? I've found many ways to do this stuff disconnectedly > (like pam authentication with passwd ), but i can put all together? I can't > use the passwd... So I

[Dovecot] Virtual Users, PAM authentication, MySql backend

2010-11-30 Thread Álvaro Leão
Hi, I'm sorry if this is a silly question, but i know that is not possible in Courier, so, I need to check if I can do it with Dovecot. Can I use PAM authentication, witch get the users data from a external database (like mysql)? I've found many ways to do this stuff disconnectedly (like pam auth

Re: [Dovecot] virtual users with mysql

2010-01-28 Thread Andre Hübner
We use mysql auth and support username or usern...@domain.com for logins. Perhaps you just need to edit the auth_username_chars variable in the dovecot config to allow @ symbol in usernames? sorry, is already solved. was just a question of the correct sql-query. to easy to see it ;) i think i

Re: [Dovecot] virtual users with mysql

2010-01-28 Thread Justin Krejci
-bounces+jkrejci=usinternet@dovecot.org] On Behalf Of Andre Hübner Sent: Thursday, January 28, 2010 4:11 AM To: Dovecot Mailing List Subject: [Dovecot] virtual users with mysql Hello List, we use in our system cryptical Usernames for dovecot etc. and authenticate users against shadow/passwd User

[Dovecot] virtual users with mysql

2010-01-28 Thread Andre Hübner
Hello List, we use in our system cryptical Usernames for dovecot etc. and authenticate users against shadow/passwd User abcde is loging in and gets data from /var/spool/mail/abcde and /home/popuser/abcde Now we want to make it possible that users can log in also with emailadresses. I tried do

Re: [Dovecot] Virtual users, local delivery via LDA and LDAP troubles

2009-05-19 Thread Timo Sirainen
On Tue, 2009-05-19 at 21:31 +0400, Konstantin Khomoutov wrote: > After verifying IMAP/POP3 authentication works, I've set up the Dovecot > LDA to deliver mail for domain users. > This exposed another problem which I don't understand: the delivery > program tries to figure out whether the user exi

[Dovecot] Virtual users, local delivery via LDA and LDAP troubles

2009-05-19 Thread Konstantin Khomoutov
We're investigating the possibiliy to migrate our mail system from Sendmail+Cyrus to Sendmail+Dovecot. The system must use authentication against Windows AD (supposedly using LDAP) and must use virtual hosting. So far we managed to work around a bug reported in [1], and IMAP/POP3 authenticat

Re: [Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-09-02 Thread Petri Asikainen
Timo Sirainen kirjoitti: Your log shows that "home" is working but "user" is ignored, just as I thought.. Hmm.. I dont want argue with you, you wrote the beast . But before I add that sAMAccountName=user mapping, my system log shows like following and user cannot access imap mailbox. After a

Re: [Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-09-01 Thread Timo Sirainen
Or actually that log doesn't show anything since both mail and sAMAccountName are the same. :) But I'm pretty sure the user gets ignored.. On Mon, 2008-09-01 at 15:46 +0300, Timo Sirainen wrote: > Your log shows that "home" is working but "user" is ignored, just as I > thought.. > > On Mon, 2008-

Re: [Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-09-01 Thread Timo Sirainen
Your log shows that "home" is working but "user" is ignored, just as I thought.. On Mon, 2008-09-01 at 15:42 +0300, Petri Asikainen wrote: > Works for me (tm). Maybe some of ldap servers does not like that result > attributes are specified multiple times. But current active directory > server th

Re: [Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-09-01 Thread Petri Asikainen
Works for me (tm). Maybe some of ldap servers does not like that result attributes are specified multiple times. But current active directory server this not seems be an issue. Log shows that quory is working: Sep 1 15:00:52 domainlx6 dovecot: auth(default): ldap(petasi,172.21.89.69): user s

Re: [Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-09-01 Thread Timo Sirainen
On Mon, 2008-09-01 at 15:15 +0300, Petri Asikainen wrote: > user_attrs = > sAMAccountName=user,sAMAccountName=home=/var/spool/vmail/%$,=gid=12,=uid=1001 Hmm. Does that really return both "user" and "home"? I've in TODO that it's not working.. signature.asc Description: This is a digitally signe

Re: [Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-09-01 Thread Petri Asikainen
Thanks I got it working. my dovecot-ldap.conf is end of mail in case anyone is interested. Couple of notes, I have to leave uid and gid mappings here (user_filter) or I got setuid related error messages. userdb is queried with email address when lda got mail to deliver. and with username whe

Re: [Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-09-01 Thread Timo Sirainen
On Mon, 2008-09-01 at 13:07 +0300, Petri Asikainen wrote: > Still having some problems. > Is there way to query user db to see what values dovecot is returning > after ldap query? Not really, but auth_debug=yes shows what it returns. signature.asc Description: This is a digitally signed messag

Re: [Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-09-01 Thread Petri Asikainen
Still having some problems. Is there way to query user db to see what values dovecot is returning after ldap query? Timo Sirainen kirjoitti: On Sep 1, 2008, at 7:51 AM, Petri Asikainen wrote: I added dovecot-ldap-userdb.conf and it's in auth default, but now it does lookup users at all. Acc

Re: [Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-08-31 Thread Timo Sirainen
On Sep 1, 2008, at 7:51 AM, Petri Asikainen wrote: I added dovecot-ldap-userdb.conf and it's in auth default, but now it does lookup users at all. Account that I try to use to bind ldap is working with postfix. Theres probably something wrong with my static attributes syntax. You would be ab

Re: [Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-08-31 Thread Petri Asikainen
Thanks, Now I'm starting to get it. but cant get ldap userdb working. First I was using static userdb (Stubid me ... ;) I added dovecot-ldap-userdb.conf and it's in auth default, but now it does lookup users at all. Account that I try to use to bind ldap is working with postfix. Theres probably s

Re: [Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-08-29 Thread Timo Sirainen
On Fri, 2008-08-29 at 17:08 +0300, Petri Asikainen wrote: > Problem is that mail get delivered to /var/spool/vmail/[EMAIL PROTECTED] , > not folder named as ldap attribute sAMAccountNameas it should. I'm guessing your user_attrs setting doesn't contain "sAMAccountName=user" so Dovecot uses the em

[Dovecot] Virtual users, postfix and dovecot deliver LDA

2008-08-29 Thread Petri Asikainen
Hi, I have question about how to setup ldap-lookups in dovecot. I have done my homework by googling and reading documention and sample configuration files. But cant resolve this issue. Background: I have setup postfix and dovecot. Postix is configured to ldap alias maps and is delivering mails

Re: [Dovecot] Virtual Users and permission denied on POP3 Authentication - cur directory

2008-01-23 Thread Iain M Conochie
John Dubchak wrote: On Jan 23, 2008, at 4:27 AM, Iain M Conochie wrote: Then I am a bit stuck. That was how I got it working for LDAP to be honest. What kind of usernames are your users using to login with? Is it [EMAIL PROTECTED] or just user? [EMAIL PROTECTED] Thanks, John What do you

Re: [Dovecot] Virtual Users and permission denied on POP3 Authentication - cur directory

2008-01-22 Thread Iain M Conochie
John Dubchak wrote: On Jan 22, 2008, at 4:34 AM, Iain M Conochie wrote: if vuser has uid and gid of 5000 Have the userdb part of the dovecot config set to userdb static { args = uid=5000 gid=5000 home=/var/spool/virtual_mailbox/%d/%n allow_all_users=yes } instead of using the userd

Re: [Dovecot] Virtual Users and permission denied on POP3 Authentication - cur directory

2008-01-22 Thread John Dubchak
On Jan 22, 2008, at 4:34 AM, Iain M Conochie wrote: if vuser has uid and gid of 5000 Have the userdb part of the dovecot config set to userdb static { args = uid=5000 gid=5000 home=/var/spool/virtual_mailbox/%d/%n allow_all_users=yes } instead of using the userdb sql { } That sho

Re: [Dovecot] Virtual Users and permission denied on POP3 Authentication - cur directory

2008-01-22 Thread Iain M Conochie
John Dubchak wrote: Hi, I've been working on configuring a new Postfix+Dovecot+Cyrus-SASL+Postgres server to perform multi-domain virtual hosting with non-unix accounts. I believe I have everything working correctly and have tested both the SASL portion and POP authentication through telnet

[Dovecot] Virtual Users and permission denied on POP3 Authentication - cur directory

2008-01-21 Thread John Dubchak
Hi, I've been working on configuring a new Postfix+Dovecot+Cyrus-SASL +Postgres server to perform multi-domain virtual hosting with non-unix accounts. I believe I have everything working correctly and have tested both the SASL portion and POP authentication through telnet and all works as

Re: [Dovecot] Dovecot + virtual users

2007-09-13 Thread Egbert Jan
ursday, September 13, 2007 8:00 PM > To: dovecot@dovecot.org > Subject: Re: [Dovecot] Dovecot + virtual users > > > bichumo wrote: > > Hi, > > > > I'm running FreeBSD, Dovecot, Postfix (virtual users), MySQL, > > Squirrelmail. I have installed >

Re: [Dovecot] Dovecot + virtual users

2007-09-13 Thread Marcus Rueckert
On 2007-09-13 21:00:23 +0300, bichumo wrote: > >I'm running FreeBSD, Dovecot, Postfix (virtual users), MySQL, > >Squirrelmail. I have installed squirrelmail-quota_usage-plugin, but I > >cannot make it work. It mentions "If you have an IMAP server with > >QUOTA Extension capability...". In doveco

Re: [Dovecot] Dovecot + virtual users

2007-09-13 Thread bichumo
bichumo wrote: Hi, I'm running FreeBSD, Dovecot, Postfix (virtual users), MySQL, Squirrelmail. I have installed squirrelmail-quota_usage-plugin, but I cannot make it work. It mentions "If you have an IMAP server with QUOTA Extension capability...". In dovecot.conf I have enabled "mail_plugin

[Dovecot] Dovecot + virtual users

2007-09-13 Thread bichumo
Hi, I'm running FreeBSD, Dovecot, Postfix (virtual users), MySQL, Squirrelmail. I have installed squirrelmail-quota_usage-plugin, but I cannot make it work. It mentions "If you have an IMAP server with QUOTA Extension capability...". In dovecot.conf I have enabled "mail_plugins = quota" near