Skip to content

Unable to specify port 25 #59

Closed Answered by YoRyan
JBBBB asked this question in Q&A
Feb 20, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

YAML doesn't require you to prefix everything with -; that particular token means you're inserting a list, which is not what you wanted. Here is the corrected version of your original config:

configs:
  smtp:
    hostname: mailrise.home
  listen:
    port: 25
  [email protected]:
    urls:
      - pover://asfasdfasdfasdfasdfasdf@asfdasdfasdfasdfasdf

As always, you can run your YAML through the Online YAML Parser to get a sense of the underlying JSON structure. Try out both versions of the config to see what changes. 👍

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@JBBBB
Comment options

@YoRyan
Comment options

@JBBBB
Comment options

Answer selected by JBBBB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants