On 07-01 00:59, J. Prendick wrote:
macro index <f1> "source ~/.mutt/isp_1.cnf" macro index <f2> "source ~/.mutt/isp_2.cnf"This is far too obvious ;)
Since there seems to be some interest, I'll gladly share my setup. This: - switches to this account with Alt+3 - keeps account-rcs small by adding another generic one- adjusts $compose_format and $status_format to display the current account. Others ITT do this with colors.
Feedback is of coure welcome. ##### # <snip> from ~/.mutt/muttrc ##### macro generic \e3 ":source ~/.mutt/accounts/i...@zeromail.org<enter>" "i...@zeromail.org" ##### # ~/.mutt/accounts/i...@zeromail.org ##### set realname="ilf" set from="i...@zeromail.org" set hostname="zeromail.org" set pgp_sign_as=0x87C0AECC source ~/.mutt/accounts/generic.rc ##### # ~/.mutt/accounts/generic.rc ##### # send set sendmail="/usr/bin/msmtp --account $from" # compose set signature="~/.mutt/sigs/${from}" my_hdr OpenPGP: id=${pgp_sign_as}\; preference=signencrypt my_hdr Cc: # format set compose_format=" $from | size: %l | attachments: %a " set status_format=" %r | %f | mails: %?M?%M/?%m%?n? new: %n?%?o? old: %o?%?d? deleted: %d?%?F? flagged: %F?%?t? tagged: %t?%?p? postponed: %%p?%?b? incoming: %b?%?l? | ${from}?%* %P " # override these two from /etc/Muttrc.d/gpg.rc # always also encrypt to self set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to $pgp_sign_as -- -r %r -- %f" set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output %- --encrypt --encrypt-to $pgp_sign_as --sign %?a?-u %a? --armor %--always-trust -- -r %r -- %f" -- ilf @jabber.berlin.ccc.de Über 80 Millionen Deutsche benutzen keine Konsole. Klick dich nicht weg! -- Eine Initiative des Bundesamtes für Tastaturbenutzung
signature.asc
Description: Digital signature