Page 1 of 1

Request for help with ASK

Posted: Wed Dec 22, 2004 9:45 pm
by bruno
Hello, everyone.

After having performed a search for help with this issue I haven't been any lucky. I hope someone in the forum will be able to help me or, at least, to point me in the right direction. Please note that I'm not, by any means, a PSA savvy man.

I'm very interested in a spam fighting tool called ASK -Active Spam Killer-: http://a-s-k.sourceforge.net/ in a machine which currently has Plesk installed and running.

I downloaded ASK and installed it in the machine I have an account in. The installation instructions say that my user must have write permission on its own mailbox (or maildir in the case of qmail). And that is the point at which I got stuck.

Right now permissions are as like this:

Code: Select all

root@shark ~# ls -la /var/qmail/mailnames/iac.com.mx/bruno
total 20
drwx------    4 popuser  popuser      4096 Oct 19 17:46 .
drwx------   10 popuser  popuser      4096 Oct 25 11:37 ..
drwx------    2 popuser  popuser      4096 Oct 19 17:46 @attachments
drwx------    7 popuser  popuser      4096 Nov  1 12:18 Maildir
-rw-------    1 popuser  popuser        18 Oct 19 17:46 .qmail
User bruno is *not* a member of popuser group:

Code: Select all

root@shark ~# groups bruno
bruno : psacln
I began experimenting with the ownership and permissions of bruno's maildir, but as soon as I assigned a set of less-restrictive permissions to those files, mail stopped arriving. I suspect the plesk version of qmail is very picky about that.

I'm currently using RedHat 9.0:

Code: Select all

root@shark ~# cat /etc/issue
Red Hat Linux release 9 (Shrike)
Kernel \r on an \m

I'm running Plesk 7.1.6, or so I think from the title bar of the window I run the administration console in. :)

I feel lost, and would greatly appreciate your ideas, comments, suggestions...

Best regards, Bruno.

Posted: Thu Dec 23, 2004 12:56 am
by scott
Im familiar with ASK, which is basically a challenge response system. (For the record, I really dislike challenge-response systems. I always throw the challenges into my SPAM folder...)

That being said, you should be able to get it to work with a basic | command in the .qmail or .mailfilter file (if you use maildrop). You shouldnt have to do anything special to get it to work in a PSA environment. Mail coming into all mailboxes will be delivered as the user popuser, and all commands executed from .qmail or .mailfilter files will also be executed as popuser. There shouldn't be any permissions problems. Hope this helps!