* J4 <ju...@klunky.co.uk>:
>     This is pretty much what I would like to achieve, & the reason I
> decided not to use Dovecot Sieve (apart from me being incapable of
> setting it.  ;)  ).  
> 
>         Parse the SPAM during the SMPT session and use only RAM: Perfect.
>  
> I would still like to notify the connecting SMTP client with a reject
> message.  Real spammers are uninterested anyway, but legitimate
> e-mailers would be, although this is not essential to let them know.

spamassassin can make Postfix REJECT clients in session if you integrate
Spamassassin using a MILTER or amavis. Your master.cf excert below indicates
you are not running Spamassassin in SMTP session, but after the mail has been
accepted.

If you only want to identify and reject spam use a Spamassassin Milter
interface. There are several out there. See section "Integrated into Sendmail"
in http://wiki.apache.org/spamassassin/IntegratedInMta.

If you need more, go for amavis.

Which plattform are you on? 

p@rick




> 
> The problem is that I don't know how to achieve this with postfix :( 
> The postfix set-up I have is below (master.cf), but I do not know for
> certain that it is filtering during the SMTP session afore it hits the
> disc, and I have not found any information about how to configure this. 
> My hunt for guides goes on.
> 
> smtp      inet  n       -       -       -       -       smtpd
>   -o content_filter=spamassassin
> dovecot   unix  -       n       n       -       -       pipe
>     flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d
> ${recipient}
> spamassassin unix -     n       n       -       -       pipe
>   user=nobody argv=/usr/bin/spamc -f -e
>   /usr/sbin/sendmail -oi -f ${sender} ${recipient}
> 
> 
> 

-- 
state of mind
Digitale Kommunikation

http://www.state-of-mind.de

Franziskanerstraße 15      Telefon +49 89 3090 4664
81669 München              Telefax +49 89 3090 4666

Amtsgericht München        Partnerschaftsregister PR 563

Reply via email to