Artifact
d2657612349978d5efbf04dab5fb8dda0142ddcc7c21906e5d4d95176d67a468:
0000: 46 69 72 73 74 20 6f 66 20 61 6c 6c 20 6d 61 6b First of all mak
0010: 65 20 73 75 72 65 20 74 6f 20 6e 65 76 65 72 20 e sure to never
0020: 6c 69 73 74 65 6e 20 6f 6e 20 70 75 62 6c 69 63 listen on public
0030: 20 49 50 73 20 61 6e 64 20 61 6c 77 61 79 73 20 IPs and always
0040: 70 75 74 20 73 6f 63 6b 65 74 73 20 69 6e 0a 64 put sockets in.d
0050: 69 72 65 63 74 6f 72 69 65 73 20 6e 6f 74 20 61 irectories not a
0060: 63 65 73 73 69 62 6c 65 20 62 79 20 6a 75 73 74 cessible by just
0070: 20 61 62 6f 75 74 20 65 76 65 72 79 6f 6e 65 20 about everyone
0080: 6f 6e 20 79 6f 75 72 20 73 79 73 74 65 6d 2e 20 on your system.
0090: 54 68 6f 75 67 68 0a 6c 69 73 74 65 6e 69 6e 67 Though.listening
00a0: 20 6f 6e 20 31 32 37 2e 30 2e 30 2e 31 3a 58 58 on 127.0.0.1:XX
00b0: 58 58 20 69 73 20 65 71 75 69 76 61 6c 65 6e 74 XX is equivalent
00c0: 20 74 6f 20 63 72 65 61 74 69 6e 67 20 61 20 77 to creating a w
00d0: 6f 72 6c 64 2d 77 72 69 74 61 62 6c 65 20 73 6f orld-writable so
00e0: 63 6b 65 74 2e 0a 0a 54 6f 20 63 61 74 63 68 20 cket...To catch
00f0: 62 6f 75 6e 63 65 73 20 28 73 6f 20 74 68 65 79 bounces (so they
0100: 20 77 6f 75 6c 64 6e 27 74 20 73 74 75 63 6b 20 wouldn't stuck
0110: 69 6e 20 75 70 70 65 72 20 6d 61 69 6c 20 73 65 in upper mail se
0120: 72 76 65 72 29 20 6d 61 6b 65 20 73 75 72 65 20 rver) make sure
0130: 73 65 6e 64 65 72 0a 65 6e 76 65 6c 6f 70 65 20 sender.envelope
0140: 61 64 64 72 65 73 73 20 69 73 20 72 65 61 6c 20 address is real
0150: 61 73 20 72 65 71 75 69 72 65 64 20 62 79 20 53 as required by S
0160: 61 4d 6f 54 6f 50 2e 20 46 6f 72 20 65 78 61 6d aMoToP. For exam
0170: 70 6c 65 20 50 6f 73 74 66 69 78 20 68 61 73 20 ple Postfix has
0180: 74 6f 20 62 65 0a 74 77 65 61 6b 65 64 20 6c 69 to be.tweaked li
0190: 6b 65 20 74 68 69 73 3a 0a 0a 24 63 6f 6e 66 69 ke this:..$confi
01a0: 67 5f 64 69 72 65 63 74 6f 72 79 2f 6d 61 69 6e g_directory/main
01b0: 2e 63 66 3a 0a 09 73 6d 74 70 5f 67 65 6e 65 72 .cf:..smtp_gener
01c0: 69 63 5f 6d 61 70 73 20 3d 20 68 61 73 68 3a 24 ic_maps = hash:$
01d0: 63 6f 6e 66 69 67 5f 64 69 72 65 63 74 6f 72 79 config_directory
01e0: 2f 67 65 6e 65 72 69 63 0a 0a 24 63 6f 6e 66 69 /generic..$confi
01f0: 67 5f 64 69 72 65 63 74 6f 72 79 2f 67 65 6e 65 g_directory/gene
0200: 72 69 63 3a 0a 09 22 22 09 70 6f 73 74 6d 61 73 ric:.."".postmas
0210: 74 65 72 40 65 78 61 6d 70 6c 65 2e 63 6f 6d 0a ter@example.com.
0220: 09 3c 3e 09 70 6f 73 74 6d 61 73 74 65 72 40 65 .<>.postmaster@e
0230: 78 61 6d 70 6c 65 2e 63 6f 6d 0a 0a 41 63 74 75 xample.com..Actu
0240: 61 6c 6c 79 20 6e 6f 74 20 73 75 72 65 20 77 68 ally not sure wh
0250: 69 63 68 20 6f 6e 65 20 77 6f 72 6b 73 2e 2e 2e ich one works...
0260: 0a .