Annotation For smtp2tg.toml.example
Logged in as anonymous

Lines of smtp2tg.toml.example from check-in da7fc7983d that are changed by the sequence of edits moving toward check-in 1db9dbe390:

                         1: # Telegram API key
                         2: api_key = "YOU_KNOW_WHERE_TO_GET_THIS"
da7fc7983d 2024-05-23    3: # where SaMoToP stores incoming messages
da7fc7983d 2024-05-23    4: maildir = "./maildir"
da7fc7983d 2024-05-23    5: # where to listen on, say "socket" to listen on "./smtp2tg.sock"
da7fc7983d 2024-05-23    6: #listen_on = "0.0.0.0:25"
da7fc7983d 2024-05-23    7: listen_on = "socket"
                         8: 
                         9: [recipients]
                        10: # there should be default recipient, get's some debug info + mail that we
da7fc7983d 2024-05-23   11: # couldn't deliver
                        12: _ = 1
                        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