1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 04:09:47 +01:00
home-manager/tests/modules/programs/aerc/extraAccounts.expected
Lukas Nagel 8da1135365
aerc: improve module (#3150)
* aerc: add space after definitions

* aerc: only generate files, if options were set

* aerc: improve file permission warning

* aerc: remove redundant access to builtins

* aerc: allow overwriting of derived values

the order of merging the config subsets did not allow the user to specify
outgoing, source and password command values,
if they were previously derived from the SMTP, IMAP, Maildir etc config.

The values from `account.<name>.extraAccounts` now have the highest precedence.
Appropriate tests were added as well.

* aerc: write primary account first
2023-06-13 10:59:42 +02:00

86 lines
2.4 KiB
Text

# Generated by Home Manager.
[Test1]
enable-folders-sort = true
folders = INBOX,SENT,JUNK
source = maildir:///dev/null
[Test2]
pgp-key-id = 42
[primary]
from = Foo Bar <addr@mail.invalid>
source = imap://foobar@imap.host.invalid:1337
[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_smtp-auth-none]
from = Foo Bar <addr@mail.invalid>
outgoing = smtps+none://foobar@smtp.host.invalid:42
[m_smtp-auth-plain]
from = Foo Bar <addr@mail.invalid>
outgoing = smtps+plain://foobar@smtp.host.invalid:42
[n_smtp-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
[p_overwrite_defaults]
from = test <test@email.invalid>
outgoing = imap+plain://intentionallyWrong:PaSsWorD@smtp.host.invalid:1337
postpone = dRaFts
source = smtp+plain://intentionallyWrong:PaSsWorD@smtp.host.invalid:1337