> Date: Sat, 31 Mar 2001 16:56:41 -0500 (EST)
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: .forward file not working
> Reply-To: [EMAIL PROTECTED]
>
> I have loaded up 7.0 and am now working on getting procmail filters
> oeprational. However, I've run into a problem that has me stumped. For
> some reason my .forward file that contains the "exec
> /usr/bin/procmail" line doesn't work.
>
> In maillog I just get a message that procmail isn't available??? Is there
> something in sendmail.cf that I need to configure??
There are at least two answers to this:
FIRST: In RedHat, you don't *need* a .forward file to use procmail,
since the default sendmail configuration uses procmail as the
delivery agent. You can get rid of the .forward file, put your
procmail rules in a .procmailrc file and procmail will find them.
SECOND: If you *DO* want to use a .forward file, any executables you
want to run must be put into /etc/smrsh. If you refer to
/usr/bin/procmail, the "/usr/bin/" will be stripped off and sendmail
will look for "procmail" in /etc/smrsh. The usual scheme is to put a
symlink to the "real" location in /etc/smrsh.
e.g.: ln -s /usr/local/myprog /etc/smrsh/myprog
You can read about this in the smrsh man page and also in
/usr/share/doc/sendmail/README.smrsh
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad); +1-978-256-5829 (Home: Chelmsford, MA)
+1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX)
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list