Eric, sorry I did not express myself right, at the time I installed the old server I did not know how to do that, but now I saw it in that link you shared, thank you.

I will use it but also want to test qmailadmin driver to see that it does and I share here.

Thanks

Em 22/01/2019 19:16, Eric Broch escreveu:

2nd to last post:

$rcmail_config['password_driver'] = 'sql';
$rcmail_config['password_db_dsn'] = 'mysql://vpopmailuser:password@localhost/vpopmail';
$emailuser=$_SESSION['username'];
$domain = split("@",$emailuser);
$dom_table = str_replace(".","_",$domain[1]);
$rcmail_config['password_query'] = "UPDATE $dom_table SET pw_passwd=%c, pw_clear_passwd=%p WHERE pw_name=%l LIMIT 1";

On 1/22/2019 1:43 PM, Leonardo Porto wrote:

Right!

I use that in the old server but I did not know how to convert the "." into "_" then I fixed the domain name. I considered use it again but I can not remember how I got the vpopmail user's password in mysql or if I simply changed it. Can I change its password? I mean, will something stop working if I change it?


Em 22/01/2019 13:01, Eric Broch escreveu:

Here's on using mysql driver roundcube and account for our '_' in the domain name:

https://www.roundcubeforum.net/index.php?topic=6083.0

On 1/22/2019 7:55 AM, Leonardo - IW Telecom wrote:

Yeah I saw about it too but I did not try yet... I will try both and post the instructions.

Thanks


Em 22/01/2019 12:15, Eric Broch escreveu:

Here's another plugin that I've found, it logs into qmailadmin:

http://www.davidc.net/miscellany/qmailadmin-plugin-roundcube

On 1/22/2019 6:59 AM, Leonardo - IW Telecom wrote:

Eric,

I found the same page and I am thinking to do exactly you said.
Do you use roundcube or recommend another driver for password plugin?

Thanks.


Em 22/01/2019 11:37, Eric Broch escreveu:

Leonardo,

I've never used vpopmaild, but...Have a look here:

https://qmail.jms1.net/vpopmail/vpopmaild.shtml

I think you can tailor the location of the run script to match the current qmail configuration in /var/qmail/supervise/

Eric

On 1/22/2019 6:17 AM, Leonardo Porto wrote:

Hi everyone,

I am using Roundcube with my new qmailtoaster centos7 installation. But I did not installed it using yum, I downloaded it from roundcube website and run installation script, I guess it is the same result. I trying to use the password plugin, it seems its default db driver does not work with qmail/vpopmail, so I tryed vpopmaild. I run vpopmaild in command line using tcpserver and succefully changed the password in roundcube - I could see it working in command line. Now I suppose I have to create supervise files for vpopmaild... is that the usual method? Or you guys use something else?
Thanks.

Leonardo.

--
Eric Broch
White Horse Technical Consulting (WHTC)
--
Eric Broch
White Horse Technical Consulting (WHTC)
--
Eric Broch
White Horse Technical Consulting (WHTC)
--
Eric Broch
White Horse Technical Consulting (WHTC)

Reply via email to