Am 14.01.2010 13:40, schrieb tonjg: > > > Robert Schetterer wrote: >> >> you can use spamass-milter to reject spam mails over a wanted level >> at smtp income stage > > how? > how does one use spamass-milter to reject spam mails at smtp income stage?
milters are filters in before-queue http://www.postfix.org/MILTER_README.html http://savannah.nongnu.org/projects/spamass-milt/ SpamAssassin Sendmail Milter Plugin Usage: spamass-milter -p socket [-b|-B bucket] [-d xx[,yy...]] [-D host] [-e defaultdomain] [-f] [-i networks] [-m] [-M] [-P pidfile] [-r nn] [-u defaultuser] [-x] [-a] [-- spamc args ] -p socket: path to create socket -a: don't scan messages over an authenticated connexion. -b bucket: redirect spam to this mail address. The orignal recipient(s) will not receive anything. -B bucket: add this mail address as a BCC recipient of spam. -d xx[,yy ...]: set debug flags. Logs to syslog -D host: connect to spamd at remote host (deprecated) -e defaultdomain: pass full email address to spamc instead of just username. Uses 'defaultdomain' if there was none -f: fork into background -i: skip (ignore) checks from these IPs or netblocks example: -i 192.168.12.5,10.0.0.0/8,172.16.0.0/255.255.0.0 -m: don't modify body, Content-type: or Subject: -M: don't modify the message at all -P pidfile: Put processid in pidfile -r nn: reject messages with a score >= nn with an SMTP error. use -1 to reject any messages tagged by SA. -u defaultuser: pass the recipient's username to spamc. Uses 'defaultuser' if there are multiple recipients. -x: pass email address through alias and virtusertable expansion. -- spamc args: pass the remaining flags to spamc. so what you need is -r -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria