Menu

#12 keep mail when directly connecting to spamd

v1.0 (example)
closed
nobody
None
5
2018-06-20
2014-03-16
No

I have a question:
Is it possible to keep a message when its detected as spam and only mark it (or send it to a special address)?
I'm using (to pass messages to spamassassin):
C:\SA\emailrelay\emailrelay --as-proxy 10.15.52.8:25 --port 10025 --spool-dir "c:/sa/spool" --filter spam:localhost:783 --no-daemon -v --log

Regards JCP

Discussion

  • Johannes Pahl

    Johannes Pahl - 2014-03-16

    Sorry i'm using V1.9 under Windows

     
  • Graeme Walker

    Graeme Walker - 2014-03-27

    Try changing "--filter" to "--client-filter" so that the spam check runs when the message is forwarded rather than when it is first received. The message envelope should end up as a ".bad" file in the spool directory with an X-MailRelay-Reason field ending with "marked as spam".

     
  • Graeme Walker

    Graeme Walker - 2014-03-27
    • status: open --> pending
     
  • Graeme Walker

    Graeme Walker - 2018-06-20
    • status: pending --> closed
     
  • Graeme Walker

    Graeme Walker - 2018-06-20

    The v2.0 release is better in this regard; you can use "--filter spam:..." or "--filter spam-edit:...".

     

Log in to post a comment.