Re: disable badh checks ?

2023-08-31 Thread Matus UHLAR - fantomas

On 30.08.23 18:54, li...@sbt.net.au wrote:

# grep badh /etc/amavisd/amavisd.conf


warnbadhsender   => 1,



On Wed, August 30, 2023 7:11 pm, Matus UHLAR - fantomas wrote:

perhaps set this to 0


On 30.08.23 19:52, li...@sbt.net.au wrote:

sorry, it wasn't clear with my post, the line "warnbadhsender   => 1," is
under $policy_bank{'ORIGINATING'} section -

so I guess I would need

warnbadhsender   => 0,

after "# SOME OTHER VARIABLES WORTH CONSIDERING"


warning own senders should be find, unless you allow spoofing of from 
address


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Support bacteria - they're the only culture some people have.


Re: disable badh checks ?

2023-08-30 Thread lists
On Wed, August 30, 2023 7:11 pm, Matus UHLAR - fantomas wrote:
> On 30.08.23 18:54, li...@sbt.net.au wrote:

>>
>> # grep badh /etc/amavisd/amavisd.conf
>>
>>
>> warnbadhsender   => 1,
>
> perhaps set this to 0
>

sorry, it wasn't clear with my post, the line "warnbadhsender   => 1," is
under $policy_bank{'ORIGINATING'} section -

so I guess I would need

warnbadhsender   => 0,

after "# SOME OTHER VARIABLES WORTH CONSIDERING"

thanks again



Re: disable badh checks ?

2023-08-30 Thread Matus UHLAR - fantomas

On Wed, August 30, 2023 7:11 pm, Matus UHLAR - fantomas wrote:

On 30.08.23 18:54, li...@sbt.net.au wrote:
this could help:

$bad_header_quarantine_to = undef;
$final_bad_header_destiny = D_PASS;



I already set these last time I've asked:

$final_bad_header_destiny = D_PASS;
# was D_BOUNCE
$bad_header_quarantine_method = undef;
# was commented out


On 30.08.23 19:41, li...@sbt.net.au wrote:

NOW I also added this one:

@bypass_header_checks_maps = ();



I don't think this is necessary.  Comment about proken headers helps fixing 
other mail issues in the future.  Headers should be correct.



I'll try to test with that



warnbadhsender   => 1,


perhaps set this to 0



I'll try that next, thanks again

V


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]


Re: disable badh checks ?

2023-08-30 Thread lists
On Wed, August 30, 2023 7:11 pm, Matus UHLAR - fantomas wrote:
> On 30.08.23 18:54, li...@sbt.net.au wrote:

Matus, thanks!

>
> this could help:
>
> $bad_header_quarantine_to = undef;
> $final_bad_header_destiny = D_PASS;


I already set these last time I've asked:

$final_bad_header_destiny = D_PASS;
# was D_BOUNCE
$bad_header_quarantine_method = undef;
# was commented out


NOW I also added this one:

@bypass_header_checks_maps = ();

I'll try to test with that

>>
>> warnbadhsender   => 1,
>
> perhaps set this to 0
>

I'll try that next, thanks again

V



Re: disable badh checks ?

2023-08-30 Thread Matus UHLAR - fantomas

On 30.08.23 18:54, li...@sbt.net.au wrote:

I have a amavisd-new-2.12.1 with Postfix/Dovecot since like forever,  all
working well

I'm thinking of disabling bad header checks (seems surplus today..?)

mails with badh get delivered to 'badh' in basket in Maildir


there must be a rule that does this.


what's the proper way to disable badh check ?


this could help:

$bad_header_quarantine_to = undef;
$final_bad_header_destiny = D_PASS;


if I delete badh sub folder in Maildir - will that then simply flag badh
and, deliver to main inbox, will that do ?

is there a way to generate a test badh mail to check/test my setup ?

thanks for any pointers!

# grep badh /etc/amavisd/amavisd.conf

 warnbadhsender   => 1,


perhaps set this to 0


@addr_extension_bad_header_maps = ('badh');
# $warnbadhsender,
# $warnvirusrecip, $warnbannedrecip, $warnbadhrecip, (or @warn*recip_maps)



--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
My mind is like a steel trap - rusty and illegal in 37 states.