S/SMIME configuration: .index-file

2014-01-05 Thread Heiko Heil

Dear mutt-users,

Anybody knows the format of the ".index"-file (used to manage the 
certificates and keys in a S/SMIME-setup[1])?


The first three items are obvious...

 first.l...@domain.com 1a2b3c4d.0 me ? t
 ^ email   ^ key  ^ label

...but what about the last 2? I didn't find any information in the 
manuals.


Best regards,
Heiko

[1] http://equiraptor.com/smime_mutt_how-to.html
--
Heiko Heil • heiko.h...@me.com


Re: S/MIME configuration: .index-file

2014-01-05 Thread Heiko Heil

On Sun, Jan 05, 2014 at 04:25:39PM +0100, Heiko Heil wrote:

[...]
first.l...@domain.com 1a2b3c4d.0 me ? t
^ email   ^ key  ^ label

...but what about the last 2? I didn't find any information in the 
manuals.


I found the description of those fields in smime.c:
/* 0=email 1=name 2=nick 3=intermediate 4=trust */ (line 397)

Just wondering why "smime_keys add_p12" didn't insert the intermediate 
certificate ("?").


Best regards,
Heiko
--
Heiko Heil • heiko.h...@me.com • twitter @hhe • mobile +49 170 4713229


Re: S/MIME configuration: .index-file

2014-01-06 Thread Heiko Heil

Hello Mick,

On Sun, Jan 05, 2014 at 08:34:52PM +, Mick wrote:

I found the description of those fields in smime.c:
/* 0=email 1=name 2=nick 3=intermediate 4=trust */ (line 397)
Just wondering why "smime_keys add_p12" didn't insert the 
intermediate certificate ("?").


Could it be that the intermediate cert was not part of the p12 file bundle?


I just double-checked this: The Firefox-export didn't contain the 
intermediate cert.


But also extracting certificates from a smime-signed-e-mail (Ctrl-k) 
doesn't work (? as intermediate). I use the S/MIME-configuration from my 
homebrew setup 
(homebrew/Cellar/mutt/1.5.22/share/doc/mutt/samples/smime.rc).


Maybe I will check the workaround described on 
http://wiki.cacert.org/EmailCertificates the next time.


Best regards,
Heiko
--
Heiko Heil • heiko.h...@me.com


Ask before sending non-rfc gpg-mails

2002-03-05 Thread Heiko Heil

Hello mutt-users,

I'm using "set pgp_create_traditional=yes" in my .muttrc to send
encrypted/signed E-Mails to Outlook-users (this client obviously isn't
RFC 2015-compatible). In addition I use the pgp-traditional patch from
Dale Woolridge for forcing text/plain content.

Is it possible to use pgp_create_traditional only if required?
-- 
Cheers,
Heiko Heil

__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de



Saving a read E-Mail into an imap-folder -> O-flag

2002-03-05 Thread Heiko Heil

Hello mutt-users,

whenever I save a *read* message into an imap-folder the message is
marked as "old" (O). What can I do against this behaviour?
-- 
Cheers,
Heiko Heil (using Mutt 1.3.27i)

__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de



Re: Setting the hostname used in HELO

2002-03-06 Thread Heiko Heil

On Tue, Mar 05, 2002 at 10:29:48AM -0800, Bob McLaren wrote:

> So now what I am looking for is a simple SMTP client that is as
> easy to use as Mutt, or, some alternative means of getting Mutt to 
> talk to my remote smtp server.

What about port-forwarding with ssh?
-- 
Cheers,
H. Heil


__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de



Re: Is mutt really "handicapped"?

2002-03-07 Thread Heiko Heil

On Thu, Mar 07, 2002 at 11:30:30AM -0500, Philip Mak wrote:
> [...]
> (In mutt or pine, if I wanted to go look at another message while I'm
> already writing one, I'd have to postpone it, go look, and come back.)

I use the splitting-feature of vim (:help sp).
-- 
Cheers,
Heiko Heil



msg25149/pgp0.pgp
Description: PGP signature


Re: use another email address

2002-03-08 Thread Heiko Heil

On Thu, Mar 07, 2002 at 05:26:18PM -0600, Knute wrote:
> [...]
>   macro index  '\n set my_hdr From: [EMAIL PROTECTED]'

macro index  ":my_hdr From: Tux Tucker <[EMAIL PROTECTED]>\n"
-- 
Cheers,
Heiko Heil



msg25190/pgp0.pgp
Description: PGP signature


Re: Problems sending large attachments

2002-03-10 Thread Heiko Heil

On Sun, Mar 10, 2002 at 11:03:58AM +0100, Johannes Franken wrote:
> > Mutt sends the mail to mqueue 
> not exactly.  mutt does not queue any mail. It just feeds your
> postings to a local sendmail process, which may decide to store it
> or send it through your IP stack.

In order to send mails directly (SuSE73), try to set the following
parameters in /etc/rc.config.d/sendmail.rc.config...
SENDMAIL_TYPE="yes"
SENDMAIL_SMARTHOST=""
SENDMAIL_LOCALHOST="localhost pc-name.domain.xx"
SENDMAIL_RELAY=""
SENDMAIL_ARGS="-bd -q30m -om"
SENDMAIL_EXPENSIVE="no"
SENDMAIL_NOCANONIFY="yes"
SENDMAIL_NODNS="no"
SENDMAIL_DIALUP="no"
SENDMAIL_GENERICS_DOMAIN=""
MASQUERADE_DOMAINS=""

...and run /sbin/conf.d/SuSEconfig.sendmail && rcsendmail restart
-- 
Cheers,
Heiko Heil



msg25220/pgp0.pgp
Description: PGP signature


logical operator

2002-03-14 Thread Heiko Heil

Hello Mutt-users,

taken from my ~/.muttrc:
save-hook "~t [EMAIL PROTECTED]|~c [EMAIL PROTECTED]" +tux

Is it possible to use an logical or operator in order to avoid
redundancy?

I didn't succeed with this attempt:
save-hook "(~t|~c) [EMAIL PROTECTED]" +tux
-- 
Cheers,
Heiko Heil



msg25479/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-02 Thread Heiko Heil

On Tue, Apr 02, 2002 at 10:50:24AM -0500, Dan Boger wrote:
> when I don't access that one folder for a while, and I switch to it
> (with a macro), I get an error "connection closed" and an empty index.
> the only thing I could find that would fix this is to quit mutt and
> start it again - a new connection will then be established.

I have the same problem here. I find it very annoying that due to the
lost connection my sent E-Mail cannot be saved.

By the way - I use the preconnect-feature in order to access my
imap-port:
set preconnect="ssh -f -q -L 8090:127.0.0.1:143 -L 8091:127.0.0.1:389 \
  [EMAIL PROTECTED] sleep 120 < /dev/null > /dev/null 2>&1"
-- 
Cheers, Heiko Heil
using Mutt 1.3.28i (2002-03-13)



Re: close IMAP connections

2002-04-02 Thread Heiko Heil

On Tue, Apr 02, 2002 at 11:35:51AM -0500, Dan Boger wrote:
> I just use imaps, and it's all behind my firewall anyway... but that
> doesn't solve the problem ...

I like port-forwarding via ssh because I don't want to open my
imap-port.
-- 
Cheers,
Paranoia-Heiko ;-)



msg26533/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-02 Thread Heiko Heil

On Tue, Apr 02, 2002 at 06:24:45PM +, Simon White wrote:
> I'm assuming that you mean the IMAP folder with a different username.
> 
> Do you have anything set for mail_check in your .muttrc?
> How about you, Heike?
  ^ --> o ;-)

Currently I use:
set mail_check=120
set timeout=15

After I have sent some mail my connection is lost an therefore my E-Mail
cannot be saved...
-- 
Cheers,
Heiko Heil



msg26546/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-02 Thread Heiko Heil

On Tue, Apr 02, 2002 at 01:32:01PM -0500, Dan Boger wrote:
> _very_ interesting.  so while it doesn't help with my current problem
> (since the mailbox that's timing out isn't one that's getting polled for
   ^^^
The same applies for me...

> new mail) [...]
-- 
Cheers,
Heiko Heil



msg26551/pgp0.pgp
Description: PGP signature


language-problem

2002-04-02 Thread Heiko Heil

Hello mutt-users,

I have compiled mutt v1.3.28i both on my Server (based on SuSE7.1) and
on my Laptop (based on SuSE7.3).  Now I have noticed that the
mutt-version on the server runs in English language and the mutt-version
on my laptop in German language. The language-settings (according to
locale) only differ from the @euro-suffix. But I want both versions in
German language.

hh@server:~ > locale
LANG=de_DE
LC_CTYPE="de_DE"
LC_NUMERIC="de_DE"
LC_TIME="de_DE"
LC_COLLATE=POSIX
LC_MONETARY="de_DE"
LC_MESSAGES="de_DE"
LC_PAPER="de_DE"
LC_NAME="de_DE"
LC_ADDRESS="de_DE"
LC_TELEPHONE="de_DE"
LC_MEASUREMENT="de_DE"
LC_IDENTIFICATION="de_DE"
LC_ALL=

hh@server:~ > mutt -v
Mutt 1.3.28i (2002-03-13)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.2.18 (i586) [using ncurses 5.2]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  -DL_STANDALONE
+USE_FCNTL  -USE_FLOCK
-USE_POP  +USE_IMAP  -USE_GSS  +USE_SSL  -USE_SASL
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
+HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <[EMAIL PROTECTED]>.
To report a bug, please use the flea(1) utility.

patch-1.3.26.dw.pgp-traditional.2
-- 
Cheers,
Heiko Heil



msg26573/pgp0.pgp
Description: PGP signature


Re: language-problem

2002-04-03 Thread Heiko Heil

On Wed, Apr 03, 2002 at 02:16:40PM +0200, Erika Pacholleck wrote:
> > hh@server:~ > locale
> > LANG=de_DE
> > [snipped]
> I read this to be the locale of your server.
> I guess the locale of your laptop looks like LANG=de_DE@euro.

Right.

> 2 reasons I can think of:
> 1. check /usr/lib/locale directories having both de_DE and de_DE@euro

hh@server:~ > ls -d /usr/lib/locale/de_DE*
/usr/lib/locale/de_DE  /usr/lib/locale/de_DE.utf8 /usr/lib/locale/de_DE@euro
hh@laptop:~ > ls -d /usr/lib/locale/de_DE*
/usr/lib/locale/de_DE  /usr/lib/locale/de_DE.utf8 /usr/lib/locale/de_DE@euro

> 2. check both LANGUAGE variables

Mutt is still running in English language...
-- 
Cheers,
Heiko Heil



Re: language-problem

2002-04-04 Thread Heiko Heil

On Thu, Apr 04, 2002 at 12:46:20PM +0200, Sven Guckes wrote:
>   $ LANG=de_DE
>   $ export LANG
>   $ mutt -F /dev/null -f /dev/null
> 
> mutt gives me this mini-help now:
> q:Ende  d:Lösch.  u:Behalten  s:Speichern  m:Senden  r:Antw.  g:Antw.alle  ?:Hil
> 
> Does it work for you now, too?

No :-(

I noticed another inconsistency: The result of the "mutt -v"-command is
in English. When I type "mutt -v" on my laptop I get a German text.
-- 
Cheers,
Heiko Heil



Re: language-problem

2002-04-04 Thread Heiko Heil

On Thu, Apr 04, 2002 at 02:46:23PM +0200, Martin Karlsson wrote:
> [Heiko Heil is having problems with mutt speaking English even
> though Heiko's locale is German.]
> Just a thought: You do use the same (type of) shell on both
> machines, right? If not, check that you are using the correct
> terminology for the environment variables.

I'm using bash on both machines. Before starting mutt I check the
environment variables (with echo).

I've tried several combinations: de_DE, de_DE@euro, de_DE.ISO-8859-1,
de_DE.ISO-8859-15, ... Without success :-(
-- 
Cheers,
Heiko Heil



Re: language-problem

2002-04-04 Thread Heiko Heil

On Thu, Apr 04, 2002 at 04:04:21PM +0200, Nicolas Rachinsky wrote:
> Are the variables "export"ed?
> Start a new bash, and check if the variables are still there.

Yes, they are exported.

Other programms like gnupg are running in German language whithout
persuasion.
-- 
Cheers,
Heiko Heil



Re: language-problem

2002-04-04 Thread Heiko Heil

On Thu, Apr 04, 2002 at 04:19:54PM +0200,
German Kraut Sven Guckes wrote:
> [...]
> come on - give more info!
> how did you install mutt - from source?  deb?  rpm?
 ^^^
> where does the binary get its locales?
> 
>   $ mutt -v | grep PKG
>   PKGDATADIR="/home/guckes/share/mutt"

result:
PKGDATADIR="/usr/local/share/mutt"
This directory doesn't exist on both machines!

>   $ cd ~/share/locale/de/LC_MESSAGES/
>   $ ls
>   mutt.mo
> 
>   guckes@debian:~$ locate mutt.mo | grep /de/
>   /usr/share/locale/de/LC_MESSAGES/mutt.mo
> 
> Does your system have those, too?

mutt.mo only exists on the laptop
/usr/local/share/locale/de/LC_MESSAGES/mutt.mo

But during the configure-make-make install-process I get no error
message!

> Sven  [who thinks that Krauts should learn English - period.]
 ^^^
IMHO my mutt should learn German! ;-)
-- 
Cheers,
Heiko Heil



Re: language-problem -> no locales files foo.mo

2002-04-04 Thread Heiko Heil

hh@server:~>export LANG=kraut

On Thu, Apr 04, 2002 at 05:30:35PM +0200, Sven Guckes wrote:
> what about /usr/share/locale then?

ls: /usr/share/locale/de/LC_MESSAGES/mutt.mo: Datei oder Verzeichnis nicht gefunden

> check the logs then.  did you install with "--disable-nls"?

No, I didn't. 

> anyway - install it again.  does the problem persist?

Yes.

Here is an output from the make && make install-process:
-8<
make  all-recursive
make[1]: Entering directory `/usr/local/src/mutt-1.3.28'
Making all in m4
make[2]: Entering directory `/usr/local/src/mutt-1.3.28/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/mutt-1.3.28/m4'
Making all in po
make[2]: Entering directory `/usr/local/src/mutt-1.3.28/po'
file=./`echo de | sed 's,.*/,,'`.gmo \
  && rm -f $file && : --statistics -o $file de.po
...
--8<---

> > > Sven  [Krauts should learn English - period.]
> > IMHO my mutt should learn German! ;-)
> and next thing you know it'll be "handbuch handbuch" instead of "man
> man". no thanks.

I love silly translations. Yesterday I worked with a german Red
Hat-distribution (user elvis): Gnome created an icon called "Heimat von
elvis" ;-)


Workaround: I have copied the mutt.mo-file into my locales and now I
can use mutt in German language :-)
-- 
Cheers,
Heiko Heil



Re: IMAP/SSL

2002-05-10 Thread Heiko Heil

On Fri, May 10, 2002 at 08:25:16PM +0200, Michael Seiwert wrote:
> I connect a remote imap server and everything is fine except that if I
> write long mailtext and send it to the server it tries to store the
> mail in the sent-mail folder. Then it happens that mutt hangs. Does
> anyone else has this problem ??

I have changed my .muttrc in order to fix this problem...
set mail_check=10
set timeout=5

Works for me.
-- 
Cheers,
Heiko Heil



gpg-decryption produces "^M"s

2002-07-24 Thread Heiko Heil

Hello Mutt-users,

a friend of mine uses Outlook :-( in order to write me encrypted
GnuPG E-Mails...

  -BEGIN PGP MESSAGE-
  Version: GnuPG v1.0.6 (MingW32) - GPGOE 0.4.1
  [...]

Everytime (after pressing ESC-P) i get the decrypted mail with "^M"s at
the end of each line (carriage return?). When i decode the E-Mail
manually via bash the output is as right as a trivet.

What can I do against that behaviour?

I'm using Mutt 1.4i with the following decrypt-setting: 
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
-- 
Cheers,
Heiko Heil



Re: gpg-decryption produces "^M"s

2002-07-24 Thread Heiko Heil

On Wed, Jul 24, 2002 at 11:01:44AM -0600, Peter T. Abplanalp wrote:
> [...]
> for example (untested):
> 
> set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch
> --output - %f | sed 's/^M//'"

Nice idea! I've tried this before, but my attempts were without
success... The principal fault was that i have changed the
pgp_decrypt_command and not the pgp_decode_command. Now it works.

tested:
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose \
--batch --output - %f | sed 's/\r//'"
-- 
Cheers,
Heiko Heil



msg29851/pgp0.pgp
Description: PGP signature


automatic check-traditional-pgp

2002-09-01 Thread Heiko Heil

Hello Mutt-users,

many people don't care about RFCs and sign/encrypt their E-Mails
traditionally. As I don't want to press ESC-P for each message I want
mutt to do this automatically (like Mozilla+Enigmail does). Any hints?
-- 
Thx in advance... :-)
Cheers,
Heiko Heil



Re: automatic check-traditional-pgp

2002-09-01 Thread Heiko Heil

On Sun, Sep 01, 2002 at 05:12:21PM +0200, Sven Guckes wrote:
> use the "display_filter" to invoke pgp on the message..

I found out another solution which is quite simple:

macro index  ""
-- 
Cheers,
Heiko Heil



Re: move kmail's to mutt ?

2002-09-02 Thread Heiko Heil

* Michael Wördehoff <[EMAIL PROTECTED]> [09/02/2002 19:33]:
> Is there a way to transfer my kmail-folder ( which contains mail folders on 
> several levels ) to mutt ?
> My kmail is in $HOME/Mail, mutt uses /var/Mail.
> On Debian woody.

http://groups.yahoo.com/group/mutt-users/message/27331

It seems that there are problems with the index files from kmail...
-- 
Best regards
Heiko



Re: location of signature.

2002-09-04 Thread Heiko Heil

* Bo Peng <[EMAIL PROTECTED]> [09/04/2002 18:01]:
> Mutt automatically put the signature at the end of the email. Can I let
> it be put before the quoted text? 

This discussion (Message-ID 8gcg1a$qte$[EMAIL PROTECTED]) may
be helpful for you.
-- 
Best regards
Heiko



Display certain threads

2002-09-20 Thread Heiko Heil

Hello Mutt Users,

what can I do in order to display all (and complete) threads which are
initiated by myself && which are containing messages from me.

I thought about the limit(l)-feature (e.g. l ~L my@email), but I didn't
succeed... :-(
-- 
Best regards
Heiko



Re: Display certain threads

2002-09-21 Thread Heiko Heil

Hello David,

first of all: thank you very much for your inspiration! :-)
It works like a charm, but...

* David Champion <[EMAIL PROTECTED]> [09/21/2002 00:01]:
> # collapse all threads, showing only the initial msg
> ~P # limit to msgs from you
> # uncollapse, showing all msgs
>  # tag all threads which are tagged
  ^
...I don't know how to perform this step. I manually hit ESC-t in order
to do the required taggings. How can I do this automatically?

> ~T # limit to tagged msgs
> ~T # untag all tagged msgs

My current macro:
macro index \ch 
";~P\n;;??\n;~T\n;~T\n"
 "show messages from hh"
-- 
Best regards
Heiko



tag *all* displayed messages in threads in one step

2002-09-21 Thread Heiko Heil

Hello Mutt Users,

I want to tag *all* displayed (e.g. limited) messages in thread_s_
automatically with the aid of a macro. I don't want to hit ESC-t, ESC-t,
ESC-t, ...

Any hints? (This problem is also descibed in the "Display certain
threads"-thread)
-- 
Best regards
Heiko



Re: tag *all* displayed messages in threads in one step

2002-09-21 Thread Heiko Heil

* Michael Tatge <[EMAIL PROTECTED]> [09/21/2002 17:01]:
> So limited the display and now want to tag all displayed messages?
> Doesn't . fit your needs?

No. Perhaps I am shortwitted...

I have a limited list:
e.g.

 895   F 01.09.2002 17:05 Heiko Heil  automatic check-traditional-pgp
 938   F 02.09.2002 20:39 Heiko Heil  Re: move kmail's to mutt ?
 960   F 04.09.2002 20:16 Heiko Heil  Re: location of signature.
1411   F 20.09.2002 22:56 Heiko Heil  Display certain threads
1415   F 21.09.2002 15:32 Heiko Heil  tag *all* displayed messages in threads in 
one step

And now I want to tag all displayed messages in these thread_s_
automatically with the aid of a macro. I don't want to hit ESC-t, ESC-t,
ESC-t, ...

How would you do this with ? T ESC-t ?
-- 
Best regards
Heiko



Re: tag *all* displayed messages in threads in one step

2002-09-21 Thread Heiko Heil

* Michael Tatge <[EMAIL PROTECTED]> [09/21/2002 18:01]:
> Nicolas Rachinsky wrote a thread complete patch. Maybe this is what
> you're looking for.
> http://www.rachinsky.de/nicolas/mutt.html

That's exactly what I am looking for... Currently I use:

macro index \ch ";~P\n;T~A\n;~a\n;^T~A\n" \
  "show my threads" #^^

Thank you for your help! :-)
-- 
Best regards
Heiko



Re: message always goes as attachment

2002-09-23 Thread Heiko Heil

* Pankaj Jangid <[EMAIL PROTECTED]> [09/23/2002 13:01]:
> Why mutt sends all the messages as attachments ?

You think about [g|p]gp-encrypted mails? Then take a look at RFC 2015
(ftp://ftp.fu-berlin.de/doc/rfc/rfc2015.txt), keyword
"multipart/encrypted" or try the pgp-traditional-patch.
-- 
Best regards
Heiko