Hex Artifact Content
Logged in as anonymous

Artifact 734801a3f3bd329873966736c8b8600484bfd37fa132d378fbf11db5bfd9d577:


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 77 68 65 72 65  maildir".# where
0080: 20 74 6f 20 6c 69 73 74 65 6e 20 6f 6e 2c 20 73   to listen on, s
0090: 61 79 20 22 73 6f 63 6b 65 74 22 20 74 6f 20 6c  ay "socket" to l
00a0: 69 73 74 65 6e 20 6f 6e 20 22 2e 2f 73 6d 74 70  isten on "./smtp
00b0: 32 74 67 2e 73 6f 63 6b 22 0a 23 6c 69 73 74 65  2tg.sock".#liste
00c0: 6e 5f 6f 6e 20 3d 20 22 30 2e 30 2e 30 2e 30 3a  n_on = "0.0.0.0:
00d0: 32 35 22 0a 6c 69 73 74 65 6e 5f 6f 6e 20 3d 20  25".listen_on = 
00e0: 22 73 6f 63 6b 65 74 22 0a 0a 5b 72 65 63 69 70  "socket"..[recip
00f0: 69 65 6e 74 73 5d 0a 23 20 74 68 65 72 65 20 73  ients].# there s
0100: 68 6f 75 6c 64 20 62 65 20 64 65 66 61 75 6c 74  hould be default
0110: 20 72 65 63 69 70 69 65 6e 74 2c 20 67 65 74 27   recipient, get'
0120: 73 20 73 6f 6d 65 20 64 65 62 75 67 20 69 6e 66  s some debug inf
0130: 6f 20 2b 20 6d 61 69 6c 20 74 68 61 74 20 77 65  o + mail that we
0140: 0a 23 20 63 6f 75 6c 64 6e 27 74 20 64 65 6c 69  .# couldn't deli
0150: 76 65 72 0a 5f 20 3d 20 31 0a 23 20 6d 61 6b 65  ver._ = 1.# make
0160: 20 73 75 72 65 20 79 6f 75 20 71 75 6f 74 65 20   sure you quote 
0170: 65 6d 61 69 6c 73 2c 20 61 73 20 22 40 22 20 63  emails, as "@" c
0180: 61 6e 27 74 20 67 6f 20 74 68 65 72 65 20 75 6e  an't go there un
0190: 71 75 6f 74 65 64 2e 20 41 6e 64 20 62 79 20 64  quoted. And by d
01a0: 65 66 61 75 6c 74 0a 23 20 77 65 20 6e 65 65 64  efault.# we need
01b0: 20 46 51 44 4e 73 0a 22 73 6f 6d 65 62 6f 64 79   FQDNs."somebody
01c0: 40 65 78 61 6d 70 6c 65 2e 63 6f 6d 22 20 3d 20  @example.com" = 
01d0: 31 20 23 20 75 73 65 72 20 69 64 27 73 20 61 72  1 # user id's ar
01e0: 65 20 70 6f 73 69 74 69 76 65 0a 22 72 6f 6f 74  e positive."root
01f0: 40 65 78 61 6d 70 6c 65 2e 63 6f 6d 22 20 3d 20  @example.com" = 
0200: 2d 31 20 23 20 67 72 6f 75 70 20 69 64 27 73 20  -1 # group id's 
0210: 61 72 65 20 6e 65 67 61 74 69 76 65 0a 0a 23 20  are negative..# 
0220: 74 6f 20 6c 6f 6f 6b 20 75 70 20 63 68 61 74 2f  to look up chat/
0230: 67 72 6f 75 70 20 69 64 20 79 6f 75 20 63 61 6e  group id you can
0240: 20 75 73 65 20 64 65 62 75 67 20 73 65 74 74 69   use debug setti
0250: 6e 67 73 20 69 6e 20 54 65 6c 65 67 72 61 6d 20  ngs in Telegram 
0260: 63 6c 69 65 6e 74 73 2c 0a 23 20 6f 72 20 73 6f  clients,.# or so
0270: 6d 65 20 62 6f 74 20 6c 69 6b 65 20 40 67 65 74  me bot like @get
0280: 69 64 73 62 6f 74 20 6f 72 20 40 52 61 77 44 61  idsbot or @RawDa
0290: 74 61 42 6f 74 0a                                taBot.