1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

getmail: add port option (#882)

Fixed bug where "accounts.email.accounts.<name>.imap.port" option was being ignored in getmail.
This commit is contained in:
SoonHo Seo 2019-10-23 20:17:04 +09:00 committed by Matthieu Coudron
parent 024d1aa227
commit 410f573226
2 changed files with 2 additions and 0 deletions

View file

@ -31,6 +31,7 @@ let
[retriever]
type = ${retrieverType}
server = ${imap.host}
${optionalString (imap.port != null) "port = ${imap.port}"}
username = ${userName}
password_command = (${passCmd})
mailboxes = ( ${renderedMailboxes} )

View file

@ -2,6 +2,7 @@
[retriever]
type = SimpleIMAPSSLRetriever
server = imap.example.com
username = home.manager
password_command = ('password-command')
mailboxes = ( 'INBOX', 'Sent', 'Work' )