Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-10 Thread Pablo Murillo
CONCAT('*:bytes=', 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

Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-10 Thread st...@keptprivate.com
the 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

Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-10 Thread Eric Broch
now is working ! 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/m

Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-10 Thread Pablo Murillo
sword 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

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 the past, a

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 m

Re: SQL-AUTH driver replace for VPOPMAIL-AUTH

2021-02-09 Thread Pablo Murillo
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 the past, and the pass is encrypted. Remo On Feb 9, 2021, at 19:04, Pablo Murillo <mailto:i...@pablo

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 (CRA

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 against t

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. Is there a

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 dat

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-03 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, or a set

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 to

Re: Still trouble with vpopmail

2017-05-31 Thread Aki Tuomi
gt; ^ >> userdb-vpopmail.c:72:2: error: void value not ignored as it ought to be >> if (var_expand(quota, template, tab, error_r) < 0) > Hi! Seems there has been mistake in porting the patch from master to release... can you try the attached patch? Aki From ff3c395b4d1ab89a305

Re: Still trouble with vpopmail

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

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 wrote: > Getting this error: > > In file included from ../../src/lib/lib.h:6:0, >> from auth-common.h:4, >> from userdb-vpopmail.c:5: >

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 ‘userdb_v

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

Re: Vpopmail Error

2017-04-11 Thread Eric Broch
l 11, 2017 at 8:29 PM Bobber wrote: 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 To: dovecot@dovecot.org, Bobber Date: 04/1

Re: Vpopmail Error

2017-04-11 Thread Aki Tuomi
t 54. > > 1 out of 1 hunk FAILED -- saving rejects to file userdb-vpopmail.c.rej > > > ---- Original Message > Subject: Re: Vpopmail Error > From: Aki Tuomi > To: dovecot@dovecot.org, Bobber > Date: 04/11/2017 12:13 PM > > diff --git a/src/auth/userdb-v

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 To: dovecot@dovecot.org, Bobber Date: 04/11/2017 12:13 PM diff --git a

Re: Vpopmail Error

2017-04-11 Thread Aki Tuomi
aving directory '/usr/local/src/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

Re: Vpopmail Error

2017-04-11 Thread Bobber
27;/usr/local/src/dovecot-2.2.29' Makefile:463: recipe for target 'all' failed make: *** [all] Error 2 Original Message Subject: Re: Vpopmail Error From: Timo Sirainen To: Bobber Date: 04/11/2017 02:28 AM On 10 Apr 2017, at 23.55, Bobber <mailto:bob...@kc0dxf.

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: undefined >> reference to

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 th

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 referen

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 1

replication and backend vpopmail

2016-12-13 Thread Havrla
_key =% u quota_template 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 examp

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

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 cou

Re: vpopmail, open_smtp_relay and non-PLAIN auth mechs

2014-10-31 Thread Jim Jagielski
ote: > > > 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 rela

Re: vpopmail, open_smtp_relay and non-PLAIN auth mechs

2014-10-30 Thread Timo Sirainen
On 30 Oct 2014, at 05:50, Jim Jagielski 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

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

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
here may be some 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 f

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

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] 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

[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 requests

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

2013-09-26 Thread Charles Sprickman
moving from some very old software (ancient 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

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

[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 t

[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 post

[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 vpopma

Re: [Dovecot] Vpopmail Dynamic Authentication Module

2012-09-08 Thread Eric Sisolak
> > -I../.. -I../lib -I/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

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 > us

[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

[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

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. Tha

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 permitte

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 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

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread Rick Romero
nged first/last 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

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. Regar

[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 (

[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

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

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

Re: [Dovecot] Dovecot + Vpopmail quota issues

2011-07-19 Thread qmail
t 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 want. Vpo

Re: [Dovecot] Dovecot + Vpopmail quota issues

2011-07-19 Thread qmail
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

[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

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. -- +

Re: [Dovecot] Patch for vpopmail roaming users support

2011-06-07 Thread Matt Brookings
ut 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 to "::1", it will be translated to 127.0.0.1, >> and as I sa

Re: [Dovecot] Patch for vpopmail roaming users support

2011-06-07 Thread Timo Sirainen
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 &

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:57 AM, Timo Sirainen wrote: > On Tue, 2011-06-07 at 08:52 -0500, Matt Brookings wrote: >>>> + /* >>>> + vpopmail 5

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&qu

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

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

[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 BrookingsGnuPG Key FAE0672C Software developer Systems

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 w

Re: [Dovecot] Vpopmail and lastauth

2011-04-12 Thread Timo Sirainen
updated as in 1.2.x I'm figuring out if I need to update > my conf in some way. Probably adding 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 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 Rick Romero
e' field so I can keep track of pop/imap/smtp 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 = scr

[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 (

[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 but in

[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

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 =

Re: [Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Oliver Lehmann
Timo Sirainen 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-netz.de

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/le

Re: [Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Oliver Lehmann
_zlib_plugin.so: Undefined symbol "i_stream_create_deflate" (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

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

Re: [Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Oliver Lehmann
ake 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 vpopma

Re: [Dovecot] Vpopmail + Expire Plugin

2011-01-04 Thread Timo Sirainen
doveadm -A must work to get 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 v

[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 worki

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 o

[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 ap

Re: [Dovecot] Dovecot + vpopmail + shared folders

2010-11-17 Thread Timo Sirainen
On Tue, 2010-11-16 at 17:26 -0500, qm...@top-consulting.net wrote: > and shared folders work just fine. However, I am seeing a lot of new > errors like these in the maillog file now: > > Nov 16 17:20:46 mx dovecot: auth(default): vpopmail(@domain1.com): > unknown user Look

Re: [Dovecot] Dovecot + vpopmail + shared folders

2010-11-16 Thread qmail
Another issue appeared however. I added these lines: socket listen { master { # Typically under base_dir/, if not the directory must be created. path = /var/run/dovecot/auth-master mode = 0600 user = vpopmail # User running deliver #group = mail # Or

Re: [Dovecot] Help - custom vpopmail

2010-11-16 Thread Rick Romero
Quoting 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 &

Re: [Dovecot] Dovecot + vpopmail + shared folders

2010-11-16 Thread qmail
It works...wow! I was sure it would have required some massive modifications but it didn't. Thank you Timo! On Tue, 2010-11-16 at 13:27 -0500, qm...@top-consulting.net wrote: Maybe I'm missing some part of the configuration. I don't have a service auth { part and the auth_socket_path is comm

Re: [Dovecot] Dovecot + vpopmail + shared folders

2010-11-16 Thread Timo Sirainen
On Tue, 2010-11-16 at 13:27 -0500, qm...@top-consulting.net wrote: > Maybe I'm missing some part of the configuration. I don't have a > service auth { part and the auth_socket_path is commented out. Here is > my full config: > > > > > # 1.2.14: /usr/local/etc/dovecot.conf Oh, I thought you

Re: [Dovecot] Dovecot + vpopmail + shared folders

2010-11-16 Thread qmail
. prefix: shared.%%n. location: maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u list: children lda: sendmail_path: /usr/sbin/sendmail auth default: mechanisms: plain login username_format: %Lu verbose: yes passdb: driver: vpopmail args: webmail=192.168.1.4 userdb: driver

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   >