Discussion:
Bypass spam check for message from my local domain
Scappatura Rocco
2018-11-06 16:05:48 UTC
Permalink
Hello.

In my amavid-new configuration I have:

@local_domains_acl = (
".$mydomain" ,
read_hash('/etc/postfix/relay_domains')
);

@local_domains_maps = @local_domains_acl;

I would like to avoid spam check for all message with sender listed in @local_domain_maps.

How could I set up a such behaviour?

Regards,

RS
Benny Pedersen
2018-11-06 17:26:44 UTC
Permalink
its possible this senders is forged, no ? :)
Post by Scappatura Rocco
How could I set up a such behaviour?
make ORIGINATING policy bank and disable spam test in this bank only

this is well dokumented and it cant be fooled by spammers if you use
smtp auth
Scappatura Rocco
2018-11-06 17:50:41 UTC
Permalink
Thank you Benny!
-----Messaggio originale-----
Da: amavis-users [mailto:amavis-users-
Pedersen
Inviato: martedì 6 novembre 2018 18:27
Oggetto: Re: Bypass spam check for message from my local domain
Post by Scappatura Rocco
I would like to avoid spam check for all message with sender listed in
@local_domain_maps.
its possible this senders is forged, no ? :)
[Scappatura Rocco]

Yes.. :-(
Post by Scappatura Rocco
How could I set up a such behaviour?
make ORIGINATING policy bank and disable spam test in this bank only
[Scappatura Rocco]

Could you instruct me on how I could define ORIGINATING Policy Bank?
this is well dokumented and it cant be fooled by spammers if you use smtp
auth
[Scappatura Rocco]

Regards,

RS
Benny Pedersen
2018-11-06 18:58:19 UTC
Permalink
Post by Scappatura Rocco
Could you instruct me on how I could define ORIGINATING Policy Bank?
https://forum.iredmail.org/topic5009-iredmail-support-disabling-oubout-amavisd-scanning.html

dont disable amavisd for virus scanning, make the policy bank bounce
virus to local senders

note disable spam scanning does aswell disable ham learning in bayes
Scappatura Rocco
2018-11-07 08:41:07 UTC
Permalink
Hello Benny.
-----Messaggio originale-----
Da: amavis-users [mailto:amavis-users-
Pedersen
Inviato: martedì 6 novembre 2018 19:58
Oggetto: Re: R: Bypass spam check for message from my local domain
Post by Scappatura Rocco
Could you instruct me on how I could define ORIGINATING Policy Bank?
https://forum.iredmail.org/topic5009-iredmail-support-disabling-oubout-
amavisd-scanning.html
[Scappatura Rocco]
dont disable amavisd for virus scanning, make the policy bank bounce virus to
local senders
note disable spam scanning does aswell disable ham learning in bayes
Regards,

RS
Dominic Raferd
2018-11-07 08:59:12 UTC
Permalink
Post by Benny Pedersen
Post by Scappatura Rocco
Could you instruct me on how I could define ORIGINATING Policy Bank?
https://forum.iredmail.org/topic5009-iredmail-support-disabling-oubout-amavisd-scanning.html
dont disable amavisd for virus scanning, make the policy bank bounce
virus to local senders
This is good advice in principle, but in my experience most of the time
taken by amavis is actually taken by child process clamav, so if you don't
disable virus scanning you don't save much time.
To kill child processes (i.e. clamav) that take too long I use
$child_timeout = 20;

Continue reading on narkive:
Loading...