Reply-To:
Hello! I apologize if this is the wrong list for this.
I'm working with my mail configuration, and I'm having a
little trouble. I hope that someone can shed some light on
the subject.
I'm using mutt, and I used to simply put commands in my
.muttrc file to get mail from my ISP. I would however,
like to get mail from *two* servers, so I am trying a more
complex approach, which mustn't be too difficult.
I got mutt working fine, and implemented a basic procmail
script: .procmailrc which I'll append along with other
pertinent data. I tried using a .forward file at first,
with no success, and renamed it because I read that I
may not need one because I'm running Red Hat 6.0.
With a script called testing.rc in /home/$USER/Procmail
I am supposed to get mail into my inbox /var/spool/mail/$USER
if the word test doesn't appear on the subject line.
Whether the message I send has test on the subject line or
not, it goes into my inbox. :-(
I'd also like any advice as to what permissions these files
ought to have. I read in something called the Filtering Mail
FAQ, and its successor The Procmail Quick Start, that the
.forward file needs to be world-readable, along with its
directory -- my user directory :-(
##### .procmailrc
# no; yes when debugging
VERBOSE=yes
# Remove # when debugging; 'all', or 'no' for minimal logging
LOGABSTRACT=all
# $HOME/Mail is your message directory
MAILDIR=$HOME/Mail # Make sure this directory exists!
# Directory for storing procmail-related files
PMDIR=$HOME/Procmail
# Put # before LOGFILE if you want no logging (not recommended)
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/testing.rc
INCLUDERC=$PMDIR/lists.rc
##### testing.rc
:0:
* ^Subject:.*test
in-testing
##### .forward
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #rks"
--
+----------------------------------------------------------+
| Richard Spencer Running Linux 2.2.5, RedHat 6.0 |
| Sao Paulo, Brazil & the K Desktop Environment |
| mailto:[EMAIL PROTECTED] (windows break) |
+----------------------------------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs