|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Courier Vacation/Compatibility Issue
As I am setting up a new email server using
http://flurdy.com/docs/postfix/ I have created a postfix mail server with virtual users and domains as listed in the article above. I install squirrelmail fine but, I am currently trying to work with the courier vacation plug-in to all my users to setup there own vacation auto-response, when I do I get this error Fatal error: Call to undefined function sqgetGlobalVar() in /usr/share/squirrelmail/plugins/compatibility/includes/1.5.2/global.php on line 999 I am using courier_vacation-1.1-1.2 and here is my squirrelmail versions
PHP version 5.2.6-3ubuntu4.2 OK. I don't want to just comment out the function called on this line and I am unable to get a good search on this for a resolution ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ----- squirrelmail-plugins mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-plugins@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins |
||||||
|
|
Re: Courier Vacation/Compatibility IssuePlease only send plain text email messages to this list.
> As I am setting up a new email server using > > http://flurdy.com/docs/postfix/ > > I have created a postfix mail server with virtual users and domains as listed in the article above. I > install squirrelmail fine but, I am currently trying to work with the courier vacation plug-in to all my > users to setup there own vacation auto-response, when I do I get this error > > Fatal error: Call to undefined function sqgetGlobalVar() in > /usr/share/squirrelmail/plugins/compatibility/includes/1.5.2/global.php on line 999 > > I am using courier_vacation-1.1-1.2 and here is my squirrelmail versions > SquirrelMail version: 1.4.15 > Config file version: 1.4.0 > Config file last modified: 12 November 2009 09:55:07 > Checking PHP configuration... > PHP version 5.2.6-3ubuntu4.2 OK. > > I don't want to just comment out the function called on this line and I am unable to get > a good search on this for a resolution http://squirrelmail.org/wiki/CompatibilityDependencies Also note that Courier Vacation may or may not be compatible at all with 1.5.2 -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ----- squirrelmail-plugins mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-plugins@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins |
||||||
|
|
Re: Courier Vacation/Compatibility Issue
I am sorry about the html must have been the signature.
As I research this further, the site states that the courier_vacation plugin requires compatibility 1.x instead of 2.x which is what I am using and have to use because of the change_sqlpass option. I tried to update the top as suggested. <?php define('SM_PATH','../../'); require_once(SM_PATH . 'include/validate.php'); if (file_exists(SM_PATH . 'include/validate.php')) include_once(SM_PATH . 'include/validate.php'); else include_once(SM_PATH . 'src/validate.php'); load_config('courier_vacation', array('config.php')); include_once(SM_PATH . 'plugins/courier_vacation/functions.php'); global $messageFileName, $subjectFileName, $ccAddressesFileName, $keepMessagesFileName, $vacationMessageSubmit, $messageText, $vacationStatus, $messageSubject, $ccAddresses, $keepMessages, $username, $data_dir, $color; // get flag that tells us if this is a vacation // message submission // sqgetGlobalVar('vacationMessageSubmit', $vacationMessageSubmit); // get the user's home directory // $homeDir = getHomeDirectory($username); // if a message and other info was submitted, process it here // if (isset($vacationMessageSubmit) && $vacationMessageSubmit == 1) { sqgetGlobalVar('messageText', $messageText); sqgetGlobalVar('vacationStatus', $vacationStatus); sqgetGlobalVar('messageSubject', $messageSubject); sqgetGlobalVar('ccAddresses', $ccAddresses); sqgetGlobalVar('keepMessages', $keepMessages); // // file names... // // file in user's directory where vacation message text is kept // $messageFileName = 'vacation.txt'; // file in user's directory where vacation message subject is kept // $subjectFileName = 'vacation_subject.txt'; // file in user's directory where cc addresses are kept // $ccAddressesFileName = 'vacation_cc_addresses.txt'; // file in user's directory that serves as a flag that messages // should be retained in the local account as well as forwarding copies... // $keepMessagesFileName = 'vacation_keep_messages.txt'; // // backend settings // // this setting determines where your user settings are // stored. currently, only MySQL is supported, although // that could change... // $backend = 'mysql'; // // MySQL settings // // your MySQL server // $mysql_server = 'localhost'; // the MySQL user ID // $mysql_user = 'user'; // the MySQL user's password // $mysql_pwd = 'user_pass'; // the MySQL database that contains email account information // $mysql_database = 'db'; // the MySQL table that contains email account information // $mysql_table = 'users'; // the MySQL field that contains users' home directory locations // $mysql_home_field = concat('home','maildir'); //this should put the proper home directory in, since it is virtual the home directory is sql cell home (/var/spool/mail/virtual) and maildir (userx/) // the MySQL field that contains users' IDs // $mysql_userid_field = 'id'; ?> ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ----- squirrelmail-plugins mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-plugins@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins |
||||||
|
|
Re: Courier Vacation/Compatibility Issue> As I research this further, the site states that the courier_vacation plugin
> requires compatibility 1.x instead of 2.x which is what I am using and have > to use because of the change_sqlpass option. > > I tried to update the top as suggested. > > <?php <snip> I don't know what this is, since it looks like a combination of two different files. If you patch stuff on your own, you're on your own. If you want to show what you've done, show a unified diff. It might be easier if you just read what else it says about the Courier Vacation plugin. > define('SM_PATH','../../'); > require_once(SM_PATH . 'include/validate.php'); > if (file_exists(SM_PATH . 'include/validate.php')) > include_once(SM_PATH . 'include/validate.php'); > else > include_once(SM_PATH . 'src/validate.php'); .... -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ----- squirrelmail-plugins mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-plugins@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins |
| Free embeddable forum powered by Nabble | Forum Help |