getmail: add port option (#882)
Fixed bug where "accounts.email.accounts.<name>.imap.port" option was being ignored in getmail.
(cherry picked from commit 410f573226
)
This commit is contained in:
parent
f856c78a4a
commit
06ae8792e7
|
@ -31,6 +31,7 @@ let
|
||||||
[retriever]
|
[retriever]
|
||||||
type = ${retrieverType}
|
type = ${retrieverType}
|
||||||
server = ${imap.host}
|
server = ${imap.host}
|
||||||
|
${optionalString (imap.port != null) "port = ${imap.port}"}
|
||||||
username = ${userName}
|
username = ${userName}
|
||||||
password_command = (${passCmd})
|
password_command = (${passCmd})
|
||||||
mailboxes = ( ${renderedMailboxes} )
|
mailboxes = ( ${renderedMailboxes} )
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
[retriever]
|
[retriever]
|
||||||
type = SimpleIMAPSSLRetriever
|
type = SimpleIMAPSSLRetriever
|
||||||
server = imap.example.com
|
server = imap.example.com
|
||||||
|
|
||||||
username = home.manager
|
username = home.manager
|
||||||
password_command = ('password-command')
|
password_command = ('password-command')
|
||||||
mailboxes = ( 'INBOX', 'Sent', 'Work' )
|
mailboxes = ( 'INBOX', 'Sent', 'Work' )
|
||||||
|
|
Loading…
Reference in a new issue