procmail
[Top] [All Lists]

Re: Using procmail with no home directory

2005-01-24 17:25:50

Oh, right! Duh. Sheesh. :-) Thanks. So I need to simply do helpdesk: "|procmail -m /rules/for/helpdesk"

Yes, I see it now.  Thanks for pointing that out.

-Fran

Klaus Johannes Rusch wrote:

Fran Fabrizio wrote:

Lately, a lot of spam has been hitting our helpdesk email address, creating bogus helpdesk tickets. Our email server already uses Spam Assassin to tag likely spam, so now all I need to do is filter on that spam score. What I don't know how to do is how to use procmail in an environment where there is no home directory - there is no /home/helpdesk or anything, so I can't have a .procmail rules file, I guess I would need to use it more as a script called from the aliases file.


/etc/procmailrc and $HOME/.procmailrc are used if present, but you can specify a procmailrc file in a different location.

man procmail

procmail [-ptoY] [-f fromwhom] [parameter=value | rcfile]...
procmail [-toY] [-f fromwhom] [-a argument] -d recipient ...
procmail [-ptY] -m [parameter=value] ... rcfile [argument] ...
procmail -v



--
Fran Fabrizio
Senior Systems Analyst
Department of Computer and Information Sciences
University of Alabama at Birmingham http://www.cis.uab.edu/
205.934.0653


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail