Skip to content

getmail & rspamc #4348

Answered by polarathene
tilllt asked this question in Q&A
Feb 6, 2025 · 4 comments · 9 replies
Discussion options

You must be logged in to vote

Solution

The easiest approach is adjusting the Getmail config for [destination], not bothering with any of the alternative filter config (which would be more cumbersome in this case).

This will always have the retrieved mail delivered to Dovecot regardless of rspamd scan results, but you can use Sieve rules on the rspamd added headers if you need more than automatic migration to mailbox Junk folder (triggered by X-Spam: yes).


Adapting from the example I gave in the related getmail discussion, this one modifies dms-getmail to use rspamd + clamav, and I disregard the TLS setup, so all a single compose.yaml:

services:
  dms-getmail:
    image: ghcr.io/docker-mailserver/docker-mailserver:edge #

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
2 replies
@tilllt
Comment options

@polarathene
Comment options

Comment options

You must be logged in to vote
6 replies
@georglauterbach
Comment options

@tilllt
Comment options

@polarathene
Comment options

@polarathene
Comment options

@tilllt
Comment options

Comment options

You must be logged in to vote
1 reply
@polarathene
Comment options

Answer selected by polarathene
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants