Sender notifications - disable? customize?
MRob
mrobti at insiberia.net
Mon Nov 28 12:50:49 CET 2016
I tried setting to undef instead of 0, but warning/notices are still
sent out by amavis. So I appear to have a problem with these settings
being overridden somewhere else(?)(or not understanding the right
settings to use) but I hope someone can still answer my other questions:
- Are there best practices advice about sender notifications?
-
- Looks like default is to have notifications ("warnings?") enabled for
attachments with banned file extensions. Doesn't this risk backscatter
problems when sender address is forged?
-
- I cannot find a way to disable them - tried setting these all to 0 but
no luck: $warnbadhsender $warnbannedsender $warn_offsite
-
- I'm having a very hard time finding documentation on any of those
settings, what exactly they do - where can I find that?
-
- Also, is there a place to customize the message body (and possibly
headers) for these notifications ("warnings?")?
On 2016-11-26 23:34, Dominic Raferd wrote:
> I don't think there is a way to check what the current active settings
> are for amavisd-new (nothing like postconf -n) - including all
> defaults - unfortunately. We can of course check our own settings with
> something like: grep -r "warn" /etc/amavis/conf.d|grep -v "\s*#"
>
> The defaults that I am aware of are:
>
> $warnbannedsender = undef;
> $warnbadhsender = undef;
> $warn_offsite = undef;
> $warnvirusrecip = undef;
> $warnbannedrecip = undef;
> $warnbadhrecip = undef;
>
> I presume this means there are no warnings issued unless these
> variables are set explicitly, and this isn't the case with ubuntu (or
> I think debian) standard installations? Are you sure that warnings are
> being issued by amavisd-new on your system?
>
> On 26 November 2016 at 22:44, MRob <mrobti at insiberia.net> wrote:
>
>> Are there best practices advice about sender notifications?
>>
>> Looks like default is to have notifications ("warnings?") enabled
>> for attachments with banned file extensions. Doesn't this risk
>> backscatter problems when sender address is forged?
>>
>> I cannot find a way to disable them - tried setting these all to 0
>> but no luck: $warnbadhsender $warnbannedsender $warn_offsite
>>
>> I'm having a very hard time finding documentation on any of those
>> settings, what exactly they do - where can I find that?
>>
>> Also, is there a place to customize the message body (and possibly
>> headers) for these notifications ("warnings?")?
>>
>> Thank you for your great product.
More information about the amavis-users
mailing list