On 23/12/2022 10:25, Mueller via Exim-users wrote:
> But only internal emails are scanned. Emails fetched by fetchmail are not
> scanned.
> How do I configure rspamd/exim to scan incoming mails from fetchmail?
>
> My config so far:
>
> acl_smtp_mail = acl_check_mail
> acl_smtp_rcpt = acl_check_rcpt
> acl_smtp_data = acl_check_data
> acl_smtp_mime = acl_check_mime
>
> spamd_address = 127.0.0.1 11333 variant=rspamd
>
> acl_check_data:
> accept hosts = +relay_from_hosts
> warn spam = _rspamd:true ####Debian11 it is the rspamd user
How is fetchmail presenting the items to exim?
If it's not smtp, then you need to look into the not-smtp ACLs
for an additional rspamd usage.
--
Cheers,
Jeremy