Annotation For smtp2tg.toml.example
Logged in as anonymous

Origin for each line in smtp2tg.toml.example from check-in 28fde40f7a:

61238a3618 2024-05-22    1: # Telegram API key
61238a3618 2024-05-22    2: api_key = "YOU_KNOW_WHERE_TO_GET_THIS"
1db9dbe390 2024-11-28    3: # where to listen on (sockets are not supported since 0.3.0)
1db9dbe390 2024-11-28    4: listen_on = "0.0.0.0:25"
1db9dbe390 2024-11-28    5: # whether we need to handle unknown adresses
1db9dbe390 2024-11-28    6: # - relay: send them to default one
1db9dbe390 2024-11-28    7: # - deny: drop them
1db9dbe390 2024-11-28    8: unknown = "relay"
28fde40f7a 2024-12-27    9: # default fields to show in message header
28fde40f7a 2024-12-27   10: fields = [ "date", "from", "subject" ]
61238a3618 2024-05-22   11: 
61238a3618 2024-05-22   12: [recipients]
da7fc7983d 2024-05-23   13: # there should be default recipient, get's some debug info + mail that we
1db9dbe390 2024-11-28   14: # couldn't deliver (if enabled)
da7fc7983d 2024-05-23   15: _ = 1
61238a3618 2024-05-22   16: # make sure you quote emails, as "@" can't go there unquoted. And by default
61238a3618 2024-05-22   17: # we need FQDNs
61238a3618 2024-05-22   18: "somebody@example.com" = 1 # user id's are positive
61238a3618 2024-05-22   19: "root@example.com" = -1 # group id's are negative
61238a3618 2024-05-22   20: 
61238a3618 2024-05-22   21: # to look up chat/group id you can use debug settings in Telegram clients,
61238a3618 2024-05-22   22: # or some bot like @getidsbot or @RawDataBot