diff options
| author | Gab Virebent <noreply@virebent.art> | 2026-05-26 00:06:05 +0200 |
|---|---|---|
| committer | Gab Virebent <noreply@virebent.art> | 2026-05-26 00:06:05 +0200 |
| commit | 507ca3a7e3f2d72e583bb26d6817f7deee9188ec (patch) | |
| tree | 76827026924649ac1d970a48834e3c252b44b068 /neomuttrc.common | |
| parent | 847759f50596b0d992085aa34d7b5b78057aa7ce (diff) | |
| download | neomutt-config-507ca3a7e3f2d72e583bb26d6817f7deee9188ec.tar.gz neomutt-config-507ca3a7e3f2d72e583bb26d6817f7deee9188ec.tar.xz neomutt-config-507ca3a7e3f2d72e583bb26d6817f7deee9188ec.zip | |
update: real mail2news config with virebent.art onion addresses, add Tor profile and posting script
- accounts/mail2news: real onion SMTP endpoint, ephemeral nobody@virebent.invalid From
- scripts/m2n-prompt.sh: working interactive posting script (swaks + torsocks)
- neomuttrc.tor: Tor profile sourcing mail2news account, F9 macro binding
- neomuttrc.common: shared UI/GPG/sidebar base config
- README: rewritten in English, documents actual setup and gateway address
Diffstat (limited to 'neomuttrc.common')
| -rw-r--r-- | neomuttrc.common | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/neomuttrc.common b/neomuttrc.common new file mode 100644 index 0000000..6823509 --- /dev/null +++ b/neomuttrc.common @@ -0,0 +1,117 @@ +# NeoMutt shared base — sourced by neomuttrc (clearnet) and neomuttrc.tor +# Contiene UI, GPG, sidebar, HTML, sort, cache, colors. NESSUN account qui. + +# ===================================================== +# Impostazioni Generali +# ===================================================== + +set realname = "Gabriel1" +set use_from = yes +set envelope_from = yes + +set editor = "vim" +set edit_headers = yes +set autoedit = yes + +my_hdr References: +my_hdr Reply-To: +my_hdr X-Newsgroups: + +set date_format = "%d/%m/%Y %H:%M" +set index_format = "%4C %Z %d %-20.20L %s" + +set my_account_info = "[Account]" +set status_format = "$my_account_info │ %f %?M?(%M hidden)? %?n?(%n new)?%?d? (%d to delete)?%?t? (%t tagged)? %>─%?p?(%p postponed)?─" + +# Sidebar +set sidebar_visible = yes +set sidebar_width = 30 +set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S" +set mail_check_stats + +# ===================================================== +# Sicurezza +# ===================================================== + +set ssl_force_tls = yes +set ssl_starttls = yes + +# ===================================================== +# GPG/PGP +# ===================================================== + +set crypt_use_gpgme = yes +set crypt_autopgp = yes +set pgp_auto_decode = yes +set crypt_verify_sig = yes +set crypt_replysign = yes +set crypt_replyencrypt = yes +set crypt_replysignencrypted = yes + +set pgp_sign_as = "0xC8F007F03A6657D8" +set pgp_default_key = "0xC8F007F03A6657D8" +set pgp_use_gpg_agent = yes + +set crypt_opportunistic_encrypt = no + +macro index,pager \Ce "<check-traditional-pgp>" "Verifica PGP inline" +macro index,pager \Cv "<view-attachments><search>application/pgp<enter><view-mailcap><exit>" "Visualizza firma/chiave PGP" + +# ===================================================== +# HTML +# ===================================================== + +set mailcap_path = "~/.config/neomutt/mailcap" +auto_view text/html +alternative_order text/html text/plain +set implicit_autoview = yes + +macro index,pager \cv "<view-attachments><search>html<enter><view-mailcap><exit>" "Apri HTML in Firefox" + +# ===================================================== +# Ordinamento +# ===================================================== + +set sort = threads +set sort_aux = reverse-last-date-received + +# ===================================================== +# Cache +# ===================================================== + +set header_cache = "~/.cache/neomutt/headers" +set message_cachedir = "~/.cache/neomutt/bodies" + +# ===================================================== +# Theme +# ===================================================== + +source ~/.config/neomutt/colors.mutt + +# ===================================================== +# Scorciatoie utili (UI generale) +# ===================================================== + +bind index,pager B sidebar-toggle-visible +bind index,pager \Cp sidebar-prev +bind index,pager \Cn sidebar-next +bind index,pager \Co sidebar-open + +# Vim-like +bind pager j next-line +bind pager k previous-line +bind index j next-entry +bind index k previous-entry +bind index G last-entry +bind index g noop +bind index gg first-entry + +bind index,pager r reply +bind index,pager R group-reply +bind index,pager f forward-message + +macro compose H "F pandoc -s -f markdown -t html<enter>y^T^Utext/html<enter>" "Converti in HTML" + +# Disable drafts/postponed (avoid IMAP errors) +set postponed = "" +set record = "" |
