[ILUG] Re: its about email again
John P . Looney
valen at tuatha.org
Tue Sep 7 09:09:15 IST 1999
On Tue, Sep 07, 1999 at 08:41:25AM +0700, Robby mentioned:
> first of all i would like to thanks to you who help me with the fetchmail
> stuff (Kenn, John, Kevin and Jimmy).
> now i already start to using Mutt, but i still have questions bout it.
Kenn seemed to deal withmost of the questions you had...I'll see can I
help out too...
> 1.please explain to me what kind of job procmail does for my emails.
> is it seperate them into mailboxes? and where it put those mailboxes?
Procmail uses "regular expressions" to store mail. type "man procmailrc"
to get an idea of how to make a configuration file for it. For ilug, I have
* ^(To|CC):.*ilug at linux.ie
# Change the header.
* ^Subject:[ ]+\[ILUG\][ ]+\/.*
| formail -I"Subject: $MATCH"
# Save it to a folder
It's complex, but it effectively deletes the [ILUG] bit from the subject
line, and saves it to a folder called =ilug. Mail me privately for a look
at my procmailrc for other stuff. Effectively, all you need to have is a
What this does is; save anything that starts (the '^' character) with To
or CC, and then has any number ('*' char) of any characters ('.' char),
then "linux.ie", and then stores it in the ilug folder.
> 4.can i run Lynx automaticaly from URL address in Mutt? what line do i
> have to put in my .rc file?
You need this line in your ~/.mailcap
text/html; lynx %s&; needsterminal;;
And then you can handle HTML emails. If someone sends you an email with a
URL embedded in it, check this out, from the mutt manual:
"If a message contains URLs (unified ressource locator = address in the
WWW space like http://www.mutt.org/), it is efficient to get a menu with
all the URLs and start a WWW browser on one of them. This functionality
is provided by the external urlview program which can be retrieved at
ftp://ftp.guug.de/pub/mutt/contrib/ and the configuration commands:
macro index \cb |urlview\n
macro pager \cb |urlview\n
Where urlview is a program that points a web browser at the URL it reads
from stdin. This can be lynx, or "read URL ; netscape -remote ($URL)"
Microsoft. The best reason in the world to drink beer.
More information about the ILUG