Annotation For smtp2tg.toml.example
Logged in as anonymous

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

61238a3618 2024-05-22    1: # Telegram API key
61238a3618 2024-05-22    2: api_key = "YOU_KNOW_WHERE_TO_GET_THIS"
61238a3618 2024-05-22    3: # where SaMoToP stores incoming messages
61238a3618 2024-05-22    4: maildir = "./maildir"
61238a3618 2024-05-22    5: # where to listen on, say "socket" to listen on "./smtp2tg.sock"
61238a3618 2024-05-22    6: #listen_on = "0.0.0.0:25"
61238a3618 2024-05-22    7: listen_on = "socket"
61238a3618 2024-05-22    8: 
61238a3618 2024-05-22    9: [recipients]
da7fc7983d 2024-05-23   10: # there should be default recipient, get's some debug info + mail that we
da7fc7983d 2024-05-23   11: # couldn't deliver
da7fc7983d 2024-05-23   12: _ = 1
61238a3618 2024-05-22   13: # make sure you quote emails, as "@" can't go there unquoted. And by default
61238a3618 2024-05-22   14: # we need FQDNs
61238a3618 2024-05-22   15: "somebody@example.com" = 1 # user id's are positive
61238a3618 2024-05-22   16: "root@example.com" = -1 # group id's are negative
61238a3618 2024-05-22   17: 
61238a3618 2024-05-22   18: # to look up chat/group id you can use debug settings in Telegram clients,
61238a3618 2024-05-22   19: # or some bot like @getidsbot or @RawDataBot