0

I have a postfix/dovecot/spamassassin mail server with virtual users on mysql. The server have more than one domain.

I need a way to leave disabled spammassassin by default and enable it only for certain domains.

I am confused and I do not know if it can be done and what would be the correct way

David
  • 101
  • 3
  • 1
    How has spamassassin been hooked into your config? If its using a script (which is not uncommon), you could always modify that script to conditionally pipe through spamassassin depending on sender/receiver domain? – davidgo Oct 29 '19 at 17:25
  • Basically I only descommented the amavis lines and It works. But my mind is opened to other configurations. – David Oct 29 '19 at 22:31

0 Answers0