>>>> Erm, it would be helpful if you could describe *exactly* what you did.
>>>> I don't see what the pgp_sign_as has to do with your encryption problems.
>>> This option defined since 2009.
>> signing!=encrypting
> ?
Your problem is related to encryption. I doubt that any signing related
command will help here.
>>>> Please read the documentation to mutt's *folder-hook* command, that
>>>> should do the trick for you.
>>> Could you point me out on suitable chapter?
>>
>> man muttrc
>> search for folder-hook
> I'm here because i did not found something useful and relevant there. You
> have no idea how to fix problem, I guess.
Sigh! OK, for once I RTFM it for you, from man mutrc:
#v+
folder-hook [!]regexp command
When mutt enters a folder which matches regexp (or, when regexp is
preceded by an exclamation mark, does not match regexp), the given
command is executed.
When several folder-hooks match a given mail folder, they are
executed in the order given in the configuration file.
#v-
This in combination with 'set pgp_encrypt_sign_command' or 'set
pgp_encrypt_sign_command' should do exactly what you want. If you don't
get it now, you have no intention to fix problem, I guess.
EOD for me here.