getmail: fix port option type mismatch
Fixed type mismatch in commit 410f573226.
Added test case to ensure it works well.
This commit is contained in:
parent
1b987952b5
commit
a177d0282f
3 changed files with 10 additions and 7 deletions
|
|
@ -31,7 +31,7 @@ let
|
|||
[retriever]
|
||||
type = ${retrieverType}
|
||||
server = ${imap.host}
|
||||
${optionalString (imap.port != null) "port = ${imap.port}"}
|
||||
${optionalString (imap.port != null) "port = ${toString imap.port}"}
|
||||
username = ${userName}
|
||||
password_command = (${passCmd})
|
||||
mailboxes = ( ${renderedMailboxes} )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue