Installing SM on new server (we have older version working on current
server).
SM is from debian stable package: 1.4.4 <sorry debian packages is down for
the last couple of days> googled for similar problems but no luck
Setup:
- debian Sarge 64 (Opteron)
- Apache (eventually ssl but not yet)
- Dovecote (but I don't think this is relevent)
- Mailbox type maildir
- maildrop 1.5.3 <- yes its eve at /usr/bin/maildrop
- PHP 4.3.10-16
- apache Apache/2.0.54
Plugins
  Installed Plugins
    1. delete_move_next
    2. squirrelspell
    3. compatibility
No issues

Attempting to install serversidefilter

Tried both procmail and maildrop.

If $ALWAYS_CREATE = true;

SM generates:
Fatal error: Call to undefined function: _write_spam_filter() in
/usr/share/squirrelmail/plugins/serversidefilter/functions.php on line 90

when I successfully log in.  If I have it set to false I get the same
error when I go to options->filters.

We use real linux users with real addresses and their location is tied to
their website so I have to generate their real home directory.  To do this
I've modified config.php (in plugins/serversidefilters):

list($dir,$gecos,$gid,$name,$passwd,$shell,$uid)
          = posix_getpwnam($username);
I then use the $dir to determine the various directories:

$FILTER_FILE_PATH = "$dir/.mailfilter";
$DEFAULT_DELIVERY = '$MAILDIR';
$LOCAL_MAILDIR = "$dir/mail/";
$USE_MAILDIRS = 1;
$VIRTUAL_DOMAINS = 0;
$FORWARD_FILE_TYPE = "forward";
$FORWARD_FILE_PATH = "$dir/.forward";
$FILTER_APP_PATH = '/usr/bin/maildrop';

In scripts I've chmod chowned filtercmd:

-rwsr-x---  1 root www-data 2493892 Apr 19  2004 filtercmd

Any thoghts, help?  Thanks. BTW: 2nd post no response to the less detailed
1st post. On prior server was running Procmail Filter Configuration with a
hack to bypass the ftp function.

-----------
William R. Mussatto
Systems Engineer
http://www.csz.com
909-920-9154




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/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