MYNETS not working for mails send from shell

Christian Scholz spamassassin at 2nibbles4u.de
Sun Oct 16 12:59:20 CEST 2011


Hello together,

I've configured the mynets policy and it is working for e-mails send 
from the webserver. But when I send an e-mail from the shell,
the e-mail runs throught the prequeue filter. Is there something to take 
care of?

@mynetworks = qw( 127.0.0.0 [::1] [FE80::]/10 [FEC0::]/10 10.8.0.0/24)

$policy_bank{'MYNETS'} = {  # clients in @mynetworks
   syslog_ident => 'AMAVIS-MYNET',
   log_level => 1,
   smtpd_greeting_banner => '${helo-name} ${protocol} ${product} 
AMAVIS-MYNET filter ready',
   originating => 1,
   bypass_spam_checks_maps   => [1],
   bypass_banned_checks_maps => [1],
   bypass_header_checks_maps => [1],
   os_fingerprint_method => undef,
#  forward_method => "sasl_bypass",
};

Christian


More information about the amavis-users mailing list