smtp2tg.toml.example at [1db9dbe390]
Logged in as anonymous

File smtp2tg.toml.example artifact ef25ee8434 part of check-in 1db9dbe390


# Telegram API key
api_key = "YOU_KNOW_WHERE_TO_GET_THIS"
# where to listen on (sockets are not supported since 0.3.0)
listen_on = "0.0.0.0:25"
# whether we need to handle unknown adresses
# - relay: send them to default one
# - deny: drop them
unknown = "relay"

[recipients]
# there should be default recipient, get's some debug info + mail that we
# couldn't deliver (if enabled)
_ = 1
# make sure you quote emails, as "@" can't go there unquoted. And by default
# we need FQDNs
"somebody@example.com" = 1 # user id's are positive
"root@example.com" = -1 # group id's are negative

# to look up chat/group id you can use debug settings in Telegram clients,
# or some bot like @getidsbot or @RawDataBot