Artifact
3185675da92e2805ffa9ee6923939776350ce5c0d6ae4d27bb1fd80eef3c6c25:
0000: 23 20 54 65 6c 65 67 72 61 6d 20 41 50 49 20 6b # Telegram API k
0010: 65 79 0a 61 70 69 5f 6b 65 79 20 3d 20 22 59 4f ey.api_key = "YO
0020: 55 5f 4b 4e 4f 57 5f 57 48 45 52 45 5f 54 4f 5f U_KNOW_WHERE_TO_
0030: 47 45 54 5f 54 48 49 53 22 0a 23 20 77 68 65 72 GET_THIS".# wher
0040: 65 20 53 61 4d 6f 54 6f 50 20 73 74 6f 72 65 73 e SaMoToP stores
0050: 20 69 6e 63 6f 6d 69 6e 67 20 6d 65 73 73 61 67 incoming messag
0060: 65 73 0a 6d 61 69 6c 64 69 72 20 3d 20 22 2e 2f es.maildir = "./
0070: 6d 61 69 6c 64 69 72 22 0a 23 20 64 65 66 61 75 maildir".# defau
0080: 6c 74 20 72 65 63 69 70 69 65 6e 74 2c 20 67 65 lt recipient, ge
0090: 74 27 73 20 73 6f 6d 65 20 64 65 62 75 67 20 69 t's some debug i
00a0: 6e 66 6f 20 2b 20 6d 61 69 6c 20 74 68 61 74 20 nfo + mail that
00b0: 77 65 20 63 6f 75 6c 64 6e 27 74 20 64 65 6c 69 we couldn't deli
00c0: 76 65 72 0a 23 20 73 68 6f 75 6c 64 20 62 65 20 ver.# should be
00d0: 69 6e 20 22 72 65 63 69 70 69 65 6e 74 73 22 20 in "recipients"
00e0: 74 61 62 6c 65 0a 64 65 66 61 75 6c 74 20 3d 20 table.default =
00f0: 22 73 6f 6d 65 62 6f 64 79 40 65 78 61 6d 70 6c "somebody@exampl
0100: 65 2e 63 6f 6d 22 0a 23 20 77 68 65 72 65 20 74 e.com".# where t
0110: 6f 20 6c 69 73 74 65 6e 20 6f 6e 2c 20 73 61 79 o listen on, say
0120: 20 22 73 6f 63 6b 65 74 22 20 74 6f 20 6c 69 73 "socket" to lis
0130: 74 65 6e 20 6f 6e 20 22 2e 2f 73 6d 74 70 32 74 ten on "./smtp2t
0140: 67 2e 73 6f 63 6b 22 0a 23 6c 69 73 74 65 6e 5f g.sock".#listen_
0150: 6f 6e 20 3d 20 22 30 2e 30 2e 30 2e 30 3a 32 35 on = "0.0.0.0:25
0160: 22 0a 6c 69 73 74 65 6e 5f 6f 6e 20 3d 20 22 73 ".listen_on = "s
0170: 6f 63 6b 65 74 22 0a 0a 5b 72 65 63 69 70 69 65 ocket"..[recipie
0180: 6e 74 73 5d 0a 23 20 6d 61 6b 65 20 73 75 72 65 nts].# make sure
0190: 20 79 6f 75 20 71 75 6f 74 65 20 65 6d 61 69 6c you quote email
01a0: 73 2c 20 61 73 20 22 40 22 20 63 61 6e 27 74 20 s, as "@" can't
01b0: 67 6f 20 74 68 65 72 65 20 75 6e 71 75 6f 74 65 go there unquote
01c0: 64 2e 20 41 6e 64 20 62 79 20 64 65 66 61 75 6c d. And by defaul
01d0: 74 0a 23 20 77 65 20 6e 65 65 64 20 46 51 44 4e t.# we need FQDN
01e0: 73 0a 22 73 6f 6d 65 62 6f 64 79 40 65 78 61 6d s."somebody@exam
01f0: 70 6c 65 2e 63 6f 6d 22 20 3d 20 31 20 23 20 75 ple.com" = 1 # u
0200: 73 65 72 20 69 64 27 73 20 61 72 65 20 70 6f 73 ser id's are pos
0210: 69 74 69 76 65 0a 22 72 6f 6f 74 40 65 78 61 6d itive."root@exam
0220: 70 6c 65 2e 63 6f 6d 22 20 3d 20 2d 31 20 23 20 ple.com" = -1 #
0230: 67 72 6f 75 70 20 69 64 27 73 20 61 72 65 20 6e group id's are n
0240: 65 67 61 74 69 76 65 0a 0a 23 20 74 6f 20 6c 6f egative..# to lo
0250: 6f 6b 20 75 70 20 63 68 61 74 2f 67 72 6f 75 70 ok up chat/group
0260: 20 69 64 20 79 6f 75 20 63 61 6e 20 75 73 65 20 id you can use
0270: 64 65 62 75 67 20 73 65 74 74 69 6e 67 73 20 69 debug settings i
0280: 6e 20 54 65 6c 65 67 72 61 6d 20 63 6c 69 65 6e n Telegram clien
0290: 74 73 2c 0a 23 20 6f 72 20 73 6f 6d 65 20 62 6f ts,.# or some bo
02a0: 74 20 6c 69 6b 65 20 40 67 65 74 69 64 73 62 6f t like @getidsbo
02b0: 74 20 6f 72 20 40 52 61 77 44 61 74 61 42 6f 74 t or @RawDataBot
02c0: 0a .