Am 12.09.2014 um 11:29 schrieb Den: >> run the spamfilter after queue >> http://www.postfix.org/MILTER_README.html > > Thanks. Will double-check on that. Chances also are that I missed something > too or I might as well have to try to switch to these milters as running SA > daemonized doesn't work. I posted my main.cf and my master.cf a bit earlier > in this post if you are interested to take a look. > >> if you run SA as milter header_checks are mot involved at all because the > message is rejected before it >ever touchs header_checks > > I do not run SA as milter, I run it demonized and my rules do not work > despite the fact that they pass the tests like these (/example/):
you have 3 processes as part of the game: * spamd running as daemon and listening on TCP * spamass-milter running as deamon and listening on a unix socket * postfix talks to spamass-milter via the socket * spamass-milter takls to spamd via TCP * spamd has prefroking childs for the scanning * finally the milter parses the headers of SA * if the score header is above the limit it rejects the message well, it needs some work to setup SA correctly but that's part of the job running a mailserver - running a public MTA brings a lot of responsibility because you can do much damage with it sa-milt 2045 0.0 0.1 586372 5976 ? SNsl Sep11 0:11 /usr/sbin/spamass-milter -p /run/spamass-milter/spamass-milter.sock -g sa-milt -r 8.0 -- -s 3145728.0 --port=10027 sa-milt 6802 3.6 3.5 358320 144056 ? SN 11:14 0:39 spamd child sa-milt 17179 0.0 1.7 283784 72312 ? SNs 04:16 0:06 /usr/bin/perl -T -w /usr/bin/spamd -c -H --max-children=25 --min-children=10 --min-spare=5 --max-spare=15 --port=10027 sa-milt 17206 0.0 3.1 339920 126196 ? SN 04:16 0:18 spamd child sa-milt 17207 0.0 1.9 292720 80540 ? SN 04:16 0:00 spamd child sa-milt 17209 0.0 1.9 292788 80608 ? SN 04:16 0:00 spamd child sa-milt 17210 0.0 1.6 283784 67080 ? SN 04:16 0:00 spamd child sa-milt 17211 0.0 1.6 283784 67144 ? SN 04:16 0:00 spamd child sa-milt 17212 0.0 1.6 283784 67084 ? SN 04:16 0:00 spamd child sa-milt 17213 0.0 1.6 283784 67148 ? SN 04:16 0:00 spamd child sa-milt 17214 0.0 1.6 283784 67212 ? SN 04:16 0:00 spamd child sa-milt 17215 0.0 1.6 283784 67084 ? SN 04:16 0:00 spamd child sa-milt 17216 0.0 1.6 283784 67084 ? SN 04:16 0:00 spamd child sa-milt 17217 0.0 1.6 283784 67152 ? SN 04:16 0:00 spamd child sa-milt 17218 0.0 1.6 283784 67088 ? SN 04:16 0:00 spamd child sa-milt 28262 0.0 1.6 283784 66996 ? SN 08:03 0:00 spamd child sa-milt 32364 0.0 1.6 283784 66828 ? SN 09:12 0:00 spamd child >> if you are the mailadmin for other users and accept a message >> with "250 OK" but silently drop it in germany you hit the same >> law than a postman standing in >> front of your house saying "oh no, i just put that letter in the basket" > > That's an interesting concept. I would say that 250 OK does not really > confirm reception. Even if you request delivery receipt / read receipt does > not necessarily confirm that a receiver actually read and understood what > was written in that email. Any good lawyer will prove it literally in > seconds and also prove that a person accused is not guilty no you don't understand the point the is a large difference between "one do not read or understand a mail" or "the server admin confirmed that he received the mail but dropped it silently and so it never made it to the inbox" if you are doing that no lawyer can help you because you have to know the legal side how to deal with a service you sell for customers and frankly everybody in germany knows that such a wrong setup is forbidden