procmail
[Top] [All Lists]

Re: My Files

2000-07-19 21:15:54
Here are my settings...
first for my .procmailrc  I was doing an attempt at emailing a file.
Before you get to the dry stuff here are the file permissions
-rwx------   1 hostingw hostingw      753 Jul 19 19:41 .procmailrc

Presumably you're sending mail to hostingw(_at_)`hostname` ?

Trim this to the bare essentials:



VERBOSE=on
LOGFILE=$HOME/log
LOGABSTRACT=yes



FILEDIR=$HOME/fileserver


:0
      * ! ^Subject:.Re:
      *   ^Subject:.*send.*procmailrc
      * ! ^FROM_DAEMON
      {
          :0 fhw:
          | $FORMAIL -rt
-A "Precedence: junk"                            \
                     -I "Subject: Requested .procmailrc";             \
                     -I "$MY_XLOOP"

          :0 a hwic
          | ( cat - $HOME/.procmailrc ) | $SENDMAIL

          :0              # trash the "Send procmailrc" request
          /dev/null
      }

and start with a really suimple recipe:

:0:
MyMailFile

and work up from there.

If the really simple stuff fails, the more complex won't work any better;-)




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>