procmail
[Top] [All Lists]

Re: eudora attachment problem:help!

2001-09-25 22:16:47
At 19:19 2001-10-26 +0800, you wrote:
hello all...
finally I've set up my pm-jamime-kill.rc recipe and my global rc file
seems to work fine, filtering unwanted attachments...but when I send
something (an attachment) from eudora, i found that that procmailrc
didnt filter this, even though this is the same file that I sent from
netscape mail...I checked the log and found something like this:

nawk:cant open file RE==============8737859
source line number 9
Procmail: program failure (2) of nawk

but I dont know what does this mean, and if this is the cause it's not
filtering eudora attachment. Anybody got a hint on this?

awk is a tool for string mainipulation (and lots of other stuff..., see man awk or man nawk), so I guess awk couldn't read some header. Someone else probably knows more about this.

and another thing, i tried using the variable
LOGFILE=/var/log/procmail/$LOGNAME in my procmailrc so that i can gather
all the users logs into one directory...but i found that  procmail didnt
create this logs when filtering emails, even though mails got filtered!
When I changed it to LOGFILE=$HOME/log, it works and procmail writes the
logs..but I dont want the logs to be separated in each users home
directory.How do i go about doing this??

procmail doesn't have privileges to create files in that directory, so I guess you'll have to create all files that you want to be logged. You could change permissions on /var/log/procmail to 666 (rw-rw-rw-), but that is potentially dangerous since it gives all users read/write access... If you know the user and/or group that procmail runs under, you could chown the log dir to that user/group.

I'm not 100% sure about all things above, but those are my own observations on my systems.

/Fredrik


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>