Hi all,
sorry to bother I'm new to exim and having difficulties setting up my server.
I configured Exim with SpamAssassin to rewrite the subject as follows
in case of spam:
X-Spam-Status: Yes (5.5/1.0) SpamAssassin 3.2.0 (2007-05-01)
(+++++)
---- Start of SpamAssassin Report
* 0.5 TVD_RCVD_IP TVD_RCVD_IP
* 0.0 UNPARSEABLE_RELAY Informational: message has
unparseable relay lines
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 2.3 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
* 1.0 MIME_HEADER_CTYPE_ONLY 'Content-Type' found without
required MIME
* headers
* 1.7 HTML_MIME_NO_HTML_TAG HTML-only message, but there is
no HTML tag
---- End of SpamAssassin Report
Subject: [***SPAM***] spam subject
In case of non spam:
X-Spam-Status: No (0.5/1.0) SpamAssassin 3.2.0 (2007-05-01) () ----
Start of SpamAssassin Report * 0.5 TVD_RCVD_IP TVD_RCVD_IP * 0.0
UNPARSEABLE_RELAY Informational: message has unparseable relay lines
---- End of SpamAssassin Report
I wish to filter the message based on the x-spam-status header and I
tried the following router trying to control if the x-spam-status
contains Yes
delspam:
driver = accept
condition = ${if match {$h_X-Spam-Status}{"Yes"} {Yes}{No}}
transport = rmspam
the condition never verifies.
Please help
Thank you
Antonio Cocco