.\" Automatically generated by Pandoc 2.7.3 .\" .TH "mw" "1" "" "Version 2.0" "mutt-wizard man page" .hy .SH NAME .PP \f[B]mw\f[R] \[em] mutt-wizard - add, list, remove email configurations for mbsync, getmail and mutt. Sync email without mutt. .SH SYNOPSIS .PP \f[B]mw\f[R] [|] .PP \f[B]mw\f[R] Same as \f[I]mw sync\f[R] .PD 0 .P .PD \f[B]mw add\f[R] Add and configure an email address (9 max.) .PD 0 .P .PD \f[B]mw list\f[R] List configured accounts .PD 0 .P .PD \f[B]mw remove\f[R] Pick an account to remove .PD 0 .P .PD \f[B]mw purge\f[R] Remove all accounts and settings .PD 0 .P .PD \f[B]mw cron\f[R] Enable or disable an autosync via cronjob .PD 0 .P .PD \f[B]mw sync\f[R] Sync mail based on config in \f[I].config/isync/mbsyncrc\f[R] and \f[I].config/getmail/*\f[R] .PD 0 .P .PD \f[B]mw \[en]help|-h\f[R] Print this message .PD 0 .P .PD \f[B]mw \[en]version|-v\f[R] Print version .SH DESCRIPTION .PP \f[B]mw\f[R] configures \f[B]mbsync\f[R], \f[B]getmail\f[R], \f[B]msmtp\f[R] and \f[B]mutt\f[R] in one go. \f[B]mutt\f[R] stands for \f[B]mutt\f[R] or \f[B]neomutt\f[R]. .PP \f[B]mw\f[R] asks the user for the information it needs. They cannot be provided as parameters to the command. It is still possible to script \f[B]mw\f[R] by defining variables. See the commands section. .PP \f[I]mutt-wizard.muttrc\f[R] is linked in your \f[I]muttrc\f[R]. Have this line there, if you prefer your own settings: .IP .nf \f[C] # source /usr/share/mutt-wizard/mutt-wizard.muttrc \f[R] .fi .PP You will need to keep the binding of \f[I]i,g,C,M\f[R] to \f[I]noop\f[R], though, because of the generated bindings in the account muttrc. .SH COMMANDS .PP Without command parameter \f[B]sync\f[R] is assumed. If the parameter contains \[at] an email is assumed and synced. .PP \f[I]add\f[R] .RS .PP Add new email .PP First you decide, whether you want to configure .IP \[bu] 2 \f[B]mbsync\f[R], \f[B]getmail\f[R], \f[B]msmtp\f[R] to sync emails independently from \f[B]mutt\f[R] using \f[B]mw\f[R], .IP \[bu] 2 or just \f[B]mutt\f[R]. For an IMAP server \f[B]mutt\f[R] becomes very slow. So normally you enter \f[B]yes\f[R] here. .PP \f[B]mw\f[R] asks you the \f[B]email address\f[R]. .PP \f[B]mw\f[R] has a \f[B]database\f[R] of IMAP4/POP3 and SMTP servers and ports. If you are lucky, your email server is there. Else \f[B]mw\f[R] will prompt you. .PP Add an email without questions, e.g.: .IP .nf \f[C] a=x.y\[at]gmail.com mwtype=offline mwaddr=$a mwlogin=$a mwpass=mutt-wizard-$a mwserverinfo=\[dq]gmail.com,imap.gmail.com,993,smtp.gmail.com,587\[dq] mwname=\[dq]your name\[dq] mw add \f[R] .fi .PP \f[I]mwserverinfo\f[R] can be omitted, if the email domain is in the accompanied \f[I]domains.csv\f[R]. .RE .PP \f[I]ls|list\f[R] .RS .PP List all email accounts configured by mutt-wizard .RE .PP \f[I]rm|remove\f[R] .RS .PP Remove the configuration files for an already configured email .PP Remove without questions the email whose generated muttrc starts with 1: .IP .nf \f[C] mwpick=1 mw rm <<>. Do this before running mutt-wizard. .RE .PP \f[B]Protonmail accounts\f[R] .RS .PP Protonmail users must use the Protonmail Bridge <> to access their IMAP and SMTP servers. Do this before running mutt-wizard. .RE .SH FILES .TP .B \f[I]/user/bin/mw\f[R] The main script to manage and sync emails. .TP .B \f[I]/user/bin/mwimage\f[R], \f[I]/user/bin/mwopen\f[R] Used by the mailcap file that comes with mutt-wizard. .TP .B \f[I]/usr/share/mutt-wizard/mutt-wizard.muttrc\f[R] Default mutt settings. .TP .B \f[I]/usr/share/mutt-wizard/mailcap\f[R] Default mailcap file. .TP .B \f[I]/usr/share/mutt-wizard/domains.csv\f[R] Email server database. .SH BUGS .PP GitHub Issues: <> .SH AUTHORS .TP .B \f[I]Luke Smith\f[R] <> Original author, started in 2018. .RS .PP Github <> .PP Gitlab <> .RE .TP .B \f[I]Roland Puntaier\f[R] <> Bugfixes, Improvements in 2019. .RS .PP GitHub: <> .RE .SH LICENSE .PP GPLv3 .SH SEE ALSO .PP \f[B]neomutt\f[R](1), \f[B]neomuttrc\f[R](1) \f[B]mbsync\f[R](1), \f[B]msmtp\f[R](1), \f[B]notmuch\f[R](1), \f[B]abook\f[R](1)