On 1/10/06, Wm Mussatto <[EMAIL PROTECTED]> wrote:
> 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

Please grab code from plugin CVS, where this issue should be fixed.

> 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:

This is clever.  I don't have the code in front of me and it's been a
little while, but I thought the C app su'd to the target user and got
that information for itself.

> $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.

Post date?


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

Reply via email to