On Sat, Jun 12, 2010 at 04:11:20PM +0000, Camaleón wrote:
> (...)
> 
> You can launch Mutt in debug mode (mutt -d 3), so it logs any message to 
> "~/.muttdebug0".

That's the first thing one should think about if something doesn't work
properly, but I forgot about it... Thank you very much, Camaleón!

So the reason of problem lying in language. I have ru_UK.UTF-8 locale, so mutt
displays messages in Russian. Look what I got in the log file:

    [2010-06-12 21:47:48] mutt_pgp_command: gpg --no-verbose --batch --output - 
--verify /tmp/mutt-speedy-1000-18475-6204207d671f2cdf9.asc 
/tmp/mutt-speedy-1000-18475-6204207d671f2cdf9
    [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: Подпись создана Птн 11 Июн 
2010 20:03:55 EEST ключом DSA с ID EF3A7C2D" doesn't match regexp.
    [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: Действительная подпись от 
"Boyd Stephen Smith Jr. (Old Personal) <bs...@volumehost.com>"" doesn't match 
regexp.
    [2010-06-12 21:47:48] pgp_copy_checksig: "gpg:                 aka "Boyd 
Stephen Smith Jr. <boysm...@compucom.com>"" doesn't match regexp.
    [2010-06-12 21:47:48] pgp_copy_checksig: "gpg:                 aka "Boyd 
Stephen Smith Jr. <b...@iguanasuicide.net>"" doesn't match regexp.
    [2010-06-12 21:47:48] pgp_copy_checksig: "gpg:                 aka "Boyd 
Stephen Smith Jr. (Work) <boysm...@compucom.com>"" doesn't match regexp.
    [2010-06-12 21:47:48] pgp_copy_checksig: "gpg:                 aka "Boyd 
Stephen Smith Jr. (Personal) <bs...@volumehost.net>"" doesn't match regexp.
    [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: Замечание: Данный ключ 
просрочен!" doesn't match regexp.
    [2010-06-12 21:47:48] pgp_copy_checksig: " Отпечаток главного ключа: BA73 
1E00 B621 0761 D708  F326 74D6 DF93 EF3A 7C2D" doesn't match regexp.

Pay attention to those "doesn't match regexp". Here is what I have in my
~/.muttrc:

    set pgp_good_sign="^gpg: Good signature from"

This is that regexp which have to be matched. I simply change previous line to
the following:

    set pgp_good_sign="^gpg: (Good signature from|Действительная подпись от)"

so now it does what it should (I included english version of message because
sometimes I run programs with LANG=en_GB.UTF-8, and I don't want things got
messed up because of that). Everything works!

Thank you again, Camaleón, for being with me all that time and your helpful
advices!

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81

Attachment: signature.asc
Description: Digital signature

Reply via email to