On Fri, Jul 20, 2001 at 08:06:00PM +0530, Harsha Vardhana R wrote:
Please advise me how to go forward as I am not able to process my mails in
any way.
I have created $HOME/.procmailrc with the following contents.
set SHELL=/bin/sh
set PATH=/usr/local/bin
set LINEBUF=4096
set VERBOSE=no
set MAILDIR=$HOME/MsgS #( I have created the directory with the necessary
permissions)
set FORMAIL=/usr/local/bin/formail
You don't need the "set" in there. "VARIABLE=value" is correct syntax.
set SENDMAIL=/usr/lib/sendmail
You probably don't need to set this. Procmail discovered the correct value for
this when it was compiled and you shouldn't mess with it unless you have a
specific reason.
# Simple recipe
:0c:
$MAILDIR/mail.backup
My .forward file is
"|IFS=' '&&exec /usr/local/bin/procmail -f-||exit 75 #mylogin"
The version of procmail is v3.11pre7.
I feel that procmail is not my LDA as the term 'procmail' itself doesn't
appear anywhere in /etc/mail/sendmail.cf .
I feel my version of procmail may be the cause of non working.
Please advise me what else should I do.
If you have control over the sendmail configuration, and don't have a specific
need to use a different LDA, I'd recommend making it so. This eliminates a
bunch of gotchas, the most obvious one being the need for that hideous
.forward file.
The contents of your procmail log file would be instructive for solving your
problem. Add "VERBOSE=yes" and "LOGFILE=$HOME/proclog" to the top of your
.procmailrc.
--
Andrew Edelstein - andrew(_at_)pure-chaos(_dot_)com
http://andrew.pure-chaos.com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail