I have been trying to implement a situation in which the .forward
and .procmailrc files that are normally in a user's home directory
are in a local directory on our mail server. That way, all the home
directories do not have to be mounted each time an e-mail comes in.
I have been able to take care of the .forward file by using the
ForwardPath function/variable in sendmail 8.8.5.
Is there a corresponding function/variable/trick that will make
procmail do the same thing?
I need it to deliver the mail the same way it does using the following
in the sendmail.cf file:
Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
M=2000000, T=DNS/RFC822/X-Unix,
A=procmail -Y -a $h -d $u
When I try to use the -m option with an rcfile, some headers and the From line
get dropped. I can put the From line back by using -f, but the headers are
still gone. Any other use of an rcfile gets a "Suspect file" message and the
mail is dumped.
Any ideas?
TIA
Mike Austin