On 11 Jan, Nilanjan wrote:
| Hai Colin
| You have said to include "INCLUDERC=$HOME/.procmailrc" in which
directory. Because I have no /etc/procmailrc file where can I put it now.
| I am using procmail v3.13.1 on Linux Red Hat .
| Nilanjan Sircar
| From: David W. Tamkin[SMTP:dattier(_at_)ripco(_dot_)com]
| Sent: Tuesday January 09 2001 11:39 PM
| Cc: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
| Subject: Re: where to put the .procmailrc file.
Not trying to put words in David's (or Collin's) mouth(s)... I believe
what David was conveying is that if procmail gets to the end of
/etc/procmailrc without delivering the message, it _effectively_ drops
priviledges and tries to process the user's $HOME/.procmailrc. And, if
that fails, it delivers to $DEFAULT or, failing that, to $ORGMAIL. I
don't believe he was saying you need to put his particular code in
/etc/procmailrc to make that happen. It just does.
Now, your task is to find the equivalent of /etc/procmailrc on your
system. If you're using a vendor provided binary package, check their
documentation. (Note: If you're assuming it is not /etc/procmailrc just
because that file does not exist, you may be wrong.) You may also be
able to find it using "strings `which procmail` |grep procmailrc",
though this could be less than conclusive (e.g. you or someone else has
changed the name from procmailrc to something else). If that fails, you
*may* also be able to decipher it by looking at all the output of the
strings command. On my system that's 388 lines, and the information in
question appears immediately following the Usage message. YMMV.
If you built procmail from sources, I believe Philip has said this
location is defined in config.h. That would be config.h in the
directory where you built procmail. Finding the location of the users'
rcfiles (compiled in to the binary) is somewhat easier: "procmail -v".
If all that fails, and assuming you're using a vendor supplied binary
package, my only other suggestion is to install the vendors source
package and check for any patches they applied before compiling the
binary. For example, if it is a Linux rpm based system, install the
procmail SRPM and see how the vendor has configured and/or patched it.
procmail mailing list