[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] I can not get my .procmailrc to work



Hi,

I am trying to get procmail to work on one of my sites, (doing various things, such as extracting info from email bodys via perl script etc etc)  but... I cant get even the simplest of things to work yet on my new Raq:

my .procmailrc looks like this (completly cut down basic version):
SHELL=/bin/sh
LOGFILE=$HOME/mail.log
:0 A:
$DEFAULT
I have FTPed it to the Raq, in ASCII mode, after creating it in TextPad as UNIX file.

when a mail arrives, I get this interesting error message in the "/var/log/maillog" file:
Jan 16 01:55:20 www procmail[30074]: Suspicious rcfile "/home/sites/site6/users/qax/.procmailrc"

My questions are (as I must be doing something wrong):
Q1    Exactly where should I be putting the .procmailrc file, /home/sites/site6/users/theuserinquestion/ or /home/sites/site6/users/ ?
Q2    What permissions should the current directory actually have to allow procmail to work ?
Q3    What permissions should the .procmailrc file have ?
Q4    What should the OWNER and GROUP be set to, should it be the default used by FTP ?
Q5    I assume procmail is installed on the Raq3's by default, and assume it is always running and desnot need to be started ?

Some info:  Im using a Raq3, I've used procmail quite a few times before on old ISP, I dont know too much Linux though :-((  --- Yet !!!!    And any help will be much appreciated !

Regards
Kul