Closed GieltjE closed 3 years ago
Sounds more like you need help configuring it. Perhaps you should try the telegram channel. :)
Talked on IRC today, they suggested my config should work fine.
So what will actually work is overriding actions
like so:
# cat rspamd.conf.override
actions {
add_header = 5;
}
Setting reject to null unfortunately will not.
https://rspamd.com/doc/tutorials/writing_rules.html#configuration-files It's litteraly the way described in this example
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
damn stale crapbot
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
damn stale crapbot
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
!stale
https://rspamd.com/doc/tutorials/scanning_outbound.html <-- has no section for regular milter
There's not much to be done about it that comes to mind, possibly it's useful to mention non_smtpd_milters
for Postfix users.
It is not clear how to define a different weight to a symbol for just authenticated/trusted_ips.
Using symbol
in apply
block: https://rspamd.com/doc/configuration/settings.html#settings-structure
https://rspamd.com/doc/configuration/settings.html <-- symbols/groups ([symbols|groups]_enabled, [symbols|groups]_disabled) should have an setting like [symbols|groups]_add and [symbols|groups]_remove to allow adding/removing specific items without having to figure out what was in them.
They are called symbols
and symbols_disabled
.
The above should cause no inbound rejection (functions properly), but sending an email causes no rejection (even when including an item on the openphish list).
The issue is about setting null
in config not behaving the same as removing the action; it should be fixed here.
Summary
Outbound scanning is currently to sparsely documented and non-functional (part bug, part feature i guess?)
Motivation
We are not rejecting/greylisting inbound email, this has proven to be problematic (lots of mail getting "lost" and users getting mad because the other mailserver is ancient/crap/listed on blocklists e.t.c.). However we are attempting to prevent becoming blacklisted ourselves (keyword attempt), as in we want to scan and reject outbound mail that has a certain score(uribl, surbl with url redirection e.t.c., basically normal spamfiltering minus spf, dkim ofcourse) or contains virusses.
Describe alternatives you've considered
Reading the documentation for the 10th time?
Additional context
https://rspamd.com/doc/tutorials/scanning_outbound.html <-- has no section for regular milter
It is not clear how to define a different weight to a symbol for just authenticated/trusted_ips.
https://rspamd.com/doc/configuration/settings.html <-- symbols/groups ([symbols|groups]_enabled, [symbols|groups]_disabled) should have an setting like [symbols|groups]_add and [symbols|groups]_remove to allow adding/removing specific items without having to figure out what was in them. e.g. the following just stops all filtering and doesn't add any headers:
Usefull parts:
The above should cause no inbound rejection (functions properly), but sending an email causes no rejection (even when including an item on the openphish list).
Full config dump: