09-16-2004 12:28 PM - edited 02-20-2020 11:38 PM
We're having an issue where we can't send mail to ourselves. Mail will successfully come from outside sources to mail.domainname.com but if we try it internally it won't allow the traffic through. If I try to telnet to port 25 from a machine on the internal network to the mail.domainname.com then it doesn't connect. However, if I telnet from an external source (one that isn't on the Internal Interface) I can connect fine.
Any help would be appreciated
09-16-2004 12:44 PM
Here's a relevant portion of my config:
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 dmz security10
access-list 100 permit tcp any host xxx.xxx.xxx.217 eq smtp
access-list 100 permit tcp any host xxx.xxx.xxx.217 eq pop3
global (outside) 1 interface
global (dmz) 1 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
alias (inside) 192.168.0.xx xxx.xxx.xxx.4 255.255.255.255
static (inside,outside) xxx.xxx.xxx.217 192.168.0.xx netmask 255.255.255.255 0 0
09-16-2004 01:14 PM
Your alias does not match your smtp server's public IP address. I am assuming the alias you have set is for the smtp server?
09-17-2004 02:58 AM
Daryl,
As per Atif's post change your alias to:
alias (inside) 192.168.0.xxx xxx.xxx.xxx.217 255.255.255.255
static (inside,outside) xxx.xxx.xxx.217 192.168.0.xxx netmask 255.255.255.255 0 0
Remember to issue clear xlate after the modifications and save with write mem.
09-17-2004 05:08 AM
Is the alias mandatory? What if I remove it completely?
09-17-2004 05:13 AM
The alias will be required if you are trying to talk to your mail server using its public hostname. What the alias command does is that it doctors the DNS replies coming through the PIX and basically changes the public ip address into the private ip address for your internal clients. You can say that your internal DNS queries for your mail server will return its private rather than public ip address and this should make things work for you.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide