procmail
[Top] [All Lists]

Re: Problems using procmail

1999-09-21 14:39:06
Jaime:

---The .forward file cantains:  (the e-mail addresses in this file are to
forward my messages to that shown account...this probably could be the
problem)

jasanche(_at_)mail(_dot_)utep(_dot_)edu
JBWild(_at_)usa(_dot_)net

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 jasanche"

First off delete both jasanche(_at_)mail(_dot_)utep(_dot_)edu and 
JBWild(_at_)usa(_dot_)net
from your .forward file (you can forward mail to yourself using 
procmail) and 
make sure you put a '#' in front of your username in your
.forward file.  So it should contain the following:

"| IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #jasanche"

The '#' is for the benefit of sendmail.  You, of course, don't have to
do it this way. Here's my .forward file (though I like yours better):

"| /usr/contrib/bin/procmail"

After you do that, put all your procmail recipes in a .procmailrc file.
Locate this file on your home directory (~/.procmailrc).  Procmail will
look for it there automactically.

Here's what your .procmail could look like:

# forward copies to your other addresses
:0c
!jasanche(_at_)mail(_dot_)utep(_dot_)edu 

:0c
!JBWild(_at_)usa(_dot_)net

# sort mail from edict
:0:
# remember procmail ignores case by default
* ^From:(_dot_)*edictagrullon(_at_)usa(_dot_)net
# path to mail folder
$HOME/mail/EDICTA

:0:
* ^From:(_dot_)*EdictaG(_at_)aol(_dot_)com
$HOME/mail/EDICTA

---The .procmail directory contains these files:

log rc.maillists rc.testing

---The rc.maillists conatains:

:0:
* ^From:(_dot_)*edictagrullon(_at_)usa(_dot_)net
EDICTA

:0:
* ^From:(_dot_)*EdictaG(_at_)aol(_dot_)com
EDICTA

:0:
* ^From:(_dot_)*Edictagrullon(_at_)usa(_dot_)net
EDICTA 

---THe rc.testing cntains:

:0:
* ^Subject:.*probando!
EDICTA    


---As you can see, evereything is pretty simple---

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