Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

SMTP IP address issue

I have a Cisco 1811 Intergrated Services Router which has been in operation for over a year. It also provides VPN access for the Cisco dialer VPN and three small remote offices with PIX 501s connected back to the main office. All worked well, except I discovered the outbound e-mail came from an incorrect IP address. I want the SMTP to show from, but it shows from is the e-mail server. I used the command "ip nat inside source static tcp 25 25 extendable". E-mail comes in OK, but outbound e-mail shows the primary IP address of the router, not the address in the IP NAT line. The server is also a DNS/WINS server. I do not want to change the public DNS records. I have tried some changes, but each try created a different problem.

Attached is a copy of the full config.


Hall of Fame Super Silver

Re: SMTP IP address issue

Hello Ross,

I would rewrite the ACL 100 to deny host

before the line

permit ip any


deny ip host any

in this way the NAT is managed by the static entries

Hope to help


New Member

Re: SMTP IP address issue


Due to their schedule, I will not be able to try it until tomorrow PM. I will try it then. Thanks for the suggestion.


New Member

Re: SMTP IP address issue

I added the deny line. Inbound works fine. My server cannot access the internet. It cannot reach dns forwarders, ping, or browse the internt. Other inside hosts have internet access (except names are not being resolved) Here is my access lit 100. Is it in the right order?

access-list 100 deny ip

access-list 100 deny ip

access-list 100 deny ip

access-list 100 deny ip

access-list 100 deny ip host any

access-list 100 permit ip any