Re: starting out with gpg

2002-10-03 Thread Burton Samograd

On Thu, Oct 03, 2002 at 08:19:15PM +0200, Elimar Riesebieter wrote:

> Not needed! I checked my muttrc for something like gpg --recv and
> all is commented out. My keyreceive works from my ~/.gnupg/options:
> 
> keyserver-options auto-key-retrieve include-disabled include-revoked
> 
> This works for gnupg 1.07 and 1.2. I remember in gnupg 1.06 it must
> be recv-keys as a single option.

Ah yes, I forgot about adding that part to the configuration file.
Thanks for pointing it out, since that was the one snag I had with
getting the key retrieval to work.

-- 
burton



msg31521/pgp0.pgp
Description: PGP signature


Re: starting out with gpg

2002-10-03 Thread Burton Samograd

On Thu, Oct 03, 2002 at 11:27:34AM -0400, Mike Arrison wrote:
> 
> My question comes to receiving signed messages. When I get an email
> from someone who is not on my keyring Mutt says that the signature
> cannot be verified. I was hoping that it would automatically go out
> to the key server and retreive the key. Is that possible? Is it good
> practice? Doing a manual "gpg --rece-key KEYID" works, but I'd
> rather something more automatic.
> 
>Thanks in advance,
>   Mike Arrison
> 
> P.S. Does my signature on this email look right?

Try this in your muttrc.  Works fine for me when the person has the key
published at the keyserver i'm using.

set pgp_getkeys_command="gpg --recv-keys %r 2> /dev/null"

burton



msg31517/pgp0.pgp
Description: PGP signature


Re: Update IMAP Immediately

2002-10-01 Thread Burton Samograd

On Tue, Oct 01, 2002 at 05:49:28PM -0700, Jack Bates wrote:
> How can I force mutt to update my IMAP server - changing, for instance, 
> the "new" flag - immediately, instead of waiting until I quit? Thanks,

Try doing a mailbox sync with the '$' key.

burton



msg31438/pgp0.pgp
Description: PGP signature


Re: scrolling behavior

2002-09-25 Thread Burton Samograd

On Wed, Sep 25, 2002 at 06:32:07PM -0700, Dan Sully wrote:
> I have a request from one of my users to make mutt have a small bit of "pine-like" 
>functionality. 
> 
> When one scrolls to the bottom of the index in pine, it refreshes the page, 
> and puts the last message at the top of the screen and continues. 
> 
> Is there any way to make mutt do this? Thanks.

Check the menu_scroll variable.  If it's set to yes it will scroll a
single line at a time, if it's unset it will scroll by page.

burton


msg31252/pgp0.pgp
Description: PGP signature


Re: reread configuration file

2002-09-25 Thread Burton Samograd

On Wed, Sep 25, 2002 at 11:36:38PM +0200, Hans Ginzel wrote:
>
> Something like:
>   :function reread_cfg_files
>   :   reset all options to compile time
>   :   source startup files as by usual start
>   :endfunction
> --

At the top of your .muttrc

unset *
unhook *

should do the trick.

burton


msg31235/pgp0.pgp
Description: PGP signature


Re: Setting up archive folders

2002-09-25 Thread Burton Samograd

On Wed, Sep 25, 2002 at 04:30:33PM +0200, D. J. Bolderman wrote:
> Hi,
> 
> Although I was planning to go back to evolution, I'm still trying mutt
> (it's so cool:)
> 
> Now, I have the following question: is it possible to define different
> 'archive' folders for messages per folder ? What I want to achieve is, when
> I press 's' for a message in (imap)folder Inbox.Test I want to save the
> message automatically to Inbox.Test.Archive without looking up the
> folder in the list.
> 

Look at save-hook in the manual. I would think you would want
something like:

folder-hook Inbox.Test "save-hook . Inbox.Test.Archive"

I think this should work, but the best thing to do is assume that
doesn't work and read a bit more about those commands in the manual :)

burton




msg31208/pgp0.pgp
Description: PGP signature


forcing mutt to read mbox files to look for new messages

2002-09-21 Thread Burton Samograd

Hi all,

Is there a way force mutt to read your mbox files to find if there are
new, unread mails.  I keep finding that once I open a folder mutt will
never say there is new mail in it until a new message is put into it.
I've got the nomark_old on and that doesn't help.  I read that mutt
simply compares the old atime with some other inode time to see if
there are new messages, which doesn't seem to work all that well.  I
remember a discussion a little while ago about searching the mbox
files but people complained it would be too slow, but I still think it
would be helpful for people that don't keep massive mbox's.

That is, if it exists :)

burton


msg31104/pgp0.pgp
Description: PGP signature


getting from and subject in send-hook

2002-09-11 Thread Burton Samograd

Hi again,

Now that my first problem is soved (calling my command from a
send-hook) now I'm running into the second part of what i'm trying to
do.  Is there any way to access the To: and Subject: from the message
that is begin set?  I've already set them before the hook is called,
so i'm thinking there might be some way, but of course, i could be
wrong. :)

burton


msg30904/pgp0.pgp
Description: PGP signature


Re: calling an external command from send-hook

2002-09-11 Thread Burton Samograd

> 
> No, it won't.  send-hook only allows you to execute configuration
> commands, like you would put in a muttrc.  What he's trying to do is
> execute one of Mutt's interactive functions.  There is no "exec"
> configuration command which allows you to run an external program.

Ah, i thought that might be the problem.  Would there be any way of
actually doing what i'm trying to do?  Maybe setting up a macro and
then calling that from send-hook?

burton


msg30898/pgp0.pgp
Description: PGP signature


Re: calling an external command from send-hook

2002-09-11 Thread Burton Samograd

> have you tried by calling the script with its
> full path, ie with "!/path/script foo bar"?
> this *ought* to work!

i've tried a number of variations with path and other commands (like
"!echo Testing > ~/mutt.log" ) and i keep getting the unknown command
error :-/  i know this *should* work but that doesn't seem to be the
case at the moment (i'm using mutt cvs so maybe a bug was
intoduced?).  

burton


msg30895/pgp0.pgp
Description: PGP signature


calling an external command from send-hook

2002-09-11 Thread Burton Samograd

Morning,

I'm trying to get mutt to call an external command from a send-hook
like in the following muttrc line:

send-hook . '!sched.log Testing send hook\n'

but it always just says "!sched.log command not found" after setting
to and subject from a message.  Is it possible to use ! in a send
hook, or only just in macros (which i've gotten to work just fine).

burton


msg30886/pgp0.pgp
Description: PGP signature