Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-10 Thread Pablo Murillo
=', REPLACE(SUBSTRING_INDEX(vpopmail.pw_shell, 'S', 1), 'NOQUOTA', '0')) AS quota_rule \     FROM \   %L{domain_last} AS vpopmail \     LEFT JOIN \   aliasdomains ON aliasdomains.alias='%L{domain_first}' \     LEFT JOIN \   limits ON limits.domain = '%L{domain_first}' \     WHERE

Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-10 Thread st...@keptprivate.com
old tables instantly.Sent from my T-Mobile 4G LTE device-- Original message--From: Eric BrochDate: Wed, Feb 10, 2021 2:58 PMTo: dovecot@dovecot.org;Cc: Subject:Re: SQL-AUTH driver replace for VPOPMAIL-AUTHPablo, Can you share your dovecot-sql.conf.ext file for 'one table for each domain'.

Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-10 Thread Eric Broch
! On 2/10/2021 3:34 AM, Aki Tuomi wrote: Return the password with {CRAM-MD5} or {MD5-CRYPT} prefix, then dovecot will know the password scheme. Aki On 10/02/2021 05:04 Pablo Murillo wrote:   Hi I'm made a lot of test trying to get SLQ auth driver work with vpopmail/mysql configured

Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-10 Thread Pablo Murillo
scheme. Aki On 10/02/2021 05:04 Pablo Murillo wrote: Hi I'm made a lot of test trying to get SLQ auth driver work with vpopmail/mysql configured with many domains (one table for each domain) Finally I made it work, but ... only with PLAIN password Is there a way to make SQL auth work

Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-09 Thread Remo Mattei
Hi Pablo, Roberto has it without PLAIN text, you could check that out https://notes.sagredo.eu/en/qmail-notes-185/installing-and-configuring-vpopmail-81.html <https://notes.sagredo.eu/en/qmail-notes-185/installing-and-configuring-vpopmail-81.html> I recall I used Roberto in th

Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-09 Thread Aki Tuomi
Return the password with {CRAM-MD5} or {MD5-CRYPT} prefix, then dovecot will know the password scheme. Aki > On 10/02/2021 05:04 Pablo Murillo wrote: > > > Hi > > I'm made a lot of test trying to get SLQ auth driver work with > vpopmail/mysql configured with ma

Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-09 Thread Pablo Murillo
/qmail-notes-185/installing-and-configuring-vpopmail-81.html <https://notes.sagredo.eu/en/qmail-notes-185/installing-and-configuring-vpopmail-81.html> I recall I used Roberto in the past, and the pass is encrypted. Remo On Feb 9, 2021, at 19:04, Pablo Murillo <mailto:i...@pablomuril

SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-09 Thread Pablo Murillo
Hi I'm made a lot of test trying to get SLQ auth driver work with vpopmail/mysql configured with many domains (one table for each domain) Finally I made it work, but ... only with PLAIN password Is there a way to make SQL auth work with vpopmail/mysql tables with encrypted password (CRAM-MD5

Re: vpopmail

2018-10-04 Thread Eric Broch
On 10/4/2018 7:27 AM, Rick Romero wrote: Quoting Eric Broch <mailto:ebr...@whitehorsetc.com>>: On 10/4/2018 6:34 AM, Rick Romero wrote: Quoting Aki Tuomi <mailto:aki.tu...@open-xchange.com>>: On 03.10.2018 23:30, Eric Broch wrote: Hello list, I run Dovecot with t

Re: vpopmail

2018-10-04 Thread Aki Tuomi
.com>>: > >>> > >>>> On 10/4/2018 6:34 AM, Rick Romero wrote: > >>>>>   > >>> > >>> Quoting Aki Tuomi >>> <mailto:aki.tu...@open-xchange.com>>: > >>> > >>>> On 03.10.2018 23:30, Eric Broch w

Re: vpopmail

2018-10-04 Thread Rick Romero
och wrote: Hello list, I run Dovecot with the vpopmail driver and have found that it authenticates against the clear text password in the vpopmail database. Is there a configuration option either at compile time, link time, or a setting in one of the configuration files that tells the progr

Re: vpopmail

2018-10-04 Thread Rick Romero
st, I run Dovecot with the vpopmail driver and have found that it authenticates against the clear text password in the vpopmail database. Is there a configuration option either at compile time, link time, or a setting in one of the configuration files that tells the program to authenticate agains

Re: vpopmail

2018-10-04 Thread Eric Broch
On 10/4/2018 7:27 AM, Rick Romero wrote: Quoting Eric Broch <mailto:ebr...@whitehorsetc.com>>: On 10/4/2018 6:34 AM, Rick Romero wrote: Quoting Aki Tuomi <mailto:aki.tu...@open-xchange.com>>: On 03.10.2018 23:30, Eric Broch wrote: Hello list, I run Dovecot with t

Re: vpopmail

2018-10-04 Thread Rick Romero
Quoting Eric Broch : On 10/4/2018 6:34 AM, Rick Romero wrote:   Quoting Aki Tuomi : On 03.10.2018 23:30, Eric Broch wrote: Hello list, I run Dovecot with the vpopmail driver and have found that it authenticates against the clear text password in the vpopmail database

Re: vpopmail

2018-10-04 Thread Eric Broch
On 10/4/2018 6:34 AM, Rick Romero wrote: Quoting Aki Tuomi <mailto:aki.tu...@open-xchange.com>>: On 03.10.2018 23:30, Eric Broch wrote: Hello list, I run Dovecot with the vpopmail driver and have found that it authenticates against the clear text password in the vpopmail

Re: vpopmail

2018-10-04 Thread Rick Romero
Quoting Aki Tuomi : On 03.10.2018 23:30, Eric Broch wrote: Hello list, I run Dovecot with the vpopmail driver and have found that it authenticates against the clear text password in the vpopmail database. Is there a configuration option either at compile time, link time, or a setting in one

Re: vpopmail

2018-10-04 Thread Aki Tuomi
On 03.10.2018 23:30, Eric Broch wrote: > Hello list, > > I run Dovecot with the vpopmail driver and have found that it > authenticates against the clear text password in the vpopmail > database. Is there a configuration option either at compile time, link > time, o

vpopmail

2018-10-03 Thread Eric Broch
Hello list, I run Dovecot with the vpopmail driver and have found that it authenticates against the clear text password in the vpopmail database. Is there a configuration option either at compile time, link time, or a setting in one of the configuration files that tells the program

Re: Still trouble with vpopmail

2017-05-31 Thread Aki Tuomi
27b8160b01affaf9f740e Mon Sep 17 00:00:00 2001 From: Aki Tuomi <aki.tu...@dovecot.fi> Date: Wed, 31 May 2017 10:09:41 +0300 Subject: [PATCH] auth: Fix vpopmail for 2.2 --- src/auth/userdb-vpopmail.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/auth/userdb

Re: Still trouble with vpopmail

2017-05-30 Thread Bobber
Original Message Subject: Re: Still trouble with vpopmail From: Odhiambo Washington <odhia...@gmail.com> To: Dovecot Mailing List <dovecot@dovecot.org> Date: 05/30/2017 03:18 PM Sorry to ask, what's vpopmail and how is it related to dovecot? http://www.inter7.

Re: Still trouble with vpopmail

2017-05-30 Thread Odhiambo Washington
Sorry to ask, what's vpopmail and how is it related to dovecot? On 30 May 2017 at 22:33, Bobber <bob...@kc0dxf.net> wrote: > Getting this error: > > In file included from ../../src/lib/lib.h:6:0, >> from auth-common.h:4, >>

Still trouble with vpopmail

2017-05-30 Thread Bobber
Getting this error: In file included from ../../src/lib/lib.h:6:0, from auth-common.h:4, from userdb-vpopmail.c:5: ../../config.h:791:0: note: this is the location of the previous definition #define VERSION "2.2.30" ^ userdb-vpopmail.c: In function

Dovecot 2.2.29.1 + VPopMail 5.4.33

2017-05-12 Thread Nicholas Chua
Hi all, I have a fresh installation of a Vpopmail 5.4.33 + Dovecot 2.2.29.1 + SQL As usual I followed the AuthDatabase/VPopMail wiki password_query = SELECT CONCAT(pw_name, '@', pw_domain) AS user, \ pw_clear_passwd AS password \ FROM vpopmail \ WHERE pw_name = '%n

Re: Vpopmail Error

2017-04-11 Thread Eric Broch
t working: patching file userdb-vpopmail.c Hunk #1 FAILED at 54. 1 out of 1 hunk FAILED -- saving rejects to file userdb-vpopmail.c.rej Original Message Subject: Re: Vpopmail Error From: Aki Tuomi <aki.tu...@dovecot.fi> To: dovecot@dovecot.org, Bobber <bob...@kc0dxf.n

Re: Vpopmail Error

2017-04-11 Thread Aki Tuomi
; Hunk #1 FAILED at 54. > > 1 out of 1 hunk FAILED -- saving rejects to file userdb-vpopmail.c.rej > > > ---- Original Message > Subject: Re: Vpopmail Error > From: Aki Tuomi <aki.tu...@dovecot.fi> > To: dovecot@dovecot.org, Bobber <bob...@kc0dxf

Re: Vpopmail Error

2017-04-11 Thread Bobber
Not working: patching file userdb-vpopmail.c Hunk #1 FAILED at 54. 1 out of 1 hunk FAILED -- saving rejects to file userdb-vpopmail.c.rej Original Message Subject: Re: Vpopmail Error From: Aki Tuomi <aki.tu...@dovecot.fi> To: dovecot@dovecot.org, Bobber <bob...@k

Re: Vpopmail Error

2017-04-11 Thread Aki Tuomi
/dovecot-2.2.29/src' > > Makefile:619: recipe for target 'all-recursive' failed > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory '/usr/local/src/dovecot-2.2.29' > > Makefile:463: recipe for target 'all' failed > > make: *** [all] Error 2 > &

Re: Vpopmail Error

2017-04-11 Thread Bobber
' failed make: *** [all] Error 2 Original Message Subject: Re: Vpopmail Error From: Timo Sirainen <t...@iki.fi> To: Bobber <bob...@kc0dxf.net> Date: 04/11/2017 02:28 AM On 10 Apr 2017, at 23.55, Bobber <bob...@kc0dxf.net <mailto:bob...@kc0dxf.net>> wrote:

Re: Vpopmail Error

2017-04-11 Thread Timo Sirainen
On 10 Apr 2017, at 23.55, Bobber wrote: > > I'm trying to compile the latest Dovecot (v2.2.29) and when I run make I get > this error: > >> auth-userdb-vpopmail.o: In function `userdb_vpopmail_get_quota': >> /usr/local/src/dovecot-2.2.29/src/auth/userdb-vpopmail.c:64:

Re: Vpopmail Error

2017-04-10 Thread Eric Broch
Is this the fix perhaps, Anyone? https://github.com/dovecot/core/commit/79fe1b28df44ba22b230326bee895583c1df5a28 On 4/10/2017 4:40 PM, Eric Broch wrote: Same error on CentOS 7 On 4/10/2017 2:55 PM, Bobber wrote: I'm trying to compile the latest Dovecot (v2.2.29) and when I run make I get

Re: Vpopmail Error

2017-04-10 Thread Eric Broch
Same error on CentOS 7 On 4/10/2017 2:55 PM, Bobber wrote: I'm trying to compile the latest Dovecot (v2.2.29) and when I run make I get this error: auth-userdb-vpopmail.o: In function `userdb_vpopmail_get_quota': /usr/local/src/dovecot-2.2.29/src/auth/userdb-vpopmail.c:64: undefined

Vpopmail Error

2017-04-10 Thread Bobber
I'm trying to compile the latest Dovecot (v2.2.29) and when I run make I get this error: auth-userdb-vpopmail.o: In function `userdb_vpopmail_get_quota': /usr/local/src/dovecot-2.2.29/src/auth/userdb-vpopmail.c:64: undefined reference to `var_expand_table_build' collect2: error: ld returned

replication and backend vpopmail

2016-12-13 Thread Havrla
quota_rule = = *: backend = q% driver = vpopmail } The manual is written: iterate_query = SELECT email as user FROM mail_user But does not specify how to connect to MySQL database if vpopmail How to do it ? To make it simple, vpopmail domain = DB table example domain example.com = table example_c

Permissions issue with Debian 8, dovecot 2.21, vpopmail

2016-02-08 Thread Stephen
rootroot 0 Feb 3 16:46 imap-hibernate srw-rw-rw- 1 rootroot 0 Feb 3 16:46 imap-master Errors were reported in /var/log/dovecot.log which we use mainly for fail2ban (it gets huge, but ...) vpopmail version 5.4.33 with one patch I don't think this is a Debian issue ... possibly could

Re: Permissions issue with Debian 8, dovecot 2.21, vpopmail

2016-02-08 Thread Alexander Dalloz
-master changed to make work: srw-rw-rw- 1 rootroot 0 Feb 3 16:46 imap-hibernate srw-rw-rw- 1 rootroot 0 Feb 3 16:46 imap-master Errors were reported in /var/log/dovecot.log which we use mainly for fail2ban (it gets huge, but ...) vpopmail version 5.4.33 with one patch I don't think

Re: vpopmail, open_smtp_relay and non-PLAIN auth mechs

2014-10-31 Thread Timo Sirainen
On 30 Oct 2014, at 05:50, Jim Jagielski jim...@gmail.com wrote: I've noticed that if using the vpopmail auth setup, that the roaming-user functionality provided via open_smtp_relay() is only done if the auth mechanism is PLAIN. For example, if the client authenticates via DIGEST-MD5

Re: vpopmail, open_smtp_relay and non-PLAIN auth mechs

2014-10-31 Thread Jim Jagielski
jim...@gmail.com wrote: I've noticed that if using the vpopmail auth setup, that the roaming-user functionality provided via open_smtp_relay() is only done if the auth mechanism is PLAIN. For example, if the client authenticates via DIGEST-MD5, the open relay file is not updated

vpopmail, open_smtp_relay and non-PLAIN auth mechs

2014-10-30 Thread Jim Jagielski
I've noticed that if using the vpopmail auth setup, that the roaming-user functionality provided via open_smtp_relay() is only done if the auth mechanism is PLAIN. For example, if the client authenticates via DIGEST-MD5, the open relay file is not updated, as it should be. This is due to the call

Cannot use dovecot with vpopmail and sendmail

2014-08-14 Thread Matthias Fechner
Hi, I setup a configuration that will use sendmail with dovecot as imap/pop3 service and vpopmail as backend to handle virtual users and store email there. For this I created a dovecot.m4 as described in the wiki, it looks like: ##*## ### DOVECOT Mailer

[Dovecot] Dovecot IMAP Authentication issue with Vpopmail

2014-04-06 Thread Arup
authentication issue with vpopmail and dovecot. POP and SMTP both working. but why not IMAP? i can't also use webmail (i.e. squirrelmail) as it don't working with IMAP. it's showing- *connection dropped by IMAP server *error while trying to login. i'm looking forward to a solution here. any qmail

Re: [Dovecot] dovecot 2 + vpopmail 5.5.0

2014-03-11 Thread Alessio Cecchi
Il 09/03/2014 17:06, Scott Geiger ha scritto: I am working on setting up dovecot 2.2.12 with an installed qmail + vpopmail 5.5.0 base. So far I have not had much luck getting the auth to work with vpopmail. Does dovecot 2.2.12 work with vpopmail 5.5.0? So far when I try to authenticate I

[Dovecot] dovecot 2 + vpopmail 5.5.0

2014-03-10 Thread Scott Geiger
I am working on setting up dovecot 2.2.12 with an installed qmail + vpopmail 5.5.0 base. So far I have not had much luck getting the auth to work with vpopmail. Does dovecot 2.2.12 work with vpopmail 5.5.0? So far when I try to authenticate I always get back User Unknown in the log. Thanks

[Dovecot] Problem with PAM, vpopmail and Roundcube

2013-10-12 Thread ede
Hello, I have a problem to which I have not been able to find a solution by myself or online. I have Dovecot running together with Qmail on a CentOS server. I need to be able to control which users are allowed IMAP access and at the same time allow IMAP access for all users when the

Re: [Dovecot] Problem with PAM, vpopmail and Roundcube

2013-10-12 Thread Daniel Parthey
Hi Daniel possibly http://wiki2.dovecot.org/PostLoginScripting is the right wiki article for you. It describes how to block a user depending on username and/or IP. Regards Daniel

Re: [Dovecot] Problem with PAM, vpopmail and Roundcube

2013-10-12 Thread ede
Hi Daniel, Thank you for getting back to me so quickly. I was actually thinking of using Post Login Scripting if everything else failed, but was hoping for a solution using PAM. Anyway, I'll give the scripting a chance. Thanks again. Daniel At 05:40 PM 10/12/2013, Daniel Parthey wrote:

Re: [Dovecot] Courier migration and vpopmail with dovecot-lda

2013-09-26 Thread Charles Sprickman
vpopmail, qmail and Courier). On the Courier front, I've reviewed the migration page in the wiki, and it looks like the main concerns are just matching the namespace and then using the migration script to create new subscription and uidlist files. Given that my Courier IMAP setup is so old

Re: [Dovecot] Courier migration and vpopmail with dovecot-lda

2013-09-19 Thread Anton Lundin
On 18 September, 2013 - Charles Sprickman wrote: I've been using Dovecot in some fresh installs lately and have found it fairly easy to configure. However I'm starting on a migration that involves moving from some very old software (ancient vpopmail, qmail and Courier). On the Courier

[Dovecot] Courier migration and vpopmail with dovecot-lda

2013-09-18 Thread Charles Sprickman
I've been using Dovecot in some fresh installs lately and have found it fairly easy to configure. However I'm starting on a migration that involves moving from some very old software (ancient vpopmail, qmail and Courier). On the Courier front, I've reviewed the migration page in the wiki

[Dovecot] Problem with vpopmail + qmail + dovecot lda

2013-04-12 Thread Davide
I have a little problem in my configuration (vpopmail + qmail + dovecot 2.1.12 with LDA) my .qmail-default is this | /var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda -d $EXT@$USER -e | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox I receive al mails to postmaster

[Dovecot] Help with vpopmail authentication

2013-02-27 Thread Fran Márquez
Hello, Currently I have a qmail server with vpopmail+courierImap. I want setup a new server in DMZ for proxy IMAP connections and I have a doubt with authentication method. I've read that dovecot can use a vpopmail driver for authentication. As my user database/password is stored by vpopmail, I

Re: [Dovecot] Vpopmail Dynamic Authentication Module

2012-09-08 Thread Eric Sisolak
/home/vpopmail/include -I/home/vpopmail/lib userdb-vpopmail.c passdb-vpopmail.c -o vpopmail.so -L/home/vpopmail/lib/libvpopmail.a -L means a path, pointing it to .a file doesn't do anything useful. By giving the .a file directly probably also fails if libvpopmail.a hasn't been built

Re: [Dovecot] Vpopmail Dynamic Authentication Module

2012-08-31 Thread Timo Sirainen
On 24.8.2012, at 16.42, Eric Sisolak wrote: I had to modify the command to build the module, but was able to successfully build it: gcc -shared -fPIC -DHAVE_CONFIG_H -DUSERDB_VPOPMAIL -DPASSDB_VPOPMAIL -I../.. -I../lib -I/home/vpopmail/include -I/home/vpopmail/lib userdb-vpopmail.c passdb

[Dovecot] Vpopmail Dynamic Authentication Module

2012-08-24 Thread Eric Sisolak
Hello, We currently use qmail with vpopmail for e-mail and are looking to switch from courier-imap to dovecot for IMAP on our RedHat EL 5 systems. Our goal is to use the dovecot RPM supplied by RH (v1.0.7) if at all possible. We can do this if we are able to dynamically load the vpopmail auth

[Dovecot] Patch for dovecot 1.2.16 (and .17) for vpopmail module

2011-12-22 Thread Alessio Cecchi
Hi Timo, I love dovecot but I love also vpopmail and its functions for manage user limits (via vmoduser). Unfortunately in dovecot 1.2.x auth default set to use vpopmail is unable to apply this limits. Only if used with checkpassword limits works fine but in the dovecot.log only user

[Dovecot] 2.0.16 - auth with vpopmail won´t work anymore

2011-11-29 Thread Werner Schöller
Hi, after upgrading from 2.0.15 to 2.0.16 authentication with vpopmail won´t work anymore. 2.0.x and 1.2.x works (this output is from 2.0.15): Nov 28 18:29:21 mail dovecot: auth: Debug: auth client connected (pid=3855) Nov 28 18:29:21 mail dovecot: auth: Debug: client in: AUTH 1 PLAIN

[Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread hobie
I'm working to get Dovecot 2.0.13 working along with qmail, Vpopmail and Squirrelmail on a Debian 6.0.2 system, Dovecot compiled, not from a package. Vpopmail has a widely known assigned user/group ID of 89 and is the owner of all the mail folders. Regardless of value of first_valid_uid (1, 89

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread Rick Romero
Quoting ho...@rumormillnews.com: I'm working to get Dovecot 2.0.13 working along with qmail, Vpopmail and Squirrelmail on a Debian 6.0.2 system, Dovecot compiled, not from a package. Vpopmail has a widely known assigned user/group ID of 89 and is the owner of all the mail folders. Regardless

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread Rick Romero
uid/gid so all show 89 and restarted Dovecot, no change. Telnetting from remote or from localhost, Dovecot closes the connection immediately after password is sent. (?) --hobie Quoting ho...@rumormillnews.com: I'm working to get Dovecot 2.0.13 working along with qmail, Vpopmail

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread Timo Sirainen
On Wed, 2011-08-24 at 15:22 -0400, ho...@rumormillnews.com wrote: Regardless of value of first_valid_uid (1, 89, other), Dovecot denies Squirrelmail connection, saying it can't allow access to UID 89. Couldn't drop privileges, it says. I'd be grateful for fixes, suggestions, or a pointer to

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread hobie
Hi, Timo - from mail.warn log file, domain name redacted: Aug 24 16:32:07 debian dovecot: imap(postmas...@vorg): Error: user postmas...@vorg: Couldn't drop privileges: Mail access for users with UID 89 not permitted (see first_valid_uid in config file, uid from userdb lookup). --hobie

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread Timo Sirainen
On Wed, 2011-08-24 at 16:34 -0400, ho...@rumormillnews.com wrote: Hi, Timo - from mail.warn log file, domain name redacted: Aug 24 16:32:07 debian dovecot: imap(postmas...@vorg): Error: user postmas...@vorg: Couldn't drop privileges: Mail access for users with UID 89 not permitted

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread hobie
(Ah!) Thanks, Timo, that allows Squirrelmail to get access. :) I had been making changes to the files in /conf.d, not directly to dovecot.conf - confusing. :) I'm trying now to connect using Thunderbird and that's not working, but I'll dig into that for awhile before asking for further help.

[Dovecot] vpopmail and proxy-* parameters (again)

2011-07-29 Thread Martin Spütz
*)request-passdb-passdb; +const struct var_expand_table *table; +const char *const *args; +unsigned int i, count; +string_t *str = t_str_new(128); + +auth_request_log_debug(request, vpopmail, lookup); + +table = auth_request_get_var_expand_table(request

[Dovecot] vpopmail + dovecot-lda doubling deliver messages

2011-07-29 Thread Juliano Nascimento
We use qmail + vpopmail + dovecot, limits and alias are in vpopmail mysql database, it has worked ok. The .qmail-default: | /data/vpopmail/bin/vdelivermail '' bounce-no-mailbox | /var/qmail/bin/preline -f /usr/local/dovecot/libexec/dovecot/deliver -d $EXT@$USER When you send a message

[Dovecot] Dovecot + Vpopmail quota issues

2011-07-19 Thread qmail
I can't get dovecot to ignore a certain directory/namespace when calculating quotas. I am running dovecot 1.2.16 with vpopmail configured for quotas. I use the dot (.) as my separator and my user structure is as follows: ../domain.com/user/Maildir for all the user directories I also have

Re: [Dovecot] Dovecot + Vpopmail quota issues

2011-07-19 Thread qmail
and dovecot properly updates the same maildirsize file as vpopmail in domain.com/user/Maildir/maildirsize However, there are two key differences still: 1. Vpopmail does not calculate the storage under domain.com/user/Maildir/Archive when it updates the maildirsize file. This is exactly what I

Re: [Dovecot] Dovecot + Vpopmail quota issues

2011-07-19 Thread qmail
maildirsize file as vpopmail in domain.com/user/Maildir/maildirsize However, there are two key differences still: 1. Vpopmail does not calculate the storage under domain.com/user/Maildir/Archive when it updates the maildirsize file. This is exactly what I want. Vpopmail reports the proper

Re: [Dovecot] Patch for vpopmail roaming users support

2011-07-06 Thread Nicolas Croiset (Campus Grenoble 90,8)
Hi Matt, I try on my setup the patch you made last month and the /home/vpopmail/etc/open-smtp leaves empty. If I go back with the vpopmail mode, it is working. I don't understand what's happened really. Bye. -- ++ | E-mail

[Dovecot] Patch for vpopmail roaming users support

2011-06-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo, here is a patch against the Mercurial repository that fixes and updates the support for roaming users under the vpopmail module. Thanks! - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer

Re: [Dovecot] Patch for vpopmail roaming users support

2011-06-07 Thread Timo Sirainen
On Tue, 2011-06-07 at 08:43 -0500, Matt Brookings wrote: Timo, here is a patch against the Mercurial repository that fixes and updates the support for roaming users under the vpopmail module. OK, but one question: + /* + vpopmail 5.4 does

Re: [Dovecot] Patch for vpopmail roaming users support

2011-06-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/07/2011 08:47 AM, Timo Sirainen wrote: On Tue, 2011-06-07 at 08:43 -0500, Matt Brookings wrote: Timo, here is a patch against the Mercurial repository that fixes and updates the support for roaming users under the vpopmail module. OK

Re: [Dovecot] Patch for vpopmail roaming users support

2011-06-07 Thread Timo Sirainen
On Tue, 2011-06-07 at 08:52 -0500, Matt Brookings wrote: + /* + vpopmail 5.4 does not understand IPv6 + */ + + if (!(strcmp(host, ::1))) + host = 127.0.0.1; Does this code really

Re: [Dovecot] Patch for vpopmail roaming users support

2011-06-07 Thread Timo Sirainen
it also mean that if someone connects via a remote IPv6 address, it again leads to open relay? How about the attached patch instead? Many systems will be running other qmail and vpopmail services from the ucspi-tcp package which may not be patched to support IPv6. As a result, when connecting

Re: [Dovecot] Patch for vpopmail roaming users support

2011-06-07 Thread Matt Brookings
. Not all systems allow localhost to relay via SMTP without authentication. Doesn't it also mean that if someone connects via a remote IPv6 address, it again leads to open relay? How about the attached patch instead? Many systems will be running other qmail and vpopmail services from the ucspi

[Dovecot] Vpopmail and lastauth

2011-04-12 Thread mail...@securitylabs.it
Hello, I'm migrating many accounts to a new server with vpopmail 5.4.33 and dovecot 2.0.11. I've already vpopmail 5.4.32 and dovecot 1.2.16 on others servers running without problems. With dovecot 2.0.11 my lastauth file is not updated. This file usually is update on any access (smtp, pop3

Re: [Dovecot] Vpopmail and lastauth

2011-04-12 Thread Rick Romero
separately, you probably don't want to use that, as the default vpopmail install assumes only 1 lastauth record per username. service pop3 { executable = /usr/local/libexec/dovecot/pop3 pop-postlogin } service pop-postlogin { executable = script-login /usr/local/etc/dovecot/lastauth-pop.sh user

Re: [Dovecot] Vpopmail and lastauth

2011-04-12 Thread mail...@securitylabs.it
On 12/04/2011 15:51, Rick Romero wrote: I had the same issue - Dovecot has it's own method of updating lastauth and doesn't put the IP address in the field, but 'pop' or 'imap'. That's would be fine, I don't need the IP and with 1.2.16 it works (no IP, only pop3/imap logged). But with 2.0.11

Re: [Dovecot] Vpopmail and lastauth

2011-04-12 Thread Timo Sirainen
blocking=no args to passdb and userdb helps: passdb { driver = vpopmail args = blocking=no } userdb { driver = vpopmail args = blocking=no } Also instead of those two changes, you could apply this patch: http://hg.dovecot.org/dovecot-2.0/rev/bbcef91eac7e

Re: [Dovecot] Vpopmail and lastauth

2011-04-12 Thread mail...@securitylabs.it
On 12/04/2011 16:13, Timo Sirainen wrote: On Tue, 2011-04-12 at 16:03 +0200, mail...@securitylabs.it wrote: On 12/04/2011 15:51, Rick Romero wrote: I had the same issue - Dovecot has it's own method of updating lastauth and doesn't put the IP address in the field, but 'pop' or 'imap'. That's

[Dovecot] Segmentation fault with vpopmail auth

2011-04-04 Thread Samuel Montosa
Hi. I am new in the list. First, excuse my english. I am not native speaker. A few hours ago I had a problem with process dovecot-auth and vpopmail. Versions I had using, working, were: vpopmail 5.4.28 dovecot-1.1.12 I tried to compile dovecot-1.2.16. Compilation was well

[Dovecot] vpopmail passdb deadlock if tcprules binary is missing

2011-02-07 Thread Teodor Milkov
Hello, I've just found that if vpopmail is compiled with --enable-roaming-users=y, but tcprules binary is missing there is kind of denial of service situation, which is not very obvious for debugging. I know this is result of misconfiguration and I suppose this is more of a vpopmail() bug

Re: [Dovecot] vpopmail disabled services fix

2011-01-16 Thread Alessio Cecchi
Il 28/12/2010 00:04, Calvin ha scritto: I noticed that disabling services using vpopmail was not being recognized by dovecot. Using vmoduser -swip u...@domain.com should disable all services, but both pop and imap logins were still allowed. After a bit of digging in the code

[Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Oliver Lehmann
Hi, I've changed my running qmail/vpopmail/procmail/courier-imap/sqwebmail installation to qmail/vpopmail/siege/dovecot/horde imp. So far, I've got everything running. Authentification with vpopmail as passdb is working, Mail delivery with siege into different Mail folders is working as well

Re: [Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Timo Sirainen
the expire plugin workinj, but it does not: # doveadm search -A mailbox INBOX subject test doveadm(olivleh1): Error: User listing returned failure doveadm: Error: Failed to iterate through some users This won't work with userdb vpopmail. I'm not sure if vpopmail API allows for a way

Re: [Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Oliver Lehmann
to make expire plugin useful? Nope - just me but I want an automatic deletion of old mailinglist emails which I don't want to do manually and I definitly do not like find -exec rm solutions. Are there other ways for deleting old emails instead of expire? You could switch from userdb vpopmail

Re: [Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Timo Sirainen
On Tue, 2011-01-04 at 12:51 +0100, Oliver Lehmann wrote: One of the reasons why I switched to dovecot was the expire plugin and right now I'm trying to set it up but I don't get it to run. So you have thousands of users to make expire plugin useful? Nope - just me but I want an

Re: [Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Oliver Lehmann
(this is usually intentional, so just ignore this message) doveadm(user): Debug: expire: Iterating only a single user, ignoring expire database doveadm(lehm...@ans-netz.de): Debug: auth input: lehm...@ans-netz.de uid=89 gid=89 home=/usr/local/vpopmail/domains/ans-netz.de/lehmann doveadm(lehm...@ans

Re: [Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Timo Sirainen
On Tue, 2011-01-04 at 13:13 +0100, Oliver Lehmann wrote: doveadm(lehm...@ans-netz.de): Debug: Effective uid=89, gid=89, home=/usr/local/vpopmail/domains/ans-netz.de/lehmann doveadm(lehm...@ans-netz.de): Debug: maildir++: root=/usr/local/vpopmail/domains/ans-netz.de/lehmann, index

Re: [Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Oliver Lehmann
Timo Sirainen t...@iki.fi wrote: On Tue, 2011-01-04 at 13:13 +0100, Oliver Lehmann wrote: doveadm(lehm...@ans-netz.de): Debug: Effective uid=89, gid=89, home=/usr/local/vpopmail/domains/ans-netz.de/lehmann doveadm(lehm...@ans-netz.de): Debug: maildir++: root=/usr/local/vpopmail/domains/ans

Re: [Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Timo Sirainen
On Tue, 2011-01-04 at 13:29 +0100, Oliver Lehmann wrote: doveadm mailbox list -u lehm...@ans-netz.de This just gave me dovecot.sieve, so /Maildir was missing from the directory. I added it by specifying mail_location: mail_location = maildir:/usr/local/vpopmail/domains/%d/%n/Maildir

Re: [Dovecot] vpopmail disabled services fix

2010-12-30 Thread Timo Sirainen
On Mon, 2010-12-27 at 15:04 -0800, Calvin wrote: I noticed that disabling services using vpopmail was not being recognized by dovecot. Using vmoduser -swip u...@domain.com should disable all services, but both pop and imap logins were still allowed. After a bit of digging in the code

[Dovecot] vpopmail disabled services fix

2010-12-29 Thread Calvin
I noticed that disabling services using vpopmail was not being recognized by dovecot. Using vmoduser -swip u...@domain.com should disable all services, but both pop and imap logins were still allowed. After a bit of digging in the code and confirming with a few debug lines, it appears

Re: [Dovecot] Dovecot + vpopmail + shared folders

2010-11-16 Thread qmail
Anyone has any ideas ? I also realized that not only can domains be placed within another sub-folder if there are too many, but so can users. For example, if a domain has 1000 users, its path might be something like: /usr/home/vpopmail/domains/8/xyz.com/A/myuser Therefore a static location

[Dovecot] Help - custom vpopmail

2010-11-16 Thread Rick Romero
Hi, First, I'm not sure if dovecot should alter this, but it seems vpopmail writes the IP into the 'remote_ip' field instead of the auth type. Dovecot still writes the auth type.  I want both. So I modified my vpopmail install to write an additional field into the lastauth table.  My custom

Re: [Dovecot] Dovecot + vpopmail + shared folders

2010-11-16 Thread Timo Sirainen
On Fri, 2010-11-12 at 14:43 -0500, qm...@top-consulting.net wrote: I'm using dovecot 1.2.14 with vpopmail. I've enabled shared folders and the default setup was not working. The default setup being this line: location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u Going through

Re: [Dovecot] Help - custom vpopmail

2010-11-16 Thread Timo Sirainen
On Tue, 2010-11-16 at 10:30 -0600, Rick Romero wrote: So I modified my vpopmail install to write an additional field into the lastauth table. My custom vpopmail writes the remote IP into remote_ip, and the auth type into a 'type' field. I tested with qmail's POP3 daemon to verify vchkpw

Re: [Dovecot] Dovecot + vpopmail + shared folders

2010-11-16 Thread qmail
up at all: 2 namespace * NAMESPACE (( .)(Labels. .)) ((shared. .)) NIL here's my config for it: namespace shared { separator = . prefix = shared.%%u. location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u #location = maildir:/usr/home/vpopmail/domains/P/%d/%%n/Maildir:INDEX

Re: [Dovecot] Dovecot + vpopmail + shared folders

2010-11-16 Thread Timo Sirainen
domains.) I am running the IMAP commands directly through telnet and although the namespace exists, it doesn't show up at all: If I use the location that I commented out, shared folders will work for all the domains that exist under /usr/home/vpopmail/domains/P 1) Find out some mailbox name

Re: [Dovecot] Dovecot + vpopmail + shared folders

2010-11-16 Thread qmail
): Namespace 'shared.': Could not lookup home for user @top-consult ing.net Now, for authentication I use the vpopmail module like so: auth default { mechanisms = plain login passdb vpopmail { args = webmail=192.168.1.4 } userdb vpopmail { args = quota_template=quota_rule=*:backend

Re: [Dovecot] Dovecot + vpopmail + shared folders

2010-11-16 Thread Timo Sirainen
On Tue, 2010-11-16 at 13:16 -0500, qm...@top-consulting.net wrote: Nov 16 13:07:35 pop dovecot: IMAP(she...@top-consulting.net): userdb lookup: connect(/var/run/dovecot/auth-master) failed: No such file or directory It should be connecting to auth-userdb. You probably have auth_socket_path

  1   2   3   >