Trevor,

> I had this problem as well.  I installed the vacation_local, jumped through 
> the
> hoops to get it working, and was able to get the plugin working.  However, the
> actual sending of the vacation message was getting the "Command died with 
> status
> 1" error.
> 
> I knew that the problem had to do with the missing .vacation.db file because I
> encountered and fixed this before but that was not with a webmail interface 
> and
> plugin so this was some new territory for me.
> 
> I am running:
> -- SquirrelMail version 1.4.5
> -- SquirrelMail vacation_local plugin version 2.0
> -- Postfix 2.1.1
> 
> I could not find the alpha or beta file of vacation_local floating around so I
> had to configure what I had.

Or you could ask for it...

> Because the interface runs as the apache server user such as "wwwrun" it does
> not have the permission to write to the users home directory.  So to resolve
> this I set up a sudoers file to allow "wwwrun" to run the vacation
> initialization as the user setting the vacation message.  So I had to give
> permission to "wwwrun" for all of the users who need to write the messages.  I
> only have around 23 users who need to be set up with this so this 
> configuration
> is not a big deal for me.  There could be a better way of doing such as giving
> permissions to a group ID.  I didn't explore anything like that.
> 
> Using visudo here is the sudoers file I set up:
>      Runas_Alias     POPMAIL = {list of users using the vacation utility}
>      .
>      .
>      wwwrun  ALL=(POPMAIL) NOPASSWD: /usr/bin/vacation

Thanks for the idea.  I integrated it as a way to run the initialization
if you are not using the suid backend.  Much appreciated.  I will send a
copy of the code offlist.

Cheers,

 Paul


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/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