Reject message only if it's not a spam

Mateusz Krawczyk mat.krawczyk at gmail.com
Wed Sep 30 18:19:53 UTC 2015


OK - thanks. The "Non Spam Actions = custom" looks really interesting.

One problem only. I have no idea how to send a reject mail in my
custom sub. Is it possible to do it in some MailScanner way or just
using Perl functions ?

Regards,
Mateusz Krawczyk

2015-09-30 13:23 GMT+02:00 Valentin Laskov <it at festa.bg>:
> Hi  Mateusz
>
> Your start point may be
>
> Non Spam Actions = %rules-dir%/Non.Spam.Actions.rules
>
> in MailScanner.conf
>
> and arrange some rules in Non.Spam.Actions.rules
>
> or if
> Non Spam Actions = custom
>
> #    custom(parameter)       - Call the CustomAction function in
> /usr/lib/Mail-
> # Scanner/MailScanner/CustomFunctions/CustomAction
> #                              .pm with the 'parameter' passed in. This can
> be
> #                              used to implement any custom action you
> require.
> #
>
>
> Regards!
> Valentin Laskov
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
>


More information about the MailScanner mailing list