Re: change_sqlpass for qmailtoaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/14/15, Rajesh M <24x7server@xxxxxxxxxxxxxx> wrote:
> hi
>
> i was able to adapt the change_sqlpass plugin to suit vpopmail mysql
> database of qmailtoaster wherein the domains are created as domain_com.
>
> however i got stuck at one specific point
>
> as per the details in the config file the variable : %3 returns the domain
> name as : domainname.com
>
> how do i get domainname.com within a variable so that i can replace dot with
> underscore ie domainname.com with domainname_com

https://dev.mysql.com/doc/refman/5.5/en/string-functions.html#function_replace

You should use this in your FROM clauses also if you intend to serve
users on more than one domain.

> for example i tried to use : $domainname = %3; but php throws a blank page.

http://www.squirrelmail.org/docs/admin/admin-11.html#ss11.1


-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux