I have a PIX 515 Firewall. I am setting up an exchange server and need to send and receive e-mail thru a mail gateway. How do I allow traffic to and from the mail server thru the mail gateway. I also need to allow web-mail service. Thank you.
Setting Mail and Mail Gateway traffic on PIX515
I already did the following commands
pixfirewall#config term
pixfirewall(config)#static (inside,outside) tcp <public ip> 25 <mail_gateway ip> 25 netmask 255.255.255.255
pixfirewall(config)#access-list inbound_mail permit tcp any host <public ip> eq 25
pixfirewall(config)#access-group inbound_mail in interface outside
pixfirewall(config)#no fixup protocol smtp 25
pixfirewall(config)#clear xlate
pixfirewall(config)#exit
pixfirewall#
how does the mail gateway communicate with your mail server (is it just SMTP) ?
The way I understand what you are saying, the mail gateway is going to send/receive all the email to/from the Internet. In this case, your configuration above seems fine. You need to configure EXCH to forward all emails outbound to the gateway & you need to configure the gateway to send all emails inbound to EXCH (after it has checked them and verified that they are valid of course).
Are you going to use OWA for webmail ?