We are using Plesk 11.5 with postfix MTA.
Spamassassin is working fine for incoming mails and leaves outbound mails unchecked - as it should.
Now there is one of my domains whose mails are relayed to another server (using postfix transport tab; mail support for this domain is disabled in plesk).
For the moment, these mails arrive without beeing checked and marked by spamassassin. How could I change this?
I have tried to register an additional mail-handler like
but this didn't have any effect so far.
If there is a direct way to enable spam-control for relay domains, any suggestions are most welcome! Otherwise I could still access spamassassin via postfix' config-files, but I am not sure it's a good idea to use two different implementation of spamassassin at the same time.
Spamassassin is working fine for incoming mails and leaves outbound mails unchecked - as it should.
Now there is one of my domains whose mails are relayed to another server (using postfix transport tab; mail support for this domain is disabled in plesk).
For the moment, these mails arrive without beeing checked and marked by spamassassin. How could I change this?
I have tried to register an additional mail-handler like
Code:
/usr/local/psa/admin/sbin/mail_handlers_control --add --priority=10 --executable=/usr/local/psa/handlers/hooks/spam --name=spam --enabled --queue=before-remote --mailname=relaydomain.de --type=recipient-domain --dont-preserve-on-restore --context=text
but this didn't have any effect so far.
If there is a direct way to enable spam-control for relay domains, any suggestions are most welcome! Otherwise I could still access spamassassin via postfix' config-files, but I am not sure it's a good idea to use two different implementation of spamassassin at the same time.