Annotation For smtp2tg.toml.example
Logged in as anonymous

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

61238a3618 2024-05-22        arcade: # Telegram API key
61238a3618 2024-05-22        arcade: api_key = "YOU_KNOW_WHERE_TO_GET_THIS"
61238a3618 2024-05-22        arcade: # where SaMoToP stores incoming messages
61238a3618 2024-05-22        arcade: maildir = "./maildir"
61238a3618 2024-05-22        arcade: # default recipient, get's some debug info + mail that we couldn't deliver
61238a3618 2024-05-22        arcade: # should be in "recipients" table
61238a3618 2024-05-22        arcade: default = "somebody@example.com"
61238a3618 2024-05-22        arcade: # where to listen on, say "socket" to listen on "./smtp2tg.sock"
61238a3618 2024-05-22        arcade: #listen_on = "0.0.0.0:25"
61238a3618 2024-05-22        arcade: listen_on = "socket"
61238a3618 2024-05-22        arcade: 
61238a3618 2024-05-22        arcade: [recipients]
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