Mutt and PGP passphrase

2000-10-17 Thread Daniel Kollar

Mutt can remember the pgp passphrase once it is entered by the user.
How does mutt passes the phrase over to pgp when en-/decrypting a message?
Is there an algorithm that checks for the pgp passphrase input message
and sends it as stdin ?

Daniel.



Re: newbie? How to view mutt error messages.

2000-10-17 Thread davidturetsky

Yes, yes. There's a log which contains the full error message. Perhaps
someone can give you the exact file

--
David

www.richSOB.com

- Original Message -
From: "David T-G" <[EMAIL PROTECTED]>
To: "Mutt Users' List" <[EMAIL PROTECTED]>
Cc: "Rod Pike" <[EMAIL PROTECTED]>
Sent: Tuesday, October 17, 2000 1:42 AM
Subject: Re: newbie? How to view mutt error messages.







Re: spamfilter for procmail

2000-10-17 Thread Dave Ewart
 msg.pgp


Re: Mutt on Mac OS X ?

2000-10-17 Thread John Wright

On Thu, Oct 12, 2000 at 02:14:36PM -0700, Eugene Lee wrote:
> Just wondering if anyone has gotten Mutt to work under the Mac OS X
> Public Beta.

1.2.4i didn't compile because it couldn't find things like A_NORMAL.  I
did find a curses library in some odd place, I might try again with slang or
something like that.



GnuPG autosign how

2000-10-17 Thread Rino Mardo

Hi.  I have mutt 1.0.1-9 and GnuPG 1.0.1-2 installed in my Debian 2.2 box.

I've looked at all the FAQs and I can't seem to figure out how to do
"pgp_autosign" for all outgoing emails.  All I get is:

gnupg: [options]

at the bottom of the screen after giving my passphrase and it won't be sent
unless I disable "sign".

What am I missing here?



-- 
Who's watching the watchmen?

Key fingerprint = E619 726E 3815 7A48 EAC7  E49F DF93 4E33 B069 0883



Re: Mutt on Mac OS X ?

2000-10-17 Thread Thomas Roessler

You may wish to try ncurses instead of the system-supplied curses
library.

May be a good idea anyways.

On 2000-10-17 11:30:45 +0100, John Wright wrote:
> Date: Tue, 17 Oct 2000 11:30:45 +0100
> From: John Wright <[EMAIL PROTECTED]>
> To: Mutt Users ML <[EMAIL PROTECTED]>
> Subject: Re: Mutt on Mac OS X ?
> Mail-Followup-To: Mutt Users ML <[EMAIL PROTECTED]>
> User-Agent: Mutt/1.2.5i
> 
> On Thu, Oct 12, 2000 at 02:14:36PM -0700, Eugene Lee wrote:
> > Just wondering if anyone has gotten Mutt to work under the Mac OS X
> > Public Beta.
> 
> 1.2.4i didn't compile because it couldn't find things like A_NORMAL.  I
> did find a curses library in some odd place, I might try again with slang or
> something like that.
> 

-- 
Thomas Roessler <[EMAIL PROTECTED]>



Re: Mutt and PGP passphrase

2000-10-17 Thread Conor Daly

On Tue, Oct 17, 2000 at 09:06:23AM +0200 or so it is rumoured hereabouts, 
Daniel Kollar thought:
> Mutt can remember the pgp passphrase once it is entered by the user.
> How does mutt passes the phrase over to pgp when en-/decrypting a message?
> Is there an algorithm that checks for the pgp passphrase input message
> and sends it as stdin ?
> 
> Daniel.
and can I snoop it over a network? :-)
-- 
Conor Daly <[EMAIL PROTECTED]>

Domestic Sysadmin :-)



mailboxes (was Re: spamfilter for procmail)

2000-10-17 Thread Conor Daly

On Mon, Oct 16, 2000 at 04:09:05PM -0700 or so it is rumoured hereabouts, 
Michael Elkins thought:
> 
> I'll just add my $0.02US to this and agree with Bruce's example.  After
> spending lots of time trying to weed out spammers, I found the most
> effective filter was to simple accept all known addresses and everything
> else goes into a spam folder.  Nearly all the spam I receive is not
> addressed to me or one of the mailing lists I subscribe to.  You just have
> to remember to read your spam folder every once in a while.  I actually have
> a +spam at the end of my `mailboxes' line in my .muttrc to remind me I have
> mail waiting there.
> 
> me

Incidentally, does anyone know of a way to cycle through the list of
folders with new mail on the "c" command.  for instance, my Work-related
mailboxes are listed before the lists in .muttrc but there's times when
I'm expecting a response to a question sent to a list and I'd like a 
key or something to cycle through which mailboxes have new mail.

See? :-)

-- 
Conor Daly <[EMAIL PROTECTED]>

Domestic Sysadmin :-)



Re: Fast forward (newbie++ question)

2000-10-17 Thread Nollaig MacKenzie


On 2000.10.17 06:08:33, you,
 the extraordinary Cliff Sarginson, opined:

> Often after reading a mail I need to forward it to a certain email
> address. This address is always the same one and I never need to change
> the subject or add comments in the text etc. Unfortunately until I read
> it I don;t know whether it needs to be forwarded or not.
> Can I define a key-binding or something so that with one push on a button
> the current mail message is addressed with the canned forwarding address
> and sent without any further interaction on my part ?
> 

This should do, assuming you haven't used "B"
for something else:

macro pager B "[EMAIL PROTECTED]\ny"

Replace "[EMAIL PROTECTED]" by your target.

Cheers, N.
-- 
Nollaig MacKenzie <[EMAIL PROTECTED]>
http://www.amhuinnsuidhe.cx
Oppose renaming Mt Logan!! http://www.savemtlogan.com



Re: mailboxes (was Re: spamfilter for procmail)

2000-10-17 Thread Mikko Hänninen

Conor Daly <[EMAIL PROTECTED]> wrote on Tue, 17 Oct 2000:
> Incidentally, does anyone know of a way to cycle through the list of
> folders with new mail on the "c" command.

You mean, like space does?


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"Scotty, beam us aboard."  "Aye, sir.  Will a 2x4 do?"



Re: mailboxes (was Re: spamfilter for procmail)

2000-10-17 Thread Bruce DeVisser

On Tue, Oct 17, 2000 at 10:18:31AM +0100, Conor Daly wrote:
> Incidentally, does anyone know of a way to cycle through
> the list of folders with new mail on the "c" command.  for
> instance, my Work-related mailboxes are listed before the
> lists in .muttrc but there's times when I'm expecting a
> response to a question sent to a list and I'd like a 
> key or something to cycle through which mailboxes have new
> mail.

Space bar, as Mikko said.

Or: use the tab key often enough, and it will get you to the
mailboxes list.

-- 
- Bruce



Re: mailboxes (was Re: spamfilter for procmail)

2000-10-17 Thread Thomas Roessler

On 2000-10-17 10:18:31 +0100, Conor Daly wrote:

> Incidentally, does anyone know of a way to cycle through the list
> of folders with new mail on the "c" command.  for instance, my
> Work-related mailboxes are listed before the lists in .muttrc but
> there's times when I'm expecting a response to a question sent to
> a list and I'd like a  key or something to cycle through
> which mailboxes have new mail.

Try space.

-- 
Thomas Roessler <[EMAIL PROTECTED]>



Re: spamfilter for procmail

2000-10-17 Thread Martin Treusch von Buttlar

Hi,

On 17.10, Suresh Ramasubramanian wrote:
> Besides this, at the MTA level, see if you can get your sysadmin to 
> support the RBL and DUL blacklists at least (also the RSS if possible) -
> http://www.mail-abuse.org
There is a tool called blcheck, which can be used as a procmail-filter,
and it can use any DNS-RBL you like. I works great for me and you don't
even need to pester your BOFH to enable this.

IIRC I patched it ligthly to work as a filter. Just ask for it and
I´ll post that, too. The author did not respond to me.
The URL for this is: http://www.samspade.org/w/blcheck/

Cheerio

Martin
-- 
http://www.dmcs.de/mailto:[EMAIL PROTECTED]   Tel: 07 21/9 20 60-42
digital marketing concepts & services GmbH   Fax: 07 21/9 20 60-30

martin:x:518:112:Martin Treusch von Buttlar:/home/martin:/usr/bin/perl



Re: Mutt and PGP passphrase

2000-10-17 Thread Daniel Kollar

> > Mutt can remember the pgp passphrase once it is entered by the user.
> > How does mutt passes the phrase over to pgp when en-/decrypting a message?
> > Is there an algorithm that checks for the pgp passphrase input message
> > and sends it as stdin ?

> and can I snoop it over a network? :-)

I found the answer in the pgp cmd line manual.
There are three ways to transfer the passphrase over to the pgp
program:

1) set PGPPASS = "passphrase"
2) pgp ... -z "passphrase"
3) set PGPPASSFD = 0
   the first line of the text file passed over to pgp is taken as the
   passphrase


The pgp command from the pgp2.rc uses the third solution.
The passphrase is sent via the command
cat %?p?-?

I'm not a unix expert. Can anyone explain these quotation marks (?),
please?
Can this %?p? be used in the mailcap file?
I need to send the passphrase to mutt_octet-filter.


Daniel.



Re: Mutt on Mac OS X ?

2000-10-17 Thread Thomas E. Dickey

On Tue, 17 Oct 2000, John Wright wrote:

> On Thu, Oct 12, 2000 at 02:14:36PM -0700, Eugene Lee wrote:
> > Just wondering if anyone has gotten Mutt to work under the Mac OS X
> > Public Beta.
> 
> 1.2.4i didn't compile because it couldn't find things like A_NORMAL.  I
> did find a curses library in some odd place, I might try again with slang or
> something like that.

I'm told that ncurses (post-5.1) builds/works on OS X.  No matter what you
use you'll have trouble with the config.guess and config.sub scripts,
since those cases were only added this year.

-- 
T.E.Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com




Re: spamfilter for procmail

2000-10-17 Thread Bob Bell

On Mon, Oct 16, 2000 at 03:43:46PM -0700, Dale Morris <[EMAIL PROTECTED]> wrote:
> could someone post a simple spam receipe for procmail? I'm afraid I'll
> end up filtering out my important mails. You know, things like distant
> relatives writing to give me money and such..  
> thanks

I method I used while at school is documented at
http://www.css.tayloru.edu/~bbell/spam-filter/

-- 
Bob Bell <[EMAIL PROTECTED]>
-
 "Linux is like living in a teepee. No Windows, no Gates,
  Apache in house."
   -- Usenet signature, author unknown



Re: spamfilter for procmail

2000-10-17 Thread Suresh Ramasubramanian

Martin Treusch von Buttlar proclaimed on mutt-users that: 

> There is a tool called blcheck, which can be used as a procmail-filter,
> and it can use any DNS-RBL you like. I works great for me and you don't
> even need to pester your BOFH to enable this.
 
 Like I said, spambouncer and walt dnes' spamdunk both have this capablity.
 
 I know about blcheck - and Steve Atkins ususally responds rather fast ... or
 you could post your note to news.admin.net-abuse.email / the
 spam-l<@>peach.ease.lsoft.com mailing lists, where this'd be more on-topic,
 and which Steve reads on a regular basis.
 
> IIRC I patched it ligthly to work as a filter. Just ask for it and
> I´ll post that, too. The author did not respond to me.
> The URL for this is: http://www.samspade.org/w/blcheck/
 
 Only hassle is that procmailing to block spam is like shutting the stable
 _after_ the horse has bolted.  You've already received the mail ... so any
 saving in cost is illusory at best (esp with a desktop linux box connected
 over ppp)
 
 MTA blocks are far better 

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
Be prepared to accept sacrifices.  Vestal virgins aren't all that bad.



Re: urlview and netscape not fast enough to read tmp file ?

2000-10-17 Thread -kevin-

Ron & Others,

On 00-08-24 17:49, Brendan Cully <[EMAIL PROTECTED]> wrote:
> As I recall, doing something like adding copiousoutput to the
> particular mailcap entry may work (by getting mutt to wait for you to
> press a key)... or maybe it was needsterminal...

'copiousoutput'!
Straight from my mailcap file:

text/html; netscape -remote 'openFile(%s)'; copiousoutput

This seems to put mutt into a wait mode awaiting for me to hit
Enter before proceeding.  An extra keystroke, but great because I
can actually view the page/email.


> 
> On Thursday, 24 August 2000 at 16:41, David Champion wrote:
> > On 2000.08.24, in <[EMAIL PROTECTED]>,
> > "Ron da Silva" <[EMAIL PROTECTED]> wrote:
> > > 
> > > Seems like mutt writes attachments to /tmp and forwards the filename
> > > to netscape (based on my mailcap file) and then deletes the /tmp file;
> > > however, seems like sometimes the file gets deleted before netscape
> > > finishes reading the file from /tmp.  Thus, I get a partial page or
> > > none at all.
> > > 
> > > Anyone seen the above?  Any ideas on fixing it?
> > 
> > Use this script (or something like it) as your viewer, like this:
> > image/jpeg; ns-wrapper %s
> > 
> > #!/bin/sh
> > ## Wrap ns so that it doesn't lose the file
> > set -- `echo $1 | sed -e 's/\(.*\)\.\([^\.][^\.]*\)$/\1 \2/'`
> > file=$1-tmp.$2
> > echo ln -s $1.$2 ${file}
> > netscape -remote "openURL(${file}, new-window)"
> > exec sh -c "sleep 60; rm -f ${file}" &
> > 
> > Untested, watch out, beware, etc.
> > 
> 
> -- 
> Don't make Godzilla mad!



-- 
-*   -kevin-*-
-* sick with the good infection *-
-*   [EMAIL PROTECTED]   *-
-* http://www.pobox.com/~kathey *-



[Q] Couln't lock mailbox - FAQ?

2000-10-17 Thread abnay

I suspect this is an FAQ. However, I couldn't
find the answer. On Tru64 (Digital Unix) I 
configured mutt with --enable-flock --disable-fcntl
together, only one of them as well as without either
of them. In all cases, when I read my mail with 
the resulting executable and try to save a message,
I get the following error message:

Couldn't lock 

If it matters, I have installed the binaries in 
my home directory.

Can some one please tell me what I am doing wrong?

Thanks,

Bharadwaj


S. Bharadwaj Yadavalli
E-mail : [EMAIL PROTECTED]
 [EMAIL PROTECTED]
___

Free Unlimited Internet Access! Try it now! 
http://www.zdnet.com/downloads/altavista/index.html

___




Re: mailboxes (was Re: spamfilter for procmail)

2000-10-17 Thread Dave Pearson

On Tue, Oct 17, 2000 at 10:18:31AM +0100, Conor Daly wrote:

> Incidentally, does anyone know of a way to cycle through the list of
> folders with new mail on the "c" command. for instance, my Work-related
> mailboxes are listed before the lists in .muttrc but there's times when
> I'm expecting a response to a question sent to a list and I'd like a 
> key or something to cycle through which mailboxes have new mail.
> 
> See? :-)

See the second paragraph in section 3.11 of the mutt manual.

-- 
Take a look in Hagbard's World: | mutt.octet.filter - autoview octet-streams
http://www.hagbard.demon.co.uk/ | mutt.vcard.filter - autoview simple vcards
http://www.acemake.com/hagbard/ | muttrc2html   - muttrc -> HTML utility
Free software, including| muttrc.sl - Jed muttrc mode



Re: spamfilter for procmail

2000-10-17 Thread Mikko Hänninen

Suresh Ramasubramanian <[EMAIL PROTECTED]> wrote on Tue, 17 Oct 2000:
>  Only hassle is that procmailing to block spam is like shutting the stable
>  _after_ the horse has bolted.  You've already received the mail ... so any
>  saving in cost is illusory at best (esp with a desktop linux box connected
>  over ppp)

I don't know, I think the annoyance factor reduction is quite
significant, and that shouldn't be discounted.  True, there are no real
material cost savings achievable at this point.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Bumper sticker: Alcohol and calculus don't mix.  Never drink and derive.



Re: Mutt and PGP passphrase

2000-10-17 Thread Mikko Hänninen

Daniel Kollar <[EMAIL PROTECTED]> wrote on Tue, 17 Oct 2000:
> The passphrase is sent via the command
> cat %?p?-?
> 
> I'm not a unix expert. Can anyone explain these quotation marks (?),
> please?
> Can this %?p? be used in the mailcap file?
> I need to send the passphrase to mutt_octet-filter.

I'm not sure, but the %?p?-? looks like a Mutt expansion string.
If %p is defined (has a non-empty value), it will be used.  If not,
then the string "-" is used instead.

If that's true, then this is Mutt-specific and cannot be used outside
of Mutt (eg. in a mailcap file).


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
No computers were harmed during the creation of this email.



Re: GnuPG autosign how

2000-10-17 Thread David T-G

Rino --

...and then Rino Mardo said...
% Hi.  I have mutt 1.0.1-9 and GnuPG 1.0.1-2 installed in my Debian 2.2 box.
% 
% I've looked at all the FAQs and I can't seem to figure out how to do
% "pgp_autosign" for all outgoing emails.  All I get is:

All you need to do is set pgp_autosign and mutt will do it; that part is
easy.


% 
% gnupg: [options]
% 
% at the bottom of the screen after giving my passphrase and it won't be sent
% unless I disable "sign".

Aha -- this sounds like there is a problem with your gpg invocation.
Would you care to post your gpg.rc file and/or relevant sections of
muttrc for review?


% 
% What am I missing here?

I can't tell you that -- yet ;-)


% 
% -- 
% Who's watching the watchmen?
% 
% Key fingerprint = E619 726E 3815 7A48 EAC7  E49F DF93 4E33 B069 0883


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.


 PGP signature


Re: [Q] Couln't lock mailbox - FAQ?

2000-10-17 Thread David T-G

Bharadwaj --

...and then [EMAIL PROTECTED] said...
% I suspect this is an FAQ. However, I couldn't

It very well might be :-)


% find the answer. On Tru64 (Digital Unix) I 
% configured mutt with --enable-flock --disable-fcntl
% together, only one of them as well as without either

Sure; those can all work well together and the important thing is to make
sure that mutt is configured to use whatever your MDA uses.


% of them. In all cases, when I read my mail with 
% the resulting executable and try to save a message,
% I get the following error message:
% 
% Couldn't lock 

This, on the other hand, sounds like a permissions problem.  I will
hazard a guess that this only happens for your mail spool file, which is
probably located under /var/spool/mail or some such, and that you have no
problem with any mailboxes in your personal tree.  Your mail spool
directory probably looks something like

  drwxrwsr-t  2 root   mail /var/spool/mail

and that means that only root and the mail group -- and that probably
means *not* you - can write in there.  To get around that but not tie so
much power into mutt itself, there is a little binary called mutt_dotlock
which should be installed with mail groupship and with the SGID bit set;
*it* is called by mutt and is what actually does the locking.


% 
% If it matters, I have installed the binaries in 
% my home directory.

That's another clue that the mutt_dotlock file is not set with special
permission.  Check it out.


% 
% Can some one please tell me what I am doing wrong?

We'll certainly try!


% 
% Thanks,
% 
% Bharadwaj

HTH & HAND


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.


 PGP signature


Re: automatically move old Mails in a separate folder

2000-10-17 Thread Byrial Jensen

On Sun, Oct 15, 2000 at 22:24:36 +0200, Norbert Tretkowski wrote:
> Ok, thats one point. But the problem is that when there are noch older
> mails the first mail will be moved to ~/Mail/archiv, even if thats a new
> mail. And this is my main problem.

It is a well known problem. The 'tag-prefix' command will fail if
no messages are tagged, and the following command will then qbe
executed for what happens to be the current message.

This seems rational when typing the commands interactively, but is
indeed a problem when executing macros. I have no solution which
doesn't include patching the source code.

-- 
Byrial
http://home.worldonline.dk/~byrial/



Re: spamfilter for procmail

2000-10-17 Thread Suresh Ramasubramanian

Mikko Hänninen proclaimed on mutt-users that: 

> I don't know, I think the annoyance factor reduction is quite
> significant, and that shouldn't be discounted.  True, there are no real
> material cost savings achievable at this point.
 
 As a sysadmin for a largish isp + portal, my interests center more around the
 cost factor ;)   I prefer to do my spam blocking at the company mailserver ...
 and have procmail to deal with bozos I don't want to talk to, but wouldn't
 want to block across a dozen domains.
 
-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
Maybe Computer Science should be in the College of Theology.
-- R. S. Barton



Re: spamfilter for procmail

2000-10-17 Thread Dave Pearson

On Tue, Oct 17, 2000 at 07:07:05PM +0530, Suresh Ramasubramanian wrote:

>  Only hassle is that procmailing to block spam is like shutting the stable
>  _after_ the horse has bolted. You've already received the mail ... so any
>  saving in cost is illusory at best (esp with a desktop linux box
>  connected over ppp)

I suppose you can call it an illusion but there's something to be said for
having UCE dropped into a separate folder (or /dev/null) so you don't have
to be bothered with it. I'd call it a "cost saving" in that it becomes a
hell of a lot less annoying (and, if you're into reporting such email abuse
there is the added benefit of having the email so you can go to work on it).

-- 
Take a look in Hagbard's World: | mutt.octet.filter - autoview octet-streams
http://www.hagbard.demon.co.uk/ | mutt.vcard.filter - autoview simple vcards
http://www.acemake.com/hagbard/ | muttrc2html   - muttrc -> HTML utility
Free software, including| muttrc.sl - Jed muttrc mode



pgp-hook

2000-10-17 Thread Marco Ahrendt

hi all,

if i put "pgp-hook pattern id" in my config, mutt is asking
me to use id X for pattern Y. this is very useful. but why
is he giving me a list of the keys after that ? i already set this hook
so he should use this specified key. this is very annoying :)
can anyone help me ? maybe there are two pgp keys like this:
pub  1024D/A6243C99 2000-10-15 Marco Ahrendt <[EMAIL PROTECTED]>
sub  2048g/39CB8796 2000-10-15
but when i set a pgp hook on marco and id 39CB8796, mutt gives me
list, to make a choice of the above keys. all what he has to do is
insert the ID into the command.. gpg --encrypt ID ... 
the second thing, i can´t solve is, i specify a key like 39CB8796 and
mutt is telling me:
gpg: using secondary key 39CB8796 instead of primary key A6243C99
but i allready marked the 39. :)
everyone knows this prob ?

cu Marco

--
adconsys AG
Karl-Liebknecht-Str. 19, 04107 Leipzig
Tel.: 0341-98 474 0 Fax: 0341-98 474 59
E-Mail: [EMAIL PROTECTED] URL: www.adconsys.de
Key Fingerprint: AE02 AA7E CFD1 0A4C 497D  8526 E495 102B A624 3C99



Re: [Q] Couln't lock mailbox - FAQ?

2000-10-17 Thread abnay

David,

Thanks for the quick reply. 

Although this was happenning on mailboxes that
live in my user area and that have the right
permissions, setting execute premissions of 
mutt_dotlock (they were not set initially)
did the trick.

Thanks again,

Bharadwaj 
(Mutt can bounce AND thread!! 
 Time has come to abandon ELM !!)

S. Bharadwaj Yadavalli
E-mail : [EMAIL PROTECTED]
 [EMAIL PROTECTED]
___

Free Unlimited Internet Access! Try it now! 
http://www.zdnet.com/downloads/altavista/index.html

___




Re: [Q] Couln't lock mailbox - FAQ?

2000-10-17 Thread Suresh Ramasubramanian

David T-G proclaimed on mutt-users that: 

> and that means that only root and the mail group -- and that probably
> means *not* you - can write in there.  To get around that but not tie so
> much power into mutt itself, there is a little binary called mutt_dotlock
> which should be installed with mail groupship and with the SGID bit set;
> *it* is called by mutt and is what actually does the locking.
 
 Oh - and make sure /var/spool/mail has 1777 permissions.
 
-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
Far duller than a serpent's tooth it is to spend a quiet youth.



Re: spamfilter for procmail

2000-10-17 Thread Suresh Ramasubramanian

Dave Pearson proclaimed on mutt-users that: 

> to be bothered with it. I'd call it a "cost saving" in that it becomes a
> hell of a lot less annoying (and, if you're into reporting such email abuse
> there is the added benefit of having the email so you can go to work on it).
 
 Point taken - and whatever slips through my filters gets larted heavily :) I
 have more time to sit and compose a more comprehensive lart ... and possibly
 follow up with the good folks at the RBL.
 
-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
"During the race
 We may eat your dust,
 But when you graduate,
 You'll work for us."
-- Reed College cheer



Re: [Q] Couln't lock mailbox - FAQ?

2000-10-17 Thread Suresh Ramasubramanian

[EMAIL PROTECTED] proclaimed on mutt-users that: 

> (Mutt can bounce AND thread!! 
>  Time has come to abandon ELM !!)
 
 sig fodder, several years ago ;)

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
Pardon this fortune.  Database under reconstruction.



[Announce] lbdb 0.22

2000-10-17 Thread Roland Rosenfeld

I just released a new version of the little brother's database with
the following changes:

  * Add new module m_addr_email to request data from addressbook program
(http://red.roses.de/~clemens/addressbook/) by Torsten Jerzembeck
<[EMAIL PROTECTED]>.
  * Some optimizations on m_addr_email to handle city name correct and to
junk entries without email address.
  * Update lbdb.el to version 1.8:
- Fixes the problem with spaces in query strings (Closes: #74818).
- New commands lbdb-region and lbdb-maybe-region to query lbdb for the
  content of the current region.
- Autoload lbdb-region and lbdb-maybe-region from startup file.
  * Use sort without -u option, because duplicates are already removed by
munge before.
  * Do not overwrite m_inmail.list on munging, if file system is full.

As usual, you'll find the program at http://www.spinnaker.de/lbdb/

Tscho

Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *

 PGP signature


Re: mailboxes (was Re: spamfilter for procmail)

2000-10-17 Thread Conor Daly

On Tue, Oct 17, 2000 at 03:16:10PM +0300 or so it is rumoured hereabouts, 
Mikko Hänninen thought:
> Conor Daly <[EMAIL PROTECTED]> wrote on Tue, 17 Oct 2000:
> > Incidentally, does anyone know of a way to cycle through the list of
> > folders with new mail on the "c" command.
> 
> You mean, like space does?
> 
OOOHHH!!

Thanks
-- 
Conor Daly <[EMAIL PROTECTED]>

Domestic Sysadmin :-)



Re: Mutt and PGP passphrase

2000-10-17 Thread Michael Tatge

Mikko Hänninen muttered:
> Daniel Kollar <[EMAIL PROTECTED]> wrote on Tue, 17 Oct 2000:
> > The passphrase is sent via the command
> > cat %?p?-?
> > Can this %?p? be used in the mailcap file?
> 
> I'm not sure, but the %?p?-? looks like a Mutt expansion string.

>From my gpg.rc assuming that this is the same for pgp:
 %pThe empty string when no passphrase is needed,
   the string "PGPPASSFD=0" if one is needed.

Obviouly this %p is a mutt expando. You can't use outside mutt.


HTH,

Michael
-- 
Using TSO is like kicking a dead whale down the beach.
-- S.C. Johnson

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13



Re: [Q] Couln't lock mailbox - FAQ?

2000-10-17 Thread David T-G

Suresh --

...and then Suresh Ramasubramanian said...
% David T-G proclaimed on mutt-users that: 
% 
% > and that means that only root and the mail group -- and that probably
%  
%  Oh - and make sure /var/spool/mail has 1777 permissions.

Are you sure that shouldn't be 2775 instead?  I don't think we need
stickiness, but to ensure that only root and mail can write in there...


%  
% -- 
% Suresh Ramasubramanian + Wallopus Malletus Indigenensis
% mallet @ cluestick.org + Lumber Cartel of India, tinlcI
% Far duller than a serpent's tooth it is to spend a quiet youth.


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.


 PGP signature


Re: [Q] Couln't lock mailbox - FAQ?

2000-10-17 Thread David T-G

Bharadwaj --

...and then [EMAIL PROTECTED] said...
% David,
% 
% Thanks for the quick reply. 

You're quite welcome.


% 
% Although this was happenning on mailboxes that
% live in my user area and that have the right

Really?  You mean you had a mailbox in a directory like $HOME/Mail and
the perms on the directory allowed you to write and the mailbox allowed
you to write, so you could do things from the command prompt like touch
an empty new mailbox, and append something to the end of your old
mailbox, and you still had locking problems?


% permissions, setting execute premissions of 

Oh, wait a minute -- if mutt_dotlock wasn't even executable, then that
would certainly explain the problem :-)


% mutt_dotlock (they were not set initially)
% did the trick.

How very interesting...


% 
% Thanks again,

HAND


% 
% Bharadwaj 
% (Mutt can bounce AND thread!! 
%  Time has come to abandon ELM !!)

Of course -- mutt can do everything! ;-)


% 
% S. Bharadwaj Yadavalli
% E-mail : [EMAIL PROTECTED]
%  [EMAIL PROTECTED]


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.


 PGP signature


Ref. env variables in muttrc

2000-10-17 Thread Jack McKinney

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is it possible to use environment variable values in the .muttrc
file somehow?  What I'd like to be able to do is put my KeyID for
my PGP key into an environment variable, and then have my .muttrc
reference this, telling mutt "to find his key id, look in the env
var $KEYID":

set pgp_sign_as=$KEYID

   My mail is sorted via .qmail files into folders, some of which are for
work, and some of which are personal.  I have a work key and a personal
key.  I am subscribed to dozens of email addresses under each ID/key,
meaning that it would take well over 100 folder-hook's to supply either
of two key-ids to each folder.  If I had had the foresight to name the
folders work-mbox, work-cisco-users, me-mbox, me-mutt, me-gnupg-users, etc,
then I could now use a regexp in a folder hook.  Unfortunately, this is
not feasible.
   I currently read my mail via a zsh script I wrote that checks for mail
in each of the folders, and sets my MAILHOST/MAILUSER (used by qmail)
environment variables accordingly.  I could easily add a couple of
lines to this script to also set the 'KEYID' environment variable.
   Alternately, is it possible to supply the keyid on the command line?

- --
"Restore your inalienable human rights. Jack McKinney
 Vote Libertarian.  http://www.lp.org   http://www.lorentz.com
 http://www.harrybrowne2000.org [EMAIL PROTECTED]
1024D/D68F2C07 4096g/38AEF076
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)

iEYEARECAAYFAjnsmf4ACgkQimeon9aPLAcBdQCgpBvAWCkULEfouk8HlYi9Ye82
AGsAoLY9u4hHAnmx3QsW2dhHGkPiyCVA
=EN3u
-END PGP SIGNATURE-



Re: Ref. env variables in muttrc

2000-10-17 Thread Mikko Hänninen

Jack McKinney <[EMAIL PROTECTED]> wrote on Tue, 17 Oct 2000:
> Is it possible to use environment variable values in the .muttrc
> file somehow?  What I'd like to be able to do is put my KeyID for
> my PGP key into an environment variable, and then have my .muttrc
> reference this, telling mutt "to find his key id, look in the env
> var $KEYID":
> 
> set pgp_sign_as=$KEYID

Have you actually tried this?  According to the manual's section 3.1,
this should work.  I haven't personally ever tried this, though.

>Alternately, is it possible to supply the keyid on the command line?

Sure.

  mutt -e 'set pgp_sign_as='


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
And don't start a sentence with a conjunction.



pgp-error...

2000-10-17 Thread Jan- Hendrik Palic

Hi to all...

sorry, this question is asked many time I thing

I had read the documentation for mutt and pgp more or less and I installed
pgp-2.6.3-i on my debian- mashine.

I generated a new key and I I wanted to send me a test mail with a sign.
In the send- menu of mutt, I hit p to use the pgp- feature in mutt and s to
sign.
When I hit y to send the mail, pgp wants me enter the passphrase, and I
enter and then I got this errormessage:
 
Can't open PGP subprocess!: No such file or directory (errno = 2)

The passphrasse is correct, so, what is going wrong?

Any suggestions?

thnx

Jan

-- 
One time, you all will be emulated by linux!


Jan- Hendrik Palic
Url:"http://www.billgotchy.de"
E-Mail: "[EMAIL PROTECTED]"



Mutt not working with PGP 6.5.2

2000-10-17 Thread Chris Sechiatano



Hello,

I'm trying to get PGP 6.5.2 working with mutt.  I downloaded the pgp6.rc
file and am sourcing it in my .muttrc.  Everything seems to work up to the
point where I choose the keyID for the user, then it bombs.  Here is the
message it outputs:

-- Mutt: PGP keys matching <[EMAIL PROTECTED]>.
Pretty Good Privacy(tm) Version 6.5.2
(c) 1999 Network Associates Inc.
Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc.
Export of this software may be restricted by the U.S. government.

WARNING:  Because this public key is not certified with a trusted
signature, it is not known with high confidence that this public key
actually belongs to: "chris sechiatano <[EMAIL PROTECTED]>".
Encryption error

For a usage summary, type:  pgp -h
For more detailed help, consult the PGP User's Guide.
Press any key to continue...


I'm sure its one of the  pgp_encrypt_only_command line in the pgp6.rc file,
but since I'm not a pgp wizard, I need a bit of hand holding.  I changed all
the references of pgp6 to pgp in my pgp6.rc so there shouldn't be any
problem there.

Thanks
-- 
___   _  
   / ___/ /  (_)__   
  / /__/ _ \/ __/ (_-<   
  \ __/_//_/_/ /_/___/   
 
   [EMAIL PROTECTED] 

 
 
 

- End forwarded message -

-- 
___   _  
   / ___/ /  (_)__   
  / /__/ _ \/ __/ (_-<   
  \ __/_//_/_/ /_/___/   
 
   [EMAIL PROTECTED] 

 
 
 



Re: spamfilter for procmail

2000-10-17 Thread raf

Suresh Ramasubramanian wrote:

> Martin Treusch von Buttlar proclaimed on mutt-users that: 
> 
> > There is a tool called blcheck, which can be used as a procmail-filter,
> > and it can use any DNS-RBL you like. I works great for me and you don't
> > even need to pester your BOFH to enable this.
>  
>  Like I said, spambouncer and walt dnes' spamdunk both have this capablity.
>  
>  I know about blcheck - and Steve Atkins ususally responds rather fast ... or
>  you could post your note to news.admin.net-abuse.email / the
>  spam-l<@>peach.ease.lsoft.com mailing lists, where this'd be more on-topic,
>  and which Steve reads on a regular basis.
>  
> > IIRC I patched it ligthly to work as a filter. Just ask for it and
> > I´ll post that, too. The author did not respond to me.
> > The URL for this is: http://www.samspade.org/w/blcheck/
>  
>  Only hassle is that procmailing to block spam is like shutting the stable
>  _after_ the horse has bolted.  You've already received the mail ... so any
>  saving in cost is illusory at best (esp with a desktop linux box connected
>  over ppp)

not if you run procmail on the other side of the modem
before popping the mail to the local host.

>  MTA blocks are far better 

and it only takes one line in sendmail.cf :)

raf




Re: Wildcards in the mailboxes command?

2000-10-17 Thread Aaron Lehmann

On Thu, Oct 12, 2000 at 05:59:11AM -0400, David T-G wrote:
> % > mailboxes `find ~/Mail -type f -print | grep -v sent | xargs`
> 
> [BTW, Patric, you shouldn't even need the xargs on there.]

I seem to need it. And understandably - find prints out each match on
a seperate line.




Re: Wildcards in the mailboxes command?

2000-10-17 Thread raf

Aaron Lehmann wrote:

> On Thu, Oct 12, 2000 at 05:59:11AM -0400, David T-G wrote:
> > % > mailboxes `find ~/Mail -type f -print | grep -v sent | xargs`
> > 
> > [BTW, Patric, you shouldn't even need the xargs on there.]
> 
> I seem to need it. And understandably - find prints out each match on
> a seperate line.

but the backticks convert it all to a single line.

raf




mutt_dotlock build problem in 1.2.5

2000-10-17 Thread David T-G

Hi, folks --

We've changed around to a homespool setup so I didn't notice until now,
but mutt_dotlock didn't get built when I whipped up 1.2.5 with our usual
patch cocktail.  Running 'make' doesn't get me anything new; running
'make mutt_dotlock' gets me

  [zero] [12:29am] ~/xfer/mutt/mutt-1.2.5>  make mutt_dotlock
  gcc -DSHAREDIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\"
-DBINDIR=\"/usr/local/bin\" -DHAVE_CONFIG_H=1 -I. -I. -I. -I./imap -Iintl 
-I/usr/local/include  -I./intl  -Wall -pedantic -Wall -pedantic -O6 -mpentiumpro 
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -c mutt_dotlock.c
  gcc  -Wall -pedantic -Wall -pedantic -O6 -mpentiumpro -malign-loops=2 
-malign-jumps=2 -malign-functions=2  -o mutt_dotlock  mutt_dotlock.o
  /usr/lib/crt1.o: In function `_start':
  /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
mutt_dotlock.o: In function `dotlock_lock':
  mutt_dotlock.o(.text+0x3bd): undefined reference to `Hostname'
  collect2: ld returned 1 exit status
  make: *** [mutt_dotlock] Error 1

Any ideas?  In case it's helpful, see the entire build tree is at

  http://mutt.sector13.org/mutt-build-cocktail/

for your perusal...


TIA & HAND

:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.


 PGP signature


Re: [Q] Couln't lock mailbox - FAQ?

2000-10-17 Thread Suresh Ramasubramanian

David T-G proclaimed on mutt-users that: 

> Are you sure that shouldn't be 2775 instead?  I don't think we need
> stickiness, but to ensure that only root and mail can write in there...
 
 Not the mailboxes - the directory /var/spool/mail/ ...

 From the pine 4.21 docs ...

 In installations like mine where people run both mutt and pine 4.21, this is
 needed .

 What Systems Managers Need to Know about Pine File Locking
 There is an extensive section on locking in the Pine technical notes;
 this information is intended to provide answers to some common questions:

  1. Why did locking change in Pine 4.00?  The actual locking mechanisms did
  not change in 4.00. What changed is that when one particular locking
  mechanism used by Pine fails, Pine now issues a warning message. Prior to
  4.00, the locking failure would occur, but no warning was issued. 
  
  2. Is this what the "Mailbox vulnerable" message is about?  Yes. It means
  that Pine was unable to create a lockfile in the spool directory, generally
  because of overly restrictive protections on the spool directory. The correct
  permissions on the spool directory for running Pine are 1777, i.e.
  read-write-execute permission for everyone, with the sticky-bit set, so only
  owners of a file can delete them.

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
Be valiant, but not too venturous.
Let thy attire be comely, but not costly.
-- John Lyly



Re: spamfilter for procmail

2000-10-17 Thread Suresh Ramasubramanian

raf proclaimed on mutt-users that: 

> not if you run procmail on the other side of the modem
> before popping the mail to the local host.
 
 That saves you part of the cost - but your ISP still has to bear the cost of
 receiving the spam - and several ISPs figure out the costs involved in getting
 spammed and running an abuse desk / hiring admins to block spam.  Who do you
 think bears all these costs?  The users.
 
> >  MTA blocks are far better 
> 
> and it only takes one line in sendmail.cf :)

It takes just the same (but in plain english, more or less) in exim ;)

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
Be valiant, but not too venturous.
Let thy attire be comely, but not costly.
-- John Lyly



GNUpg repost

2000-10-17 Thread Rino Mardo

Sorry folks I'm reposting since my recipe dunk all my emails to /dev/null. doh.

My question is how to make GNUPG (1.0.1-2) and mutt (1.0.1-9) sign all my
emails automagically.

At present if I manually make it sign an email it would ask for the passphrase,
and then would puke and give me:

gpg: [options]

without doing anything.  What am I missing here?


-- 
Who's watching the watchmen?

Key fingerprint = E619 726E 3815 7A48 EAC7  E49F DF93 4E33 B069 0883