Danjel Jungersen via Postfix-users: > Hey! > > I have set up clamav, and I think it works.... > But when a mail is recieved, it is first scanned by rspamd and then > clamav. Thats all fine. > But when clamav is done, rspamd scans it again. > My setup is debian, postfix, rspamd, clamav, dovecot. > Most of the setup from https://workaround.org/ispmail-bookworm/ > > This causes 2 concerns for me. > > 1. The extra work done by the server (Not very busy, so the a very big > issue) > 2. The second scan has a higher spamscore, so I fear that the second > scan goes above the reject setting and the server rejects mail from > itself :-( > > I assume that it is postfix sending it to rspamd again. > How to avoid this? > > I have not found a solution, though I have REALLY tried googling.
Let me guess. You have clamav as a content filter, and rspamd as as a milter both before and after the content filter. Solution: disable milters *after* the content filter. For more support, see https://www.postfix.org/DEBUG_README.html#mail Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org