Hi,

I need to clarify the use of @mynetworks.
I have a list of ip-addr of servers on my internal network which are allowed
to use my gateway to send out mail. This is a very restricted set of servers.
This is defined in  a MySql Table used by postfix, and whenever postfix is 
started
I create a flat file with this info readable by amavisd-new like:

@mynetworks_maps = (read_hash('/usr/local/etc/mxgw/postfix/mynetworks'), 
\...@mynetworks);

And then expect that only IP adresses defined here will be treated as local in 
the following MYNETS
policy bank:

$policy_bank{'MYNETS'} = {  # mail originating from @mynetworks
   originating => 1,  # is true in MYNETS by deflt, but let's make it explicit
   terminate_dsn_on_notify_success => 0,
   spam_kill_level_maps => 6.9,
   spam_subject_tag2_maps => ["***SPAM ORIGINATED FROM LOCAL*** "],
   virus_admin_maps => ["masp...@sdu.dk"], # alert of internal viruses
   spam_admin_maps  => ["masp...@sdu.dk"],  # alert of internal spam
   warnbadhsender => 1,  # warn local senders about their broken MUA
   spam_quarantine_cutoff_level_maps => $sa_tag2_level_deflt ,
};


But this is not the case- What am I overlooking ?

Regards

Peter Sørensen/Univ.Of.Sothern.Denmark/email:mas...@sdu.dk
 
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to