Ok, forgot I had show errors enabled in php, so that explains that.

Since then... I installed the ServerSideFilter plugin, modified the config
of that plugin, squirrelmail, and courier-mta files to allow that plugin
and maildrop to work, and email still gets delivered to my inbox, but no
filter files get stored. The test.sh script in
serversidefilter/script/test.sh doesn't work either. The error I get is as
follows:
-bash: script/test.sh: Permission denied

I'm guessing permissions are wrong on folders, somewhere, or the parameter
I told it to put the files at is wrong, but I'm not sure what I need to do
to fix it. Here are a few from inside the plugin's config.php after I set
them:
$FILTER_FILE_PATH = '/home/[USERNAME]/.mailfilter';
$FILTER_APP_PATH = '/usr/lib/courier/bin/maildrop';
$DEFAULT_DELIVERY = '$MAILDIR';
$LOCAL_MAILDIR = '$HOME/[USERNAME]/Maildir/';
$USE_MAILDIRS = 1;
$VIRTUAL_DOMAINS = 0;
the spamfilter lines and forward_file_type lines are commented out since I
don't want them.

The apache user:group is wwwrun:www and the plugins sub/folders are owned
by root:nobody except where indicated in the plugin readme.

Help please? :-)

Brian

On Tue, July 19, 2005 14:44, Jay Lee wrote:
> Brian S. Meehan wrote:
>> I have Suse pro 9.3, apache, courier mta 0.50.1 with authlib & imap,
>> squirrelmail 1.4.5, and am using the filters plugin that came with SM.
>> Often I have the following error in any page I attempt to view such as
>> the
>> main frame, but also the left frame listing the folders:
>> "
>> Notice: Undefined offset: 1 in
>> /srv/www/htdocs/plugins/filters/filters.php
>> on line 310
>> "
>> Does anyone have any ideas on how to fix it? Filters seem to work, but
>> it's rather annoying because sometimes the page doesn't load and
>> sometimes
>> it displays anywhere between 1 and 7 error lines of the same thing. When
>> I
>> have no filters set up, it does not display errors.
>>
> First, you should look into using serversidefilters plugin along with
> IMAP, it's much faster and more powerful.  Once setup, you can do really
> cool things like have emails from important persons auto-forwarded to
> your cellphone.  The generic filters plugin uses PHP code to filter and
> does it at login time so it's always going to be slower and if you have
> to many rules and/or a full inbox, it's painful.  Now, I'm not sure
> what's causing the notice to display but there's a few ways to turn it
> off.  You can just tell PHP not to display code problems by setting
> display_errors to Off in php.ini.  You can also have PHP only display
> true errors and warnings but not notices like the one your seeing by
> setting error_reporting to be:
>
> E_ALL & ~E_NOTICE
>
> this will show warnings and errors but not notices like the one your
> receiving.  As to the root cause of the notice, my only thought is that
> your PHP might be old, try upgrading to the latest 4.3.x release and see
> if that helps.
>
> Jay
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> --
> squirrelmail-users mailing list
> Posting Guidelines:
> http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
> List Address: [email protected]
> 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: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
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