>
>
> [EMAIL PROTECTED] wrote:
>>>
>>>[EMAIL PROTECTED] wrote:
>>>
>>>>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
>>>
>>
>>
>> In /var/log/messages:
>> Sep 20 19:03:18 mail sudo:     root : TTY=pts/1 ;
>> PWD=/srv/www/htdocs/squirrelmail/plugins/vacation_local ; USER=wwwrun ;
>> COMMAND=./squirrelmail_vacation_proxy localhost xxxx xxxxxxxx init ???
>> ???
>
> Then you might want to insert some debugging in the vacation binary
> itself -- perhaps output the UID/GID right before the init is executed,
> to make sure it is executed as the right user.  Or maybe there is a
> problem with the location from which it is run.  I don't have time ATM
> to help, so you are encouraged to dig on your own if you know some C.
> Let me know either way.
>
>> This is executed out of the homedir of the user, which did not work
>> either:
>> Sep 20 19:09:03 mail sudo:     root : TTY=pts/1 ; PWD=/home/xxxx ;
>> USER=wwwrun ;
>> COMMAND=/srv/www/htdocs/squirrelmail/plugins/vacation_local/squirrelmail_vacation_proxy
>> localhost xxxx xxxxxxxx init ??? ???
>>
>> There is no .vacation.db and no errors.
>>
>>
>>>Previously, the plugin was working for you, right?  Other parts of it
>>>work, just not the -I?
>>
>>
>> Yes, if i execute a vacation -I by hand, from the commandline, logged in
>> as the user in homedir, I get a .vacation.db file. Command generates no
>> further output.
>> Vacation-mail is sent to Sender, and only once, as long as vacation is
>> not
>> ended. So everything works, except generating of .vacation.db
>
> To be clear, I am asking if the *plugin* (not vacation -I) works for
> other things, like saving the message files to the user home directory,
> etc.
>

Yes, I understand, and everything works. Message and subject is saved, and
sent to Sender (provided there is a .vacation.db). If the .db-file is not
present, the Sender gets a bounce message from postfix:

Command died with status 1: "/usr/bin/vacation <user>"

and a message in mail.log about missing .vacation.db

But the plugin works.

I am not much of a programmer, but I will try to find some time to dig
into it.

Thanks so far, will keep you posted.
>
> --
> __________________________
> Open Guild, LLC
> http://openguild.net/
> Software.Systems.Solutions
>
>
> -------------------------------------------------------
> 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
>



-------------------------------------------------------
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)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to