mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
324fedcf9f
This adds support for configuring email accounts, with automatic smtp, imap, sendmail (msmpt) and maildir (mbsync, offlineimap) setup in aerc, via `accounts.email`.
76 lines
2.1 KiB
Text
76 lines
2.1 KiB
Text
# Generated by Home Manager.
|
|
|
|
[Test1]
|
|
enable-folders-sort = true
|
|
folders = INBOX,SENT,JUNK
|
|
source = maildir:///dev/null
|
|
|
|
[Test2]
|
|
pgp-key-id = 42
|
|
|
|
[a_imap-nopasscmd-tls-starttls-folders]
|
|
copy-to = aercSent
|
|
default = aercInbox
|
|
from = Foo Bar <addr@mail.invalid>
|
|
postpone = aercDrafts
|
|
source = imap://foobar@imap.host.invalid:1337
|
|
|
|
[b_imap-passcmd-tls-nostarttls-extraAccounts]
|
|
connection-timeout = 42s
|
|
from = Foo Bar <addr@mail.invalid>
|
|
source = imaps://foobar@imap.host.invalid:1337
|
|
source-cred-cmd = echo PaSsWorD!
|
|
|
|
[c_imap-passcmd-notls-nostarttls-extraConfig]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
source = imap+insecure://foobar@imap.host.invalid:1337
|
|
source-cred-cmd = echo PaSsWorD!
|
|
|
|
[d_imap-passcmd-notls-starttls-extraBinds]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
source = imap+insecure://foobar@imap.host.invalid:1337
|
|
source-cred-cmd = echo PaSsWorD!
|
|
|
|
[e_smtp-nopasscmd-tls-starttls]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
outgoing = smtp+plain://foobar@smtp.host.invalid:42
|
|
smtp-starttls = yes
|
|
|
|
[f_smtp-passcmd-tls-nostarttls]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
outgoing = smtps+plain://foobar@smtp.host.invalid:42
|
|
outgoing-cred-cmd = echo PaSsWorD!
|
|
|
|
[g_smtp-passcmd-notls-nostarttls]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
outgoing = smtp+plain://foobar@smtp.host.invalid:42
|
|
outgoing-cred-cmd = echo PaSsWorD!
|
|
|
|
[h_smtp-passcmd-notls-starttls]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
outgoing = smtp+plain://foobar@smtp.host.invalid:42
|
|
outgoing-cred-cmd = echo PaSsWorD!
|
|
|
|
[i_maildir-mbsync]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
source = maildir:///home/hm-user/Maildir/i_maildir-mbsync
|
|
|
|
[j_maildir-offlineimap]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
source = maildir:///home/hm-user/Maildir/j_maildir-offlineimap
|
|
|
|
[l_smpt-auth-none]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
outgoing = smtps+none://foobar@smtp.host.invalid:42
|
|
|
|
[m_smpt-auth-plain]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
outgoing = smtps+plain://foobar@smtp.host.invalid:42
|
|
|
|
[n_smpt-auth-login]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
outgoing = smtps+login://foobar@smtp.host.invalid:42
|
|
|
|
[o_msmtp]
|
|
from = Foo Bar <addr@mail.invalid>
|
|
outgoing = msmtpq --read-envelope-from --read-recipients
|