[EMAIL PROTECTED] wrote:
>>
>>[EMAIL PROTECTED] wrote:
>>
>>>>>>>>How to solve this?? Can I insert a command "vacation -I" somewhere,
>>>>>>>>and
>>>>>>>>where should this have to be?
>>>>>>>>
>>>
>>>I got vacation_local-2.1-1.4-alpha-2.tar.gz and have set the necessary
>>>in
>>>the config-files.
>>>I get:
>>>ACTION: init === REMOTE: === LOCAL: === USER: xxxx === PASSWORD: xxxxxx
>>>
>>>An error occurred initializing the autoresponder:
>>>
>>
>>There is no further message?  Maybe look in web server logs or system
>>log.  Try running command on command line.  Make sure you set up any
>>related Makefile options, etc.
> 
> 
> I did all that. The errorline above comes out of vac_init.php. There is
> nothing more behind the colon. I checked /var/log/messages, maillogs and
> all apache2 logs, but no errors reported there.
> If I use vacation -I as the user in his homedir, it works, .vacation.db is
> created then, without any further output.

But you did not run the binary from the command line, which is what you
should do.

cd plugins/vacation_local
squirrelmail_vacation_proxy 'localhost' 'your_username_here'
'your_password_here' 'init' '???' '???'

Or better yet, preface that last one with

sudo -u wwwrun

Previously, the plugin was working for you, right?  Other parts of it
work, just not the -I?

> I also have compiled with DEBUG -D DEBUG, giving no clues. Same "error
> occurred", no more.
> These are the settings in config.mk:
> BINDIR = ..
> WEBUSER = wwwrun
> VACATION_PATH = /usr/bin/vacation
> VACATION_INIT_FLAG = -I
> RESTRICTUSE = -D RESTRICTUSE
> NOROOT = -D NOROOT
> USESHADOW = -D USESHADOW
> DEBUG = -D DEBUG
> LCRYPT = -lcrypt
> LIBDIR =
> CFLAGS = -g
> LFLAGS = -g
> CCM = cc -Em
> 
> Settings in config.php:
> <?php
> global $forward_data, $sq_vacation_file, $vacation_file,
>        $username, $mail_vacation_binary, $sq_forward_addresses_file,
>        $vacation_delete, $mail_vacation_binary, $forward_file,
>        $vac_debug, $vacation_backend, $ftp_server, $ftp_passive,
>        $sq_vacation_subject_file, $ldap_lookup_ftp_server,
>        $vacation_path, $maintain_dot_forward_file, $vacation_prefs_file,
>        $ldap_base, $ldap_server, $ldap_attribute, $always_initialize,
>        $set_hostname;
> $vacation_backend = 'suid';
> $ldap_lookup_ftp_server = 0;
> $ldap_base = 'ou=People,dc=DOMAIN,dc=com';
> $ldap_server = 'your.ldap.server.com';
> $ldap_attribute = 'mailhost';
> $mail_vacation_binary = './squirrelmail_vacation_proxy';
> $vacation_prefs_file = '.vacation.pref';
> $sq_vacation_subject_file = '.forward.subj';
> $sq_forward_addresses_file = '.forward.fwd';
> $sq_vacation_file = '.vacation.sq';
> $vacation_file = '.vacation.msg';
> $vacation_delete = '.vacation.db';
> $maintain_dot_forward_file = 1;
> $always_initialize = 1;
> $vacation_path = '/usr/bin/vacation';
> $forward_file = '.forward';
> $set_hostname = 0;
> $vac_debug = 1;
> ?>
> 
> 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to