Jump to content

McC

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by McC

  1. Should've thought of that sooner. Thanks!
  2. I must be continuing to do something wrong, because it's still reporting 0s. Here's the full text of my script (with user-sensitive stuff replaced by ****). >#!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); my $salearn = "/usr/bin/sa-learn"; $|; print "Content-type: text/plain\n\n"; print "Learning SPAM:\n"; print `$salearn -p /home/****/.spamassassin/user_prefs --mbox --spam --showdots /home/****/mail/****/****/.learn_spam/cur 2>&1`; print "\n"; print `$salearn -p /home/****/.spamassassin/user_prefs --mbox --spam --showdots /home/****/mail/****/****/.learn_spam/cur 2>&1`; print "\n\n"; print "Learning HAM:\n"; print `$salearn -p /home/****/.spamassassin/user_prefs --mbox --ham --showdots /home/****/mail/****/****/.learn_ham/cur 2>&1`; print "\n"; print `$salearn -p /home/****/.spamassassin/user_prefs --mbox --ham --showdots /home/****/mail/****/****/.learn_ham/cur 2>&1`; print "\n\n"; exit; The reason there are two lines for each is that I'm running it on two mailboxes. The only difference I can see is the --mbox flag. Should that not be present? Is there something else I'm missing?
  3. I've got sub-folders for "learn_ham" and "learn_spam" -- how do I get the new mail stuff to recognize those in conjunction with the sa-learn script? I think I'm in the same boat as waynej; I see how Andy's suggestion would work for ham, but I don't follow how that would work for learning spam from stuff that SA doesn't catch by default. Any help? Edit: I think I may have figured it out. It looks like you can just add the subdirectory to the path. So, for instance, instead of >/home/mylogin/mail/domain/user/{cur,new} You can do >/home/mylogin/mail/domain/user/.learn_spam/cur Is that valid thinking, or am I missing something?
  4. Yeah, the texvc question was prompted by MediaWiki. Ideally, I'd like a pleasant way to depict mathematical formulae. See above. Thanks, Bruce! These are very helpful.
  5. I am given to understand from here that TCH doesn't support texvc. Does anyone know of another way I might go about implementing math rendering that doesn't require compiling something like texvc? Thanks!
  6. Yeah, that's what I went with. Thanks! And yes, all the content is legal (our own fan creations). Not looking to get sued or anything here
  7. I've been trying to figure out how to actually run a python script. I downloaded the python source for BitTorrent, since I want to use it to distribute some films friends and I made a few years ago rather than have my server's bandwidth totally chewed up. However, I haven't the first clue how to actually run a python script remotely in order to get the server set-up to act as a tracker. Any help? Relevant sites: BitTorrent File Server's Guide BitTorrent Download Page SourceForge BitTorrent Source Download Any help would be muchly appreciated.
  8. Yeah, that's the way I've been doing it. There's no way to bypass the manage SQL step and do the management through phpMyAdmin?
  9. I'm trying to create a new database via phpMyAdmin. Until now, I've done it through the cPanel interface, but I'd like to be able to do it all in one spot -- creation and maintenance and such. What I'm doing is going to phpMyAdmin. Then, on the front page, in the MySQL column, the first option is "Create New Database" with a field for a database name. Typing anything in and then hitting "Create" results in the following page: >SQL-query: CREATE DATABASE `mcc3d_test`; MySQL said: #1044 - Access denied for user: 'mcc3d@localhost' to database 'mcc3d_test' How can the localhost be denied access? Is there a setting I missed somewhere? Thanks.
  10. Hey there, Lately I've been noticing a recurring problem when trying to use SquirrelMail. I'll log-in, go to compose an e-mail, and by the time I'm done writing it and hit 'Submit,' SquirrelMail prompts me to login again. This also can occasionally happen after a long period of not checking the Inbox. Is there any way to set a timeout for SquirrelMail so that this doesn't happen, or is there something else going on that I don't know about? Thanks for looking! -Ryan
  11. First time I've ever posted on the boards here, so hey everyone! I'm curious as to whether or not there's a way to limit the amount of data uploaded to a specific folder. For instance, if I want to limit a folder called 'blah' on my server to a maximum of 12 MB or some such, is there a way to do that, after which point I would not be able to upload additional data? Thanks! -Ryan
×
×
  • Create New...