Setting From line

2000-10-15 Thread Shane Wegner

Hi,

This is probably answered somewhere but I can't seem to
find it in Mutt's documentation.  A simple situation, I
have continuum.cm.nu which accepts mail for cm.nu.  Thus my
email address is [EMAIL PROTECTED]  Mutt will send this fine but
the From header says:
From [EMAIL PROTECTED]
...
From: [EMAIL PROTECTED]
...
I seem to be able to set how Mutt handles the `From:'
header but not the `From' header.  Is setting this
explicitely possible under Mutt?  It seems that some
mailing list software actually looks at it to decide
whether to accept posts.

Regards,
Shane

-- 
Shane Wegner: [EMAIL PROTECTED]
  http://www.cm.nu/~shane/
PGP:  1024D/FFE3035D
  A0ED DAC4 77EC D674 5487
  5B5C 4F89 9A4E FFE3 035D



Re: Setting From line

2000-10-15 Thread Suresh Ramasubramanian

Shane Wegner proclaimed on mutt-users that: 

 From [EMAIL PROTECTED]
 From: [EMAIL PROTECTED]

 I seem to be able to set how Mutt handles the `From:'
 header but not the `From' header.  Is setting this

set envelope_from

in older mutts, set sendmail=/usr/sbin/sendmail -oi -oem -f [EMAIL PROTECTED]

hth hand
+suresh

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
While there's life, there's hope.
-- Publius Terentius Afer (Terence)



automatically move old Mails in a separate folder

2000-10-15 Thread Norbert Tretkowski

Hi,

at the moment I move 1 week old mails automatically in ~/Mail/archiv/mbox
with the following line in my .muttrc:
folder-hook =mutt-users$'push T~r1w!~F\n\;s+archiv/mutt-users.gz\n'

The problem is, when there are no mails which are 1 week old, mutt
everytime askes "Append messages to foo? ([yes]/no)". Is it possible to
disable this question completely? If there are mails which are 1 week old
or older than mutt moves these mails in ~/Mail/archiv/mbox, without
questioning, and if there are no mails then do nothing?


Regards/Gruesse, Norbert

-- 
 -
/  Norbert Tretkowskihttp://nexus.nobse.de[EMAIL PROTECTED]  \
`  1024D/0F7A8D01 4A6B 2543 679D 43B0 2B63  5439 AFF4 670B 0F7A 8D01  '
 `---'

 PGP signature


mutt and pgp/mime

2000-10-15 Thread Marco Ahrendt

hi all,

i have running mutt1.2.5i and gpg 1.0.1. when i encrypt and sign a message
mutt is exporting the mail like this:

Content-Type: multipart/encrypted; protocol="application/pgp-encrypted";
boundary="sm4nu43k4a2Rpi4c"
Content-Disposition: inline

this is a problem for users with pegasus mail cause they can´t read the
message. the mail comes with 2 binary data parts :( when i copy the
encrypted mail manually in the body and only sign, it works great.
the first part is how i want it:

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

and the second with the signature:

Content-Type: application/pgp-signature
Content-Disposition: inline

how can i get gpg/mutt to copy the encrypted mail into the body and send
it as text/plain?

thx for help!

Marco






Re: newbie? How to view mutt error messages.

2000-10-15 Thread Conor Daly

On Sat, Oct 14, 2000 at 08:57:30PM -0200 or so it is rumoured hereabouts, 
Rod Pike thought:
 Greetings,
 
 Newbie question
 
 When I start ( and quit ) mutt there are sometimes error messages a the
 bottom of the screen that flash up and then are gone.  Is there a log
 that I can look at that contains these messages so I can debug my setup?
 

do a 

mutt 2~/mutt-errs

That will redirect error messages to the file mutt-errs in your home
directory.

-- 
Conor Daly [EMAIL PROTECTED]

Domestic Sysadmin :-)



Re: Composing a draft?

2000-10-15 Thread Charles Curley

On Sun, Oct 15, 2000 at 10:20:06AM +0530, Suresh Ramasubramanian muttered:
 Bob Bell proclaimed on mutt-users that: 
 
  Just open another mutt session.  Unlike many mail editors, you can
  have multiple instances of mutt running at the same time.
  
  However, mailbox flags get modified when you do this - especially with mbox
  folders.  A better thing to do is to use something like gvim or emacs as the
  editor (both of which pop up in different terms from the mutt window, and
  multiple sessions of which can be opened leaving your mutt xterm free)

Which is rather useless because then mutt just sits there with its tongue
hanging out saying "Waiting for Emacs..." until the editor completes. That
phrase is probably an artifact of emaclient rather than mutt, but it does
reneder mutt rather useless while one is editing an email.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Composing a draft?

2000-10-15 Thread Conor Daly

On Sun, Oct 15, 2000 at 10:20:06AM +0530 or so it is rumoured hereabouts, 
Suresh Ramasubramanian thought:
 Bob Bell proclaimed on mutt-users that: 
 
  Just open another mutt session.  Unlike many mail editors, you can
  have multiple instances of mutt running at the same time.
  
  However, mailbox flags get modified when you do this - especially with mbox
  folders.  A better thing to do is to use something like gvim or emacs as the
  editor (both of which pop up in different terms from the mutt window, and
  multiple sessions of which can be opened leaving your mutt xterm free)
  
  Of course, on a console, this means some tedious shifting between alt-f1,
  alt-f2 ... virtual consoles  ;)
  
I don't think this would work.  mutt sits waiting for the editor to return
before sending the mail.  If you use gvim which detaches itself from mutt,
mutt decides that you've abandoned the message and aborts the send.  To
make mutt use gvim you need to use something like

set editor='gvim -e'

which tells gvim to remain within the current process until it exits
rather than detaching from its parent immediately.


-- 
Conor Daly [EMAIL PROTECTED]

Domestic Sysadmin :-)



Re: Composing a draft?

2000-10-15 Thread Dan Boger

On Sun, Oct 15, 2000 at 12:51:12PM +0100, Conor Daly wrote:
 I don't think this would work.  mutt sits waiting for the editor to return
 before sending the mail.  If you use gvim which detaches itself from mutt,
 mutt decides that you've abandoned the message and aborts the send.  To
 make mutt use gvim you need to use something like
 
 set editor='gvim -e'
 
 which tells gvim to remain within the current process until it exits
 rather than detaching from its parent immediately.

ok, but that doesn't help you keep reading mail while you're editing a draft...
I don't have a solution for this though - need some way for mutt to just go
on, not waiting for the process, and not deleteing the tmpfile... then, somehow,
when the editor is done, something needs to send that mail...

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: mutt and pgp/mime

2000-10-15 Thread David T-G

Marco --

Before I forget, you should know that the proper address for mutt-users
is as above; gbnet hosts the mailing list and web site, and their address
sometimes leaks through accidentally.  That said, ...

...and then Marco Ahrendt said...
% hi all,
% 
% i have running mutt1.2.5i and gpg 1.0.1. when i encrypt and sign a message
% mutt is exporting the mail like this:
% 
% Content-Type: multipart/encrypted; protocol="application/pgp-encrypted";
% boundary="sm4nu43k4a2Rpi4c"
% Content-Disposition: inline

Oh, you mean the right way.  Of course!


% 
% this is a problem for users with pegasus mail cause they can´t read the 
% message. the mail comes with 2 binary data parts :( when i copy the 
% encrypted mail manually in the body and only sign, it works great.
% the first part is how i want it:
% 
% Content-Type: text/plain; charset=us-ascii
% Content-Disposition: inline

So you want it done the wrong way, essentially :-)


% 
% and the second with the signature:
% 
% Content-Type: application/pgp-signature
% Content-Disposition: inline
% 
% how can i get gpg/mutt to copy the encrypted mail into the body and send
% it as text/plain? 

Marco, check out pgp_create_traditional in the manual.  I won't tell
you anything else because I don't want to further contribute to your
delinquency ;-)

Suresh  Mrinal  co, this *definitely* needs to go into the mutt-newbie
FAQ.  This seems to come up at least once a week.  Is it just me, or are
we getting *more* questions for this *since* pgp_c_trad was implemented??


% 
% thx for help!

HTH  HAND


% 
% Marco
% 


:-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: mutt and pgp/mime

2000-10-15 Thread Suresh Ramasubramanian

David T-G proclaimed on mutt-users that: 

 Marco, check out pgp_create_traditional in the manual.  I won't tell
 you anything else because I don't want to further contribute to your
 delinquency ;-)
 
 Suresh  Mrinal  co, this *definitely* needs to go into the mutt-newbie
 FAQ.  This seems to come up at least once a week.  Is it just me, or are
 we getting *more* questions for this *since* pgp_c_trad was implemented??
 
 Write it up then, Dave - and post it to mutt-newbie.  Mrinal / Kai will
 sgml'ize it after it's been discussed and edited on the list.

-s (also include a rant on why traditional is NOT always good .)

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
It's not the men in my life, but the life in my men that counts.
-- Mae West



Re: mutt and pgp/mime

2000-10-15 Thread Suresh Ramasubramanian

David T-G proclaimed on mutt-users that: 

 Marco, check out pgp_create_traditional in the manual.  I won't tell
 you anything else because I don't want to further contribute to your
 delinquency ;-)
 
 Suresh  Mrinal  co, this *definitely* needs to go into the mutt-newbie
 FAQ.  This seems to come up at least once a week.  Is it just me, or are
 we getting *more* questions for this *since* pgp_c_trad was implemented??
 
 Write it up then, Dave - and post it to mutt-newbie.  Mrinal / Kai will
 sgml'ize it after it's been discussed and edited on the list.

-s (also include a rant on why traditional is NOT always good .)

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
It's not the men in my life, but the life in my men that counts.
-- Mae West



Re: Setting From line

2000-10-15 Thread Ashton

Suresh Ramasubramanian [EMAIL PROTECTED]:

 Shane Wegner proclaimed on mutt-users that: 
 
  From [EMAIL PROTECTED]
  From: [EMAIL PROTECTED]
 
  I seem to be able to set how Mutt handles the `From:'
  header but not the `From' header.  Is setting this
 
 set envelope_from

or

set hostname




Re: Nuking duplicate messages (from Telsa's .procmailrc)

2000-10-15 Thread Mikko Hänninen

Conor Daly [EMAIL PROTECTED] wrote on Sun, 15 Oct 2000:
 Now, this works nicely most of the time but I find that about 50% of
 postings from mutt-users are coming directly from the authors rather than
 from the list.  I suspect that this is to do with how long the list takes
 to turn around a message and so I'm receiving the post from the author
 before I get it from the list.

Actually, you're much more likely to get the copy sent to you directly
first, before the list copy.  This is because the list server, even if
it's quick, can't hope to send the few hundred (or thousand) copies of
emails to everyone faster than a single email gets to you.

 Anyone come across this problem before (I
 know it's more procmail related than mutt related but us mutterers should
 be familiar with procmail too! :-).

Yes, I've run into this problem too.  I don't currently do duplicate
filtering, but when I did I remember it being sort of a pain.

 Anyway, shouldn't all of us be using the "L" key to reply to the list
 rather than reply to all, thereby eliminating this problem in the first 
 place??!!

Well, in fact everyone should be using Mutt, with $followup_to set,
$honor_followup_to set to "yes", and then it doesn't matter whether
the person doing a reply uses L or g...  As long as they're using
Mutt. :-)


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 /
ZAP!  Process discontinued.  Enter any 12-digit prime number to resume.



Re: Composing a draft?

2000-10-15 Thread Mikko Hänninen

Dan Boger [EMAIL PROTECTED] wrote on Sun, 15 Oct 2000:
 I don't have a solution for this though - need some way for mutt to just go
 on, not waiting for the process, and not deleteing the tmpfile... then, somehow,
 when the editor is done, something needs to send that mail...

Well, the answer is "multi-threading", something that the current Mutt
doesn't do, and which would be a fairly significant change in the
program structure.

I suppose it could be kludged in to work even without multi-threading,
but that wouldn't be the "right" solution IMHO.


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 /
binary tree n.: see binary tree and binary tree.



Re: Composing a draft?

2000-10-15 Thread Ulf Erikson

On Sun, Oct 15, 2000 at 10:13:00PM +0530, Suresh Ramasubramanian wrote:
 Charles Curley proclaimed on mutt-users that: 
 
  Which is rather useless because then mutt just sits there with its tongue
  hanging out saying "Waiting for Emacs..." until the editor completes. That
  phrase is probably an artifact of emaclient rather than mutt, but it does
  reneder mutt rather useless while one is editing an email.
  
  Sounds like a nice thing to fix ;)

There is a nice (or at least fun) fix for this at
  http://www.robots.ox.ac.uk/~neil/mutt/
The idea is to use a small script, which returns immediately, as editor;
this script will spawn a new instance of mutt, running in a term of its own,
ready to compose a mail from your half-made mail as a template.

You can easily modify the script to work without the xterm-title patch.

Ulf



international characters problem.

2000-10-15 Thread users

I'm having a problem with swedish characters in mutt.
Inside mutt I just can't seem to read or write them.
The charset in mutt (iso-8859-1) is correct so I can't
see any reason for why it shouldn't work.

Hmm, I can say that I've got the swedish characters working
in almost every other program include my shell. Formerly I used
the rpm version of mutt and it worked fine, I've though switched
resently to debian and I'm now using version 1.2.5i compiled with
ncurses from a debian package.

Anyone know what I could try to get my swedish characters to
be functional?

Thanks,
Linus.




Re: How can I use mutt on disconnected laptops?

2000-10-15 Thread Conor Daly

On Sat, Oct 14, 2000 at 08:44:28PM -0400 or so it is rumoured hereabouts, 
Dan Boger thought:
 On Sat, Oct 14, 2000 at 08:44:58PM +0100, Conor Daly wrote:
   another way to go at it, and this also works only if there's only one
   machine
   that is getting the mail, is just put the mailfolder (or the maildir) in
   an
   nfs share...
  
  That'll only work while the laptop is connected.  He wants to work on his
  email while roaming with the laptop and have all the folders kept in sync.
 
 I was thinking have having the laptop nfs share the mailfolders to the desktop,
 since I assume that the laptop will always be with him...
 
 :)

OK, that's fine so long as the desktop machine *isn't* receiving mail
while the laptop is away.  My home server collects email about 6 times per
day whether I'm there or not so that wouldn't work for me


-- 
Conor Daly [EMAIL PROTECTED]

Domestic Sysadmin :-)




Re: Mutt and vim enhancment

2000-10-15 Thread Conor Daly

On Sun, Oct 15, 2000 at 05:48:38AM +0100 or so it is rumoured hereabouts, 
David T-G thought:
 Conor --
 
 ...and then Conor Daly said...
 % On Fri, Oct 13, 2000 at 09:00:05AM +0800 or thereabouts, Bevan Broun
 wrote:
 %  on Wed, Oct 11, 2000 at 12:39:46PM -0400, Peter Solodov
 [EMAIL PROTECTED] wrote:
 %   
 %   Is it useful for someone besides me? :-)
 %  
 %  Im using it. I modified the first one to include the Subject but
 then
 ...
 % 
 % Yes, but where do I put the function?
 
 Have you tried putting it in your .vimrc or .exrc file?  That's where
 I'd
 start...
 

No,  I'm only *starting* to plumb the depths of vim and haven't a clue
where .vimrc etc is concerned.  Hence the dumb question... :-)

 
 % 
 % TIA
 
 HTH  HAND
 
 
 % -- 
 % Conor Daly 
 % Met Eireann, Glasnevin Hill, Dublin 9, Ireland
 % Ph +353 1 8064217 Fax +353 1 8064275
 % 
 
 
 :-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.
 

-- 
Conor Daly [EMAIL PROTECTED]

Domestic Sysadmin :-)




Re: How can I use mutt on disconnected laptops?

2000-10-15 Thread Conor Daly

On Sat, Oct 14, 2000 at 06:41:47PM +0100 or so it is rumoured hereabouts, 
Dan Boger thought:
 On Sat, Oct 14, 2000 at 02:35:24PM +, Conor Daly wrote:
  cat ~/mbox | /usr/bin/formail -D 8192 msgid.cache  laptop:~/mbox
  cat laptop:~/mbox | /usr/bin/formail -D 8192 msgid.cache  ~/mbox
  
  and similarly for other folders (I don't know what the "8192" bit
 means above, 
  I just copied it blindly from Telsa's .procmailrc). 
 
 the 8192 is the size of the cache for the IDs - if you're processing a
 large
 mailbox though, (say, more than 10-20 messages) you'd defenitly want
 this
 larger...  at least 64k, if not more...
 
 another way to go at it, and this also works only if there's only one
 machine
 that is getting the mail, is just put the mailfolder (or the maildir) in
 an
 nfs share...
 
 Dan

That'll only work while the laptop is connected.  He wants to work on his
email while roaming with the laptop and have all the folders kept in sync.

-- 
Conor Daly [EMAIL PROTECTED]

Domestic Sysadmin :-)




Re: How can I use mutt on disconnected laptops?

2000-10-15 Thread Mikko Hänninen

Claus Fischer [EMAIL PROTECTED] wrote on Fri, 13 Oct 2000:
 1. I'm thinking of using rsync for the mail folders. I'd have to use
an mbox since rsync doesn't know about mail spool locking.

How about you use Maildir instead?  It's file-per-message, so rsync
presumably would work better with that, instead of having to compare
file contents and find the differences...

The problems I see with Maildir is:
- message flags changes, if these are reflected in the filenames, then
rsync thinks they are two different files, when they're still the same
message
- message deletion -- can rsync be instructed to look at contents of
directory A and compare it to directory B, and as well as create any
missing files in directory B, also delete any extra files?

In fact solving the delete problem also solves the first problem, since
the old message with old flags will get deleted, and the message with
new flags will get created.

Since Maildir stores new messages in a separate directory from the
old/read messages, you can have different synchronising methods for
each -- that way you won't ever delete messages during a sync from
the "new" dir, only the old/read dir ("cur").


Can I somehow run mutt in batch mode to move all mail from
/var/spool/username to ~username/mbox before syncing?

Hmm, I suppose it could be doable: create a special .muttrc with
$move set to "yes", and then push something to mark everything as
read, and then exit Mutt -- it will then automatically move every
message from the folder on exit.

But I wouldn't use Mutt for this, I would use some specialised script or
some other tool maybe.  Or better yet, use a Maildir-format INBOX which
would be located somewhere under the home directory, and deliver all
incoming mail there with procmail or maildrop.

 3. I need to guarantee that mutt isn't running while I do the
rsync, otherwise something will be corrupted.

This won't be a problem under Maildir, the same design which eliminates
the need for locking also means this isn't a problem.


Regards,
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 /
"Out of my mind.  Back in five minutes."



Re: How can I use mutt on disconnected laptops?

2000-10-15 Thread joel wittenberg

Claus -

I read email from both my laptop and desktop machines (which are
each in different email domains, ISPs, etc), and I do this fairly simply
since my email server uses POP3 (I believe that something similar is
possible using IMAP, but I don't know exactly how to do it since I don't
have access to any mail servers which run IMAP).  Just use fetchmail and
supply the UIDL keyword - now each host running email will d/l its own
copy of your mail (thus, both the laptop and the main PC will each have
the full set of email).  Of course, you'll have to d/l and mark as read
email on 1 machine which you've already read on the other but that's
pretty trivial and easy.  And using fetchmail makes it easy to use
procmail as well, which is a Good Thing.

Here's my fetchmail invocation from my .fetchmailrc:

poll pop3 mail server with proto POP3 uidl
   user "remote username" there with password "password"
   is "local username" here
  options keep

Works okay for me and is fully automatic.  No need for rsync, single
mutt running guarantees, etc.

/joel

Quoting Claus Fischer [EMAIL PROTECTED]:

 --
 
 Date: Fri, 13 Oct 2000 23:31:03 -0700
 From: Claus Fischer [EMAIL PROTECTED]
 Subject: How can I use mutt on disconnected laptops?
 
 I have a laptop which is sometimes disconnected from my main PC.
 I want to use mutt alternatingly on both systems, for the same
 inbox and mail folders.
 Does anyone have a proven method of doing that?
 Like that:
  work on main PC
  synchronize
  disconnect
  work on laptop
  connect
  synchronize
  ... [ start over ]
 1. I'm thinking of using rsync for the mail folders. I'd have to use
an mbox since rsync doesn't know about mail spool locking.
Can I somehow run mutt in batch mode to move all mail from
/var/spool/username to ~username/mbox before syncing?
 2. Is there a better tool for handling mail boxes than rsync?
One that merges two mailbox files but doesn't create
duplicate identical messages?
 3. I need to guarantee that mutt isn't running while I do the
rsync, otherwise something will be corrupted.
Is it possible to gracefully terminate a running mutt?
   killall -QUIT mutt
   mutt:
   - kill editor
   - postpone currently composed message
   - do a `quit' (including expunge)
   - remove pid file
   - exit(0)
   wait for pid file to go away and rsync
   [ just dreaming ]
 If someone has experience with that situation I would
 appreciate scripts or comments; otherwise I'll experiment
 and perhaps report back.
 Regards,
 Claus
 - -- 
 Claus Fischer [EMAIL PROTECTED]
 

-- 

joel wittenberg
[EMAIL PROTECTED] [work]
[EMAIL PROTECTED] [permanent]




Re: automatically move old Mails in a separate folder

2000-10-15 Thread Juergen Salk

* Norbert Tretkowski [EMAIL PROTECTED] [001015 14:31]:
 
 The problem is, when there are no mails which are 1 week old, mutt
 everytime askes "Append messages to foo? ([yes]/no)". Is it possible to
 disable this question completely? 

Try adding "unset confirmappend" to your $HOME/.muttrc file.

Best regards - Juergen




Re: automatically move old Mails in a separate folder

2000-10-15 Thread Norbert Tretkowski

* Juergen Salk [EMAIL PROTECTED] wrote:
 * Norbert Tretkowski [EMAIL PROTECTED] [001015 14:31]:
  
  The problem is, when there are no mails which are 1 week old, mutt
  everytime askes "Append messages to foo? ([yes]/no)". Is it possible to
  disable this question completely? 
 
 Try adding "unset confirmappend" to your $HOME/.muttrc file.

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.

Anyway thanks for your hint.


Regards/Gruesse, Norbert

-- 
 -
/  Norbert Tretkowskihttp://nexus.nobse.de[EMAIL PROTECTED]  \
`  1024D/0F7A8D01 4A6B 2543 679D 43B0 2B63  5439 AFF4 670B 0F7A 8D01  '
 `---'

 PGP signature


Re: Composing a draft?

2000-10-15 Thread Anthony Liu

On Sun, Oct 15, 2000 at 10:20:06AM +0530, Suresh Ramasubramanian wrote:
 Bob Bell proclaimed on mutt-users that: 
 
  Just open another mutt session.  Unlike many mail editors, you can
  have multiple instances of mutt running at the same time.
  
  However, mailbox flags get modified when you do this - especially with mbox
  folders.  A better thing to do is to use something like gvim or emacs as the
  editor (both of which pop up in different terms from the mutt window, and
  multiple sessions of which can be opened leaving your mutt xterm free)
  
  Of course, on a console, this means some tedious shifting between alt-f1,
  alt-f2 ... virtual consoles  ;)
  
The problem is mutt will still wait for the editor to finish because
mutt will only determine it is a draft when you exit the editor and
hit the postpone key.  If there is a way to tell mutt not to wait
(just start the editor in another thread and handle the draft file),
then it is possible to edit a long draft and read other mails at the
same time.

For the time being, starting another copy of mutt is half a solution.

I can think of another solution: create a script that can handle the
draft file directly without help from mutt.  It will take the draft
file, parse it, take the contents out to a temp file, start the
editor with the temp file.  When editing is done, it will load the
temp file back to the draft file and modify the draft file headers and
put them back altogether. 



PGP, mutt, I'm stuck trying to encrypt a message

2000-10-15 Thread Rod Pike

Uncle!!!

Ok I'm a newbie as far as mutt goes but I'm willing to pay my pound of flesh cause I 
know it'll be worth it.

I'm running mutt-1.2.5i-1 that I installed as an RPM on RH 6.2.  It seems to be 
working more of less with my IMAP server.  I am trying to get it working with PGP 
6.5.8.  I've sourced the pgp6.rc from the mutt-1.2.5/contrib directory and everything 
seems cool.  Just in case I made a link from pgp6 to pgp.  I'm able to decrypt mails 
sent to me after making the appropriate change to my .procmailrc.  The first problem I 
have come across is when I try to encrypt a file to someone else.  After I say "y" to 
send I'm asked:
"EnterkeyID for [EMAIL PROTECTED]:"
who exists in my pubring.pkr.  I enter the keyID but it just keeps asking me for it?  
Where do I go from here?

The only thing that I suspect may be wrong is the last line in the pgp6.rc file

pgp6.rc
snipp
set pgp_getkeys_command="pkspxycwrap %r"

I've seen several posting concerning "pkspxycwrap" but nothing that makes any sense to 
me.  Is is a typo?  Is there a space missing?  I tried making it "pkspxyc wrap %r" but 
it didn't seem to improve anything.  I've even installed pkspxy-0.5 but that didn't 
seem to make a difference?

I've read I think all there is to read concerning mutt and PGP but nothing seems to be 
relevant to this problem.

Thanks in advance for any help.

Cheers,
Rod



Re: Composing a draft?

2000-10-15 Thread Conor Daly

On Sun, Oct 15, 2000 at 05:11:47PM +0100 or so it is rumoured hereabouts, 
Dan Boger thought:
 On Sun, Oct 15, 2000 at 12:51:12PM +0100, Conor Daly wrote:
  I don't think this would work.  mutt sits waiting for the editor to
 return
  before sending the mail.  If you use gvim which detaches itself from
 mutt,
  mutt decides that you've abandoned the message and aborts the send.
 To
  make mutt use gvim you need to use something like
  
  set editor='gvim -e'
  
  which tells gvim to remain within the current process until it exits
  rather than detaching from its parent immediately.
 
 ok, but that doesn't help you keep reading mail while you're editing a
 draft...
 I don't have a solution for this though - need some way for mutt to just
 go
 on, not waiting for the process, and not deleteing the tmpfile... then,
 somehow,
 when the editor is done, something needs to send that mail...
 

Exactly my point...

could do something like

set edit_hdrs
set editor='independent-process-and-send-script '

and have independent-process-and-send-script look something like

#!/bin/bash

gvim -e $1

mutt -sSubject somehow gathered from mutt recipient also gathered from mutt  $1

# END

There was mention of how to get the recipient and subject from mutt with
vim in another thread here.

That would do it...
-- 
Conor Daly [EMAIL PROTECTED]

Domestic Sysadmin :-)



Re: Composing a draft?

2000-10-15 Thread Mikko Hänninen

Conor Daly [EMAIL PROTECTED] wrote on Sun, 15 Oct 2000:
 mutt -sSubject somehow gathered from mutt recipient also gathered from mutt  $1

It might be easier to just use "mutt -H tempfile", and then use /dev/null
as the input.


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 /
God is REAL, unless explicitly declared INTEGER.



Re: How can I use mutt on disconnected laptops?

2000-10-15 Thread Dan Boger

On Sun, Oct 15, 2000 at 12:15:04PM -0700, joel wittenberg wrote:
   I read email from both my laptop and desktop machines (which are
 each in different email domains, ISPs, etc), and I do this fairly simply
 since my email server uses POP3 (I believe that something similar is
 possible using IMAP, but I don't know exactly how to do it since I don't
 have access to any mail servers which run IMAP).  Just use fetchmail and
 supply the UIDL keyword - now each host running email will d/l its own
 copy of your mail (thus, both the laptop and the main PC will each have
 the full set of email).  Of course, you'll have to d/l and mark as read
 email on 1 machine which you've already read on the other but that's
 pretty trivial and easy.  And using fetchmail makes it easy to use
 procmail as well, which is a Good Thing.

this would work for getting mail, but you would still lose the sent mail
data, and would have to process all your mail twice...  the only way to 
achieve all this that I can think of, without scripts and such, is to use
IMAP... which is a whole other bag of tricks...

:)

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: mutt and pgp/mime

2000-10-15 Thread David T-G

Suresh --

...and then Suresh Ramasubramanian said...
% David T-G proclaimed on mutt-users that: 
% 
%  Suresh  Mrinal  co, this *definitely* needs to go into the mutt-newbie
%  FAQ.  This seems to come up at least once a week.  Is it just me, or are
%  we getting *more* questions for this *since* pgp_c_trad was implemented??
%  
%  Write it up then, Dave - and post it to mutt-newbie.  Mrinal / Kai will
%  sgml'ize it after it's been discussed and edited on the list.

What, you want *me* to do work?!?  Well, I'll be happy to get to it as
soon as I can :-)


% 
%   -s (also include a rant on why traditional is NOT always good .)

Of course!


:-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: mutt and pgp/mime

2000-10-15 Thread David T-G

Marco --

...and then Marco Ahrendt said...
% On 15 Oct 00, at 13:40, David T-G wrote:
% 
%  you anything else because I don't want to further contribute to your
%  delinquency ;-)
% 
% i forgot to say that i already tested this setting. this is not what i want:)

Ah.  Well, I don't feel so bad, then! ;-)


% mutt then sends the mail like this:
% 
% Content-Type: application/pgp; x-action=encrypt; format=text
% Content-Disposition: inline; filename="msg.pgp"
% 
% but i don´t want application/pgp.. i want something like this:
% 
% Content-Type: text/plain; charset=us-ascii
% Content-Transfer-Encoding: 7bit

I see...


% 
% is there a outgoing filter or how can i change the set 
% pgp_encrypt_sign_command to encrypt/sign the message and copy
% the msg into the body back ?

I think there was a patch posted recently that took care of this sort of
thing for LookOut! users; you might check the archives.


% 
% cu Marco


:-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: How can I use mutt on disconnected laptops?

2000-10-15 Thread Claus Fischer

On Sun, Oct 15, 2000 at 06:34:55PM -0400, Dan Boger wrote:
: On Sun, Oct 15, 2000 at 12:15:04PM -0700, joel wittenberg wrote:
:  I read email from both my laptop and desktop machines (which are
:  each in different email domains, ISPs, etc), and I do this fairly simply
:  since my email server uses POP3 (I believe that something similar is
:  possible using IMAP, but I don't know exactly how to do it since I don't
:  have access to any mail servers which run IMAP).  Just use fetchmail and
:  supply the UIDL keyword - now each host running email will d/l its own
:  copy of your mail (thus, both the laptop and the main PC will each have
:  the full set of email).  Of course, you'll have to d/l and mark as read
:  email on 1 machine which you've already read on the other but that's
:  pretty trivial and easy.  And using fetchmail makes it easy to use
:  procmail as well, which is a Good Thing.
: 
: this would work for getting mail, but you would still lose the sent mail
: data, and would have to process all your mail twice...  the only way to 
: achieve all this that I can think of, without scripts and such, is to use
: IMAP... which is a whole other bag of tricks...

That's just the point. I archive my sent mail and also important
incoming mail, and I want to share the archive system between my
laptop and my desktop.
I have a fetchmail setup right now, but this is not what I want.
I want to wade through my 100 emails/day exactly once: some is junk,
some is mailing lists which I mostly digest and delete, some is 
important and needs to be answered and/or saved.

Right now I see scripts as my only chance; if someone has experience
with a good setup please let me know.

Claus

-- 
Claus Fischer [EMAIL PROTECTED]




Re: How can I use mutt on disconnected laptops?

2000-10-15 Thread Mikko Hänninen

Claus Fischer [EMAIL PROTECTED] wrote on Sun, 15 Oct 2000:
 Right now I see scripts as my only chance; if someone has experience
 with a good setup please let me know.

Well, one alternative you may consider looking into is AFS (Andrew File
System).  I've never used it myself, but IIRC it supports "disconnected"
use, with syncing upon reconnect.  If you put your mail directory via
AFS and then mount that from your laptop, you should be able to
disconnect and then reconnect later, and the filesystem would take care
of the syncing.  However in this case I do recommend (again) Maildir, as
I'm not sure how will it would handle changes to a single file while
disconnected (ie. mbox folders).

From what little I know of AFS, it's not simple to set up, so may be too
complex for this kind of use.  Still, it may be worth looking into.


Regards,
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 /
SETI@home -- http://setiathome.ssl.berkeley.edu/ -- The aliens must be found!



urlview

2000-10-15 Thread Darrin Mison

my urlview conf (the default) opens urls in the most recent netscape window.

# command to invoke for selected URL
COMMAND netscape -remote 'openURL(%s)'

Can this be changed so that it opens a new netscape window for it? 

--
Darrin Mison
-- 
Lazlo's Chinese Relativity Axiom:
No matter how great your triumphs or how tragic your defeats --
approximately one billion Chinese couldn't care less.

 PGP signature


Re: urlview

2000-10-15 Thread Ben Roberts

use this command:
netscape -remote openURL(%s, new-window)

this comes from http://home.netscape.com/newsref/std/x-remote.html as
referenced by the netscape binary.  the document covers remote control
of netscape; pretty spiffy.  

-- 

Ben Roberts, Class of 2001 (1st of millenium), founding member of MBLUG

"Gather your wits and hold on fast/ Your mind must learn to roam"
-- Gypsy Queen, "Tommy", The Who



Re: How can I use mutt on disconnected laptops?

2000-10-15 Thread Peter Jaques

there's a tricky thing here, though. if a message exists on the desktop
machine,  not on the laptop, there are two possibilities. 1) you
downloaded it to the laptop  deleted it, or 2) it's new mail you've never
downloaded to laptop. this could be dealt with by keeping a record of when
syncs happen  comparing that to file mod times, i suppose. or does maildir
do this in some special way?

peter

On 16 Oct 00,  2:43AM, Mikko Hänninen wrote:
 Claus Fischer [EMAIL PROTECTED] wrote on Sun, 15 Oct 2000:
  Right now I see scripts as my only chance; if someone has experience
  with a good setup please let me know.
 
 Well, one alternative you may consider looking into is AFS (Andrew File
 System).  I've never used it myself, but IIRC it supports "disconnected"
 use, with syncing upon reconnect.  If you put your mail directory via
 AFS and then mount that from your laptop, you should be able to
 disconnect and then reconnect later, and the filesystem would take care
 of the syncing.  However in this case I do recommend (again) Maildir, as
 I'm not sure how will it would handle changes to a single file while
 disconnected (ie. mbox folders).
 
 From what little I know of AFS, it's not simple to set up, so may be too
 complex for this kind of use.  Still, it may be worth looking into.
 
 
 Regards,
 Mikko




Re: Composing a draft?

2000-10-15 Thread Peter Jaques

why not just sync the mailbox before starting the draft? then if you start
another mutt which modifies the flags, it doesn't matter.

peter

On 15 Oct 00, 12:16PM, Dan Boger wrote:
 On Sun, Oct 15, 2000 at 12:51:12PM +0100, Conor Daly wrote:
  I don't think this would work.  mutt sits waiting for the editor to return
  before sending the mail.  If you use gvim which detaches itself from mutt,
  mutt decides that you've abandoned the message and aborts the send.  To
  make mutt use gvim you need to use something like
  
  set editor='gvim -e'
  
  which tells gvim to remain within the current process until it exits
  rather than detaching from its parent immediately.
 
 ok, but that doesn't help you keep reading mail while you're editing a draft...
 I don't have a solution for this though - need some way for mutt to just go
 on, not waiting for the process, and not deleteing the tmpfile... then, somehow,
 when the editor is done, something needs to send that mail...

-- 
 Peter Jaques [EMAIL PROTECTED]   http://cs.oberlin.edu/~pjaques
   klezmerbalkanturkish clarinet; free foodshelter; books to prisoners
 pgp: email me with subject "get pgp key", or finger [EMAIL PROTECTED]




Re: Composing a draft?

2000-10-15 Thread Peter Jaques

clever!

On 15 Oct 00,  8:23PM, Ulf Erikson wrote:
 There is a nice (or at least fun) fix for this at
   http://www.robots.ox.ac.uk/~neil/mutt/
 The idea is to use a small script, which returns immediately, as editor;
 this script will spawn a new instance of mutt, running in a term of its own,
 ready to compose a mail from your half-made mail as a template.
 
 You can easily modify the script to work without the xterm-title patch.
 
 Ulf