Any news on this issue yet ?
----- Original Message -----
From: "Paul Lesneski" <paul_lesneski@...>
To: "Jan Alphenaar" <jan.alphenaar@...>
Cc: "Squirrelmail Plugins List" <squirrelmail-plugins@...>
Sent: Saturday, August 06, 2005 5:50 AM
Subject: Re: [SM-PLUGINS] Question regarding plugin vacation_local
> Dear list members,
> I am trying to install the squirrelmail vacation_local plugin. Although I
> was quite successfull, things are not running as they supposed to be. If
> anybody can give me a hand here, it is appreciated.
> This is my install:
> * apache_1.3.31
> * php-4.3.7
> * qmail-1.03
> * squirrelmail-1.4.5
> * vacation_local-2.0-1.4
> After installing the plugin, it is available under 'options' in de
> squirrelmail GUI. Now it is possible to fill in the following fields.
> 1) Send auto-reply to sender
> 2) Vacation Subject
> 3) Vacation message
> 4) Forward incoming message to addresses listed below ?
> 5) No local delivery; forward and/or auto-reply only
> 6) Forward email addresses (one address per line)
> When I fill in the fields the files are created, just as I configured it
> be in config.php file (see below).
> So far so good, but the content of the .qmail file is not what it is
> supposed to be:
> "|/opt/qmail-vacation/bin/vacation jan"
> Qmail is not able to handle a .qmail file with such a syntax and therefore
> the vacation plugin is not working on my system.
> When I manually edit the .qmail file and put the following content in it,
> everything works fine.
> |/opt/qmail-vacation/bin/vacation jan
Eiw. Thanks, qmail. There will have to be some changes made including
some kind of config option that indicates what kind of .forward syntax you
need. I can work on this in the next wee.
> So I started to make changes to the vac_init.php file to get things up and
> running. I changed the following lines which results in the fact that the
> vacation plugin is working if I do not enable forwarding
> --> Line 204 & 205
> $forward_file_contents .= '|' . $vacation_path . ' '
> . $alias_list . $username . "\n";
> --> Line 224
> $forward_file_contents .= '/home/' . $username . '/Maildir/';
Please show unified diff.
> When I enable forwarding everything breaks again. This is because the
> does not strip of the ^M character at the end of each email address
> (inserted by the browser). Qmail now thinks that the email address is
> jan@...^M so with the ^M at the end of the domain name. I am very
> surprised that I have to make such changes to the code, since
> 21.000 people already have downloaded the plugin.