Re: procmail question (was: looking for a mail client)

1999-08-10 Thread Michael Stenner
On Mon, Aug 09, 1999 at 10:31:51PM +0200, Peter Palfrader aka Weasel wrote:
 I think I will go for mutt since the PGP stuff works really fine now.
 However, I have some questions regarding procmail.

You have chosen wisely.  I switched recently and can't imagine using
anything else.

 Is it possible to have it run automatically when new mail arrives
 without the need for every user to have his .forward set to
 |/usr/bin/procmail so only having a .procmailrc fur users that want it?

The first paragraph of the procmail manpage says:

Procmail should be invoked automatically over the .forward file
mechanism as soon as mail arrives.  Alternatively, when installed by a
system administrator.

It looks like you can set it up to automatically run for every mail
that arrives (regardless of what people have or have not done to their
.forward files) and just not DO anything unless they have a
.procmailrc.  Is this what you were asking?

-Michael

-- 
  Michael Stenner   Office Phone: 919-660-2513
  Duke University, Dept. of Physics   [EMAIL PROTECTED]
  Box 90305, Durham N.C. 27708-0305


Re: procmail question (was: looking for a mail client)

1999-08-10 Thread Lex Chive
On Mon, Aug 09, 1999 at 10:31:51PM +0200, Peter Palfrader aka Weasel wrote:
 
 Is it possible to have it run automatically when new mail arrives
 without the need for every user to have his .forward set to
 |/usr/bin/procmail so only having a .procmailrc fur users that want it?
 
Of course, you just need to set up your mta to use procmail. The exact way to
do it vary of course. That should be given in either the mta's doc or procmail
doc.

-Lex


pgpVVWF8LX0QK.pgp
Description: PGP signature


Re: procmail question (was: looking for a mail client)

1999-08-10 Thread Mark Brown
On Mon, Aug 09, 1999 at 10:31:51PM +0200, Peter Palfrader aka Weasel wrote:
 I thank everybody for their great help.

 Is it possible to have it run automatically when new mail arrives
 without the need for every user to have his .forward set to
 |/usr/bin/procmail so only having a .procmailrc fur users that want it?

Most MTAs support the use of an external delivery agent - a program used
to perform the actual addition of the mail to the recipient mailbox.  If
you make procmail this program then the right thing should happen.

Unfortunately I don't have any examples handy...

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


pgpP11xOgxQEE.pgp
Description: PGP signature


Re: procmail question (was: looking for a mail client)

1999-08-10 Thread Phillip Deackes
Sorry, I can't quote since I've deleted the original posting.

All I used to do when I used Procmail was add a line to my .fetchmailrc
so it looked like this:

poll pop.ukgateway.net
protocol pop3
username gsmh
password 
mda /usr/bin/procmail -d gsmh

The last line specifies the Mail Delivery Agent. If you simply want to
hand all incoming mail to, say Exim, you can leave this line off and
exim will automatically receive the mail.

Your .procmailrc will contain rules to sort messages into folders.

As an alternative to 'username whatever' you can have 'username whatever
is someothername on this system' which makes things a lot easier if your
username on your Linux box is not the same as your email name.


--
Phillip Deackes
Debian Linux (Potato) 


Re: looking for a mail client

1999-08-09 Thread Mark Brown
On Sun, Aug 08, 1999 at 11:53:29PM +0200, Peter Palfrader aka Weasel wrote:

 I'm looking for a mail client that has nested folders and good filters
 for moving incoming messages to dedicated folders (reply-to
 filter!). Another must is PGP support. SMTP and POP3 would be nice but
 are not a necessity.

mutt certainly does the PGP (see below).  Sorting messages into
folders is generally not the job of the mail client, but rather that of
something like procmail.  These filtering programs can do pretty much
any sorting or other automatic manipulation of mail you desire.  You can
probably do this filtering from within mutt too, but it's not the done
thing.  mutt doesn't do SMTP and the POP support is quite weak and would
bypass any filters written externally.

Another program to look at is Gnus.  It should support everything you
want, although PGP may be an add-on package.  Run it as M-x gnus RET
from within any Emacs.

 I've looked into mutt but it seems as if PGP support can only
 automatically verify messages that have a mime part
 application/pgp-signature. It cannot handle signatures that are (like
 this one) embedded in the mail text (please correct me if I'm
 wrong).

That's right, but the following procmail magic will perform the required
transformations to make it recognise messages like yours:

:0
* !^Content-Type: message/
* !^Content-Type: multipart/
* !^Content-Type: application/pgp
{
:0 fBw
* ^-BEGIN PGP MESSAGE-
* ^-END PGP MESSAGE-
| formail \
-i Content-Type: application/pgp; format=text; x-action=encrypt

:0 fBw
* ^-BEGIN PGP SIGNED MESSAGE-
* ^-BEGIN PGP SIGNATURE-
* ^-END PGP SIGNATURE-
| formail \
-i Content-Type: application/pgp; format=text; x-action=sign
}

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


pgprrLLCTLKM9.pgp
Description: PGP signature


Re: looking for a mail client

1999-08-09 Thread Eric G . Miller
I'm certainly no expert on using mutt, but it does have mail
filtering capabilities. See folder-hook for more info.  

As far as creating subdirectories, etc., mutt will store mail 
pretty much anywhere you want it to. So, under your ~/Mail directory, 
you could create a debian directory, and then have debian-user, 
debian-mentor, etc. as mail files.  AFAIK, you can't have something 
like a mail file debian with subdirectories on it.  Though, the 
difference should hardly be an issue.  

In my few days of using it, I have found that mutt definetely 
sucks less than many other mail clients.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: looking for a mail client

1999-08-09 Thread Eric Gillespie, Jr.
On Sun, Aug 08, 1999 at 06:23:46PM -0700,
Eric G . Miller egm2@jps.net wrote:
   I'm certainly no expert on using mutt, but it does have mail
 filtering capabilities. See folder-hook for more info.  
 

No, it doesn't. folder-hook is used to apply settings only to one
folder. For example, I have mutt set the reply-to properly whenever
I'm reading a folder for a mailing list (like this one, check my headers).

-- 
Eric Gillespie, Jr. * [EMAIL PROTECTED]

Man is a rope, tied between beast and overman--a rope over an abyss.
 A dangerous across, a dangerous on-the-way, a dangerous looking-back,
 a dangerous shuddering and stopping.
 --Friedrich Nietzsche


Re: looking for a mail client

1999-08-09 Thread Eric G . Miller
I stand corrected.  I was actually thinking of the mbox-hook,
but that only processes messages /after/ they have been read.  Seems
procmail would be the ticket for filtering large volumes of mail. 
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: looking for a mail client

1999-08-09 Thread Nathan Duehr
I use Netscape Messenger and IMAP instead of POP3 to talk to my mail
server.  This allows me to keep my mail on the server and sync up
multiple machines -- whatever OS I'm running, whatever... there's usually
a version of Netscape Messenger available for it.

To get my mail delivered into folders, like mailing lists, etc... I use
procmail.  On the machine where the mail gets delivered, all mail goes
through procmail and it sorts it and puts it into the correct folders,
which are really just mail files.

Then since IMAP understands that I'm subscribed to these different
folders, I can access them from Netscape and the read-mail flags and
whatnot stay synced up nicely from machine to machine. 

I don't know if this would help you get to what you want, as I've not
played around to see what Netscape will do for PGP.

In addition, if I need a quick check on mail, I can run pine or mutt or
elm, or any other standard mail program that understands user home
directory mailbox folders and check mail via ssh or dialup modem
connection to a tty behind the firewall... works very nicely. 

I think many of these programs would do the PGP sigs properly with the
appropriate add-on's -- there's a PGP signature add-on in a package for
pine, and I know there are others on this mailing list that use mutt and
elm that have their sigs added and incoming sigs checked for them also.

I just wanted to suggest IMAP as a solution if you have multiple machines
you check mail from... it makes management of large folders of mail very
easy.  

Only thing I've run into that I don't like about Netscape Messenger is
that there's a command in the windows version called Synchronize for
off-line mail reading, and there's no equivalent in the Unix version.
Annoying, but livable.


On Sun, 8 Aug 1999, Peter Palfrader aka Weasel wrote:

 -BEGIN PGP SIGNED MESSAGE-
 
 Hi there. I'm currently using netspace's messenger but it does not
 completly meet my needs.
 
 I'm looking for a mail client that has nested folders and good filters
 for moving incoming messages to dedicated folders (reply-to
 filter!). Another must is PGP support. SMTP and POP3 would be nice but
 are not a necessity.
 
 I've looked into mutt but it seems as if PGP support can only
 automatically verify messages that have a mime part
 application/pgp-signature. It cannot handle signatures that are (like
 this one) embedded in the mail text (please correct me if I'm
 wrong).
 
 -BEGIN PGP SIGNATURE-
 Version: PGP 6.5.1
 Comment: http://www.cosy.sbg.ac.at/~ppalfrad
 
 iQCVAwUBN637Zr/AUNfRo6MpAQHWnwQAkp+XHrg6XPoOTngOyC6SVredxFYosnIU
 bIkBzyJr/Wh8jBgpBwX780NVH/dnJI1cCdt41uir8PQAe/xEb6IM2iZt5xXZmauC
 dUx8zWg5TAcsKQ3PA4t7qmD+gu+fyQO8Il1bKgB1Md9axS1ENS7p/qOxq2lzcWkF
 OkU5wsVE6q4=
 =Up+5
 -END PGP SIGNATURE-
 
 -- 
 Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
 PGP encrypted messages prefered.   See my site for my PGP key.
 --
The software said Windows95 or better, so I got Linux...
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 

+---++
| Nate Duehr - [EMAIL PROTECTED]| Support Amateur Radio  Linux! |
| Private Pilot, Telephony Engineer |  Ham Callsign: N0NTZ   |
| UNIX Hack, Perl Hack, Tech-Freak  |  Grid Square: DM79 |
|   | May the Source be with you.  |
+---++
| HamRadio and Linux mailing lists available for interested parties: |
|http://www.natetech.com/mailman/listinfo|
++


Re: looking for a mail client

1999-08-09 Thread Shao Zhang
Hi,
Mutt is the best mail client I have ever seen. I will still
recommand it to you.

For your concern about the pgp as mime encrypted, please 
have a look at the file:

/usr/doc/mutt/PGP-Notes.txt.gz

There is a work around which may satisfy you.

Shao.

  I've looked into mutt but it seems as if PGP support can only
  automatically verify messages that have a mime part
  application/pgp-signature. It cannot handle signatures that are (like
  this one) embedded in the mail text (please correct me if I'm
  wrong).

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_


Re: looking for a mail client

1999-08-09 Thread Shao Zhang
Hi,
This is for receiving messages right??

What if I want to send the pgp sigs in the old style rather than
as mime encrypted??

Most of the mail client does not yet understand mime encrypted
PGP signatures, and it will cause a lot trouble for those people
who receive such a message.

Thanks.

Shao.

Mark Brown [EMAIL PROTECTED] wrote:
 That's right, but the following procmail magic will perform the required
 transformations to make it recognise messages like yours:
 
 :0
 * !^Content-Type: message/
 * !^Content-Type: multipart/
 * !^Content-Type: application/pgp
 {
 :0 fBw
 * ^-BEGIN PGP MESSAGE-
 * ^-END PGP MESSAGE-
 | formail \
 -i Content-Type: application/pgp; format=text; x-action=encrypt
 
 :0 fBw
 * ^-BEGIN PGP SIGNED MESSAGE-
 * ^-BEGIN PGP SIGNATURE-
 * ^-END PGP SIGNATURE-
 | formail \
 -i Content-Type: application/pgp; format=text; x-action=sign
 }
 
 -- 
 Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
 http://www.tardis.ed.ac.uk/~broonie/
 EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/



-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_


Re: looking for a mail client

1999-08-09 Thread Shao Zhang
Hi,
Somebody has already posted a solution to convert all the incoming
mails with pgp signatures to the old style when displaying in mutt.

Here is a solution if you want to send the message with pgp signatures
in the old style so people can view it in pine with no trouble.

Put the following line in your ~/.muttrc(assuming you are using pgp)

macro compose S Fpgp +verbose=0 -fast 
+clearsig=on\ny^T^Uapplication/pgp; format=text; x-action=sign\n

or

macro compose S Fpgp +verbose=0 -fast +clearsig=on\ny^T^Utext/plain; 
format=text; x-action=sign\n

Hope this helps.

Shao.

   I've looked into mutt but it seems as if PGP support can only
   automatically verify messages that have a mime part
   application/pgp-signature. It cannot handle signatures that are (like
   this one) embedded in the mail text (please correct me if I'm
   wrong).

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_


Re: looking for a mail client

1999-08-09 Thread Michael Stenner
On Sun, Aug 08, 1999 at 07:18:25PM -0700, Eric G . Miller wrote:
   I stand corrected.  I was actually thinking of the mbox-hook,
 but that only processes messages /after/ they have been read.  Seems
 procmail would be the ticket for filtering large volumes of mail. 

procmail also offers the following advantage:  since it processes each
message as it comes in, everything's ready when I sit down and type
mutt (or pine, or whatever).  In contrast, it's not much fun to
watch my mailreader choke on a couple thousand messages if I've been
away for a few days.

-Michael

-- 
  Michael Stenner   Office Phone: 919-660-2513
  Duke University, Dept. of Physics   [EMAIL PROTECTED]
  Box 90305, Durham N.C. 27708-0305


procmail question (was: looking for a mail client)

1999-08-09 Thread Peter Palfrader aka Weasel
I thank everybody for their great help.

I think I will go for mutt since the PGP stuff works really fine now.
However, I have some questions regarding procmail.

Is it possible to have it run automatically when new mail arrives
without the need for every user to have his .forward set to
|/usr/bin/procmail so only having a .procmailrc fur users that want it?

Thank you.

PS: scsi idle spin down anyone?

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.   See my site for my PGP key.
--
   The software said Windows95 or better, so I got Linux...


looking for a mail client

1999-08-08 Thread Peter Palfrader aka Weasel
-BEGIN PGP SIGNED MESSAGE-

Hi there. I'm currently using netspace's messenger but it does not
completly meet my needs.

I'm looking for a mail client that has nested folders and good filters
for moving incoming messages to dedicated folders (reply-to
filter!). Another must is PGP support. SMTP and POP3 would be nice but
are not a necessity.

I've looked into mutt but it seems as if PGP support can only
automatically verify messages that have a mime part
application/pgp-signature. It cannot handle signatures that are (like
this one) embedded in the mail text (please correct me if I'm
wrong).

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1
Comment: http://www.cosy.sbg.ac.at/~ppalfrad

iQCVAwUBN637Zr/AUNfRo6MpAQHWnwQAkp+XHrg6XPoOTngOyC6SVredxFYosnIU
bIkBzyJr/Wh8jBgpBwX780NVH/dnJI1cCdt41uir8PQAe/xEb6IM2iZt5xXZmauC
dUx8zWg5TAcsKQ3PA4t7qmD+gu+fyQO8Il1bKgB1Md9axS1ENS7p/qOxq2lzcWkF
OkU5wsVE6q4=
=Up+5
-END PGP SIGNATURE-

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.   See my site for my PGP key.
--
   The software said Windows95 or better, so I got Linux...


RE: looking for a mail client

1999-08-08 Thread Pollywog

On 08-Aug-99 Peter Palfrader aka Weasel wrote:
 -BEGIN PGP SIGNED MESSAGE-
 
 Hi there. I'm currently using netspace's messenger but it does not
 completly meet my needs.
 
 I'm looking for a mail client that has nested folders and good filters
 for moving incoming messages to dedicated folders (reply-to
 filter!). Another must is PGP support. SMTP and POP3 would be nice but
 are not a necessity.
 
 I've looked into mutt but it seems as if PGP support can only
 automatically verify messages that have a mime part
 application/pgp-signature. It cannot handle signatures that are (like
 this one) embedded in the mail text (please correct me if I'm
 wrong).

Have you tried xfmail?  It is no longer in development but suffices for me.
I will probably move to kmail or Mahogany as those develop.

--
Andrew