Am 06.01.2014 17:06, schrieb Mark Chaney: > So I got it working and it appears actually reject the email versus > simply discard it. Is this ok to do?
discard is not allowed in many countries, reject at smtp income stage is ok ever, milters are before-queue http://www.postfix.org/MILTER_README.html As long as its not creating spam, > it seems ok. > > Delivery to the following recipient failed permanently: > > mcha...@example.com > > Technical details of permanent failure: > Google tried to deliver your message, but it was rejected by the server > for the recipient domain example.com by mx3.example.com. [192.241.xxx.xxx]. > > The error that the other server returned was: > 550 5.7.1 Blocked by SpamAssassin thats fine, if the mail was spam and its spam tag was over the configured limit > > On 2014-01-06 09:36, Robert Schetterer wrote: >> Am 06.01.2014 16:17, schrieb Mark Chaney: >>> Thanks, I will look into it, but on just a quick look, isn't it geared >>> more towards sendmail than postfix, which is what I am using? Also, it >>> doesn't appear to have been updated in a couple years and the last >>> update in 2011 was a security patch to a pretty big exploit. =/ >> >> spamass-milter works fine with postfix >> exploit is fixed ,and wasnt ever relevant on good configured >> postfix servers, there is simply nothing to do making it better so no >> updates are needed >> >>> >>> On 2014-01-06 09:07, Robert Schetterer wrote: >>>> Am 06.01.2014 16:02, schrieb Mark Chaney: >>>>> I sure I hope I didnt fail to bad on searching for this answer, but >>>>> when >>>>> simply using spamassasin with postfix as an incoming smtp relay server >>>>> and not using anything like amavis or mailscanner, is there still a >>>>> way >>>>> to discard high scoring spam (lets say 25), yet still marking emails >>>>> with scores of 5 or more as spam? I know how this would work with >>>>> amavis >>>>> or mailscanner, but not sure how to do it standalone with >>>>> postfix/SA. I >>>>> am hoping to avoid having to create filters at the destination servers >>>>> and having them deleted there. Seems like needless traffic/resource >>>>> usage. Thoughts? >>>>> >>>>> Thanks, >>>>> Mark >>>> >>>> i.e use spamass milter with spamassassin >>>> >>>> http://savannah.nongnu.org/projects/spamass-milt/ >>>> >>>> >>>> -r nn Reject scanned email if it greater than or equal to nn. >>>> >>>> >>>> Best Regards >>>> MfG Robert Schetterer >> >> >> >> Best Regards >> MfG Robert Schetterer Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein