Mailing List Archive

Question for Spamassassin in Exim
Hello,

 I configured exim using  two methods

1) Exim default  using spamd_address

2) Exim with spam_router   and transport using spamc

 Both of these options works well.  I setup the report-safe as 1 in
spamassassin configuration . So when I use the option 2 ,  the emails
will be piped using the spamc command and detected spam emails are send
as an attachment

 Now the problem is when I use the option 1 , it doesn't  use
report-safe option . It smply report the message as spam and send the
mail body with any change . So how can I send the mail as an attachment
like  using the option spamc.

--
Regards
Sherin


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Question for Spamassassin in Exim [ In reply to ]
Hi Sherin,

On 17.10.21 19:13, Sherin A via Exim-users wrote:
> 1) Exim default  using spamd_address

[...]

>  Now the problem is when I use the option 1 , it doesn't  use report-safe option . It smply report the message as spam and send the mail body with any change . So how can I send the mail as an
> attachment like  using the option spamc.

This is "as designed", using that method provided mail is not altered by spamassassin, only a number of variables are set (see
https://www.exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html).

hth,
Thomas

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/