in reply to Exchange to Postfix Firewall Configuration

Below is an example config file for the script. It should be located at /etc/getcrr.conf if you are using the default configuration. You can always specify another config file on the command line.
# General Config # # The temp dir that getcrr will use when building up the final map fil +es # Note: This directory must exist, it will not be created Libdir /etc/postfix/crr # Path/file for the pid file PIDFile /var/run/getcrr.pid # The logfile location and filename LogFile /var/log/getcrr.log # Turn Debugging on in the log file Debug 0 # The maximum number of processes that should be allowed to fork off t +o # to be used by the forking manager MaxProc 5 # Email address of the administrator (Leave commented to not receive e +mail) # AdminEmail "Eric Lubow" <admin@server.com> #AdminEmailCC "Tech Reports" <tech@server.com> # Postfix Config # # Note: All postfix map files are created in pcre format. # Ensure your main.cf matches accordingly # # This is the base dir of your postfix configuration PostfixBase /etc/postfix # Path/file for the postfix relay domains file RelayDomains ${PostfixBase}/relay_domains # Path/file for the postfix mynetworks file MyNetworks ${PostfixBase}/mynetworks # Path/file for the postfix relay recipients file RelayRecipients ${PostfixBase}/relay_recipients # Path/file for the postfix transport maps file TransportMaps ${PostfixBase}/transport # List any backup mail servers here BackupMX mail2.server.com # Amavis/SpamAssassin/DSpam Config # # If you are using amavisd and SPAM Assassin to filter SPAM, then it # would be a good idea to use this option. In amavisd it is necessary # to setup the @score_sender_maps array. This is a by-recipient hash # lookup table. Add the line: # read_hash("/etc/amavis/sender_scores_sitewide"), # where /etc/amavis/sender_scores_sitewide is the location of the # external hashfile that will be generated by this script. # Comment this out for the file not to be created SenderScoresFile /etc/amavis/sender_scores_sitewide # All messsages that appear to be coming from one of our domains, but # from an invalid recipient will get this threshold added BLLocalSenderScore 1.0 # Scoring change on a message sent by a whitelisted sender listed in # the sender_scores_sitewide file WLSenderScore -5.0 # An additional list of white list senders WLSenders mom@myfamily.com \ dad@myfamily.com # An additional list of white list senders & their score BLSenders example@example.com BLSenderScore 4.5 # Server Listings # Password MyPass # Exchange Server <Server ex01> Company Exchange Examples Host ex01.server.com IP 192.168.1.10 Type Exchange Base dc=Example,dc=com User ex@example Pass ${Password} Active 1 Comment Example Exchange Server ExcludeDomain vtext.com mobile.mycingular.com </Server> # Nitix Server <Server consolco-clifton> Company Nitix Examples Host nitix.server.com IP 192.168.2.10 Type Nitix Base dc=server,dc=com User ex@dc=server,dc=com Attrib mail Active 1 Comment Nitix Example Server </Server>