Origin for each line in README from check-in 338af36a00:
da7fc7983d 2024-05-23 arcade: First of all make sure to never listen on public IPs and always put sockets in da7fc7983d 2024-05-23 arcade: directories not acessible by just about everyone on your system. Though da7fc7983d 2024-05-23 arcade: listening on 127.0.0.1:XXXX is equivalent to creating a world-writable socket. da7fc7983d 2024-05-23 arcade: da7fc7983d 2024-05-23 arcade: To catch bounces (so they wouldn't stuck in upper mail server) make sure sender da7fc7983d 2024-05-23 arcade: envelope address is real as required by SaMoToP. For example Postfix has to be da7fc7983d 2024-05-23 arcade: tweaked like this: da7fc7983d 2024-05-23 arcade: da7fc7983d 2024-05-23 arcade: $config_directory/main.cf: da7fc7983d 2024-05-23 arcade: smtp_generic_maps = hash:$config_directory/generic da7fc7983d 2024-05-23 arcade: da7fc7983d 2024-05-23 arcade: $config_directory/generic: da7fc7983d 2024-05-23 arcade: "" postmaster@example.com da7fc7983d 2024-05-23 arcade: <> postmaster@example.com da7fc7983d 2024-05-23 arcade: da7fc7983d 2024-05-23 arcade: Actually not sure which one works... 338af36a00 2024-05-23 arcade: 338af36a00 2024-05-23 arcade: I kindda know this whole stuff is written in completely wrong way, but I have 338af36a00 2024-05-23 arcade: reasons for that. SaMoToP prevent me from creating a separate transport so I'm 338af36a00 2024-05-23 arcade: just using MailDir and directly reading files from there in separate task. Also 338af36a00 2024-05-23 arcade: socket permissions can't actually be hinted to SaMoToP, and I don't want to 338af36a00 2024-05-23 arcade: mess with umask in this case, hence the extra task that changes socket 338af36a00 2024-05-23 arcade: permissions later. The whole MailDir idea was shamelessly ripped from 338af36a00 2024-05-23 arcade: https://github.com/meysam81/lori, kudos to the author. And if you think I 338af36a00 2024-05-23 arcade: actually copypasted too much code - you are free to use this under APACHE-2.0 338af36a00 2024-05-23 arcade: license.