* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [000524 06:49]:
> > I'm using mutt, and I used to simply put commands in my
> > .muttrc file to get mail from my ISP. I would however,
This is retrieval with POP3 and mutt and it's .muttrc
> > 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.
So, the first change was adding .procmailrc file; mail addressed to
$USER (not [EMAIL PROTECTED]) went into my inbox (/var/spool/mail/$USER)
like a charm. The problem here was that if I used the subject line
'test' the mail should have gone into it's own mailbox. If this
had worked, I would've made boxes like in-linux-newbie, so that
messages like the one you sent me would end up there.
> > 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.
>
> How are you sending it, and who are you sending it to? Have you looked
> in $home/Procmail/log? If you are using procmail at all, with that
> .procmailrc file, you will see every move it makes in log.
I would use mutt to draft a message with vi and send it, just as I
would send a message to Linux-newbie, the difference being I would
send it to myself, and while doing the actual testing for procmail I'd
be offline. The fact that I can 'send' mail
to linux-newbie (or anyone on the Internet) which works fine if I'm
connected to the Internet, but if not NEVER gets sent is another
question; I suspect I would have to initiate the sendmail WHILE
ONLINE so that when it 'wakes up' while I'm online, instead of asleep
and not connected. (crond perhaps?)
Also, to test this procmail thing now, it seems that if I HAVE a file
called .procmailrc I can send myself messages, only whether or not the
word 'test' is in the subject line, all appear in my inbox (which is
/var/spool/mail/$USER. I address these messages: $USER or
$USER@localhost.)
It's when I try to use the .forward file that mutt won't allow me to
send the message. In other words, until I create the .forward file
I can draft a message in mutt and it'll say something like 'message sent'
Which sounds to me like it's been sent to sendmail's queue. I haven't
tried sending messages to myself except for through my local machine yet.
And no, I haven't seen any log files--there just aren't any
and which is the strangest part of all of this.
Now that you mention it, that's a good indication that
procmail isn't getting a chance to do it's thing (I think.)
> Then look into using fetchmail. It really is not so very hard.
I did get fetchmail up and running, it works like a charm!
I just would like before continuing, to get procmail up and
running, that way I'll be able to have **it** put mail from
mailing lists--like this stuff--into it's own directory
**before** mutt does anything.
fetchmail-->/var/spool/mail
procmail --> /home/Mail/in-linux-newbie
for example.
--
+----------------------------------------------------------+
| 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