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