[Workaround.org] Goldfish not autoresponding 2
Greg Wilson
gwilson at summerland.com.au
Thu Jun 18 02:09:52 CEST 2009
Pete,
I have to confess I have no idea to the answers to any of your
questions.
I spent ages trying to get Goldfish working and eventually handed it
over to a Jan Schnieder <consulting at janschneider.de> who does some Horde
consulting to sort it out for me. Jan was able to get Goldfish working
and integrated with our Horde webmail system so users could turn it on
and off as required.
Cheers,
Greg.
BTW I don't know if any of you are familiar with Odesk www.odesk.com .
oDesk is a global service marketplace for small and medium sized
business to hire, manage, and pay remote freelancers or teams. It's a
great way to get support for IT projects as there are people all over
the world who bid for the work.
Greg Wilson
System & Network Administrator
Summerland Credit Union
PO Box 657, Lismore 2480
P 02 6620 7010
F 02 6622 0264
W www.summerland.com.au
E gwilson at summerland.com.au
"This e-mail and any attachments or annexure hereto are confidential and
subject to copyright and no use may be made of them without the consent
of, or pursuant to a written agreement with, Summerland Credit Union. To
the extent possible by law, Summerland Credit Union disclaims all
liability in relation to any loss or damage suffered by the use or
reliance upon any information contained herein or in any attachment or
annexure hereto by any person."
P Please consider the environment before printing this e-mail
-----Original Message-----
From: workaround-chitchat-bounces at workaround.org
[mailto:workaround-chitchat-bounces at workaround.org] On Behalf Of Pete
Boyd
Sent: Wednesday, 17 June 2009 6:56pm
To: General talk about the contents of workaround.org
Subject: Re: [Workaround.org] Goldfish not autoresponding 2
Thanks Greg.
Where '$conf['q_mailbox_path']' is set you explicitly set your domain in
'%m at summerland.com.au' where the original uses just '%m'. Why do you do
this? and why do you only do it for this instance of %m and not others?
I've described the changes you make from the original here, being as I
did
this for my own analysis, for the sake of others following along:
This in the original:
$conf['q_mailbox_path'] = "SELECT CONCAT('/home/vmail/',
SUBSTRING_INDEX(email,'@',-1), '/', SUBSTRING_INDEX(email,'@',1), '/')
as
`path` FROM view_users WHERE `email` = '%m'";
You change to this:
$conf['q_mailbox_path'] = "SELECT
CONCAT('/home/vmail/',SUBSTRING_INDEX(email,'@',-1), '/',
SUBSTRING_INDEX(email,'@',1), '/') as `path` FROM users WHERE `email` =
'%m at summerland.com.au'";
This in the original:
$conf['q_disable_forwarding'] = "UPDATE `autoresponder` SET `enabled` =
0
WHERE `to` < CURDATE();";
$conf['q_enable_forwarding'] = "UPDATE `autoresponder` SET `enabled` = 1
WHERE `from` = CURDATE();";
You change to this:
$conf['q_disable_forwarding'] = 'SELECT 1';//"UPDATE `autoresponder` SET
`enabled` = 0 WHERE `to` < CURDATE();";
$conf['q_enable_forwarding'] = 'SELECT 1';//"UPDATE `autoresponder` SET
`enabled` = 1 WHERE `from` = CURDATE();";
This in the original:
$num = mysql_num_rows($result);
You change to this:
$num = mysql_num_rows($result);
$emails = $name = $paths = array();
This in the original:
$paths[] = mysql_result($result, 0, 'path') . 'new/';
You change to this:
if (mysql_num_rows($result)) {
$paths[] = mysql_result($result, 0, 'path') . 'new/';
}
--
Pete Boyd
Open Plan IT - http://openplanit.co.uk
The Golden Ear - http://thegoldenear.org
_______________________________________________
Workaround-chitchat mailing list
Workaround-chitchat at workaround.org
http://workaround.org/cgi-bin/mailman/listinfo/workaround-chitchat
More information about the Workaround-chitchat
mailing list