Annotation For smtp2tg.toml.example
Logged in as anonymous

Origin for each line in smtp2tg.toml.example from check-in 2158b44929:

61238a3618 2024-05-22        arcade: # Telegram API key
61238a3618 2024-05-22        arcade: api_key = "YOU_KNOW_WHERE_TO_GET_THIS"
2158b44929 2025-06-12        arcade: 
1db9dbe390 2024-11-28        arcade: # where to listen on (sockets are not supported since 0.3.0)
1db9dbe390 2024-11-28        arcade: listen_on = "0.0.0.0:25"
2158b44929 2025-06-12        arcade: 
1db9dbe390 2024-11-28        arcade: # whether we need to handle unknown adresses
1db9dbe390 2024-11-28        arcade: # - relay: send them to default one
1db9dbe390 2024-11-28        arcade: # - deny: drop them
1db9dbe390 2024-11-28        arcade: unknown = "relay"
2158b44929 2025-06-12        arcade: 
28fde40f7a 2024-12-27        arcade: # default fields to show in message header
28fde40f7a 2024-12-27        arcade: fields = [ "date", "from", "subject" ]
2158b44929 2025-06-12        arcade: 
2158b44929 2025-06-12        arcade: # which domains are allowed in addresses
2158b44929 2025-06-12        arcade: # this means that any unqualified recipient "somebody" will also match
2158b44929 2025-06-12        arcade: # to "somebody@each_domain"
2158b44929 2025-06-12        arcade: domains = [ "localhost", "current.hostname" ]
28fde40f7a 2024-12-27        arcade: 
61238a3618 2024-05-22        arcade: [recipients]
da7fc7983d 2024-05-23        arcade: # there should be default recipient, get's some debug info + mail that we
1db9dbe390 2024-11-28        arcade: # couldn't deliver (if enabled)
da7fc7983d 2024-05-23        arcade: _ = 1
2158b44929 2025-06-12        arcade: 
61238a3618 2024-05-22        arcade: # make sure you quote emails, as "@" can't go there unquoted. And by default
61238a3618 2024-05-22        arcade: # we need FQDNs
61238a3618 2024-05-22        arcade: "somebody@example.com" = 1 # user id's are positive
61238a3618 2024-05-22        arcade: "root@example.com" = -1 # group id's are negative
61238a3618 2024-05-22        arcade: 
61238a3618 2024-05-22        arcade: # to look up chat/group id you can use debug settings in Telegram clients,
61238a3618 2024-05-22        arcade: # or some bot like @getidsbot or @RawDataBot