LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-22-2008, 05:25 AM   #1
tomazN
Member
 
Registered: May 2005
Location: Slovenia
Distribution: Suse 10.2 64bit
Posts: 127

Rep: Reputation: 16
Postfix send mail for specific domain through vpn


I have a working postfix mail server.
I bougt a cisco VPN router which has established vpn connection to remote mail server.

Now i want mail for domain example.com that users behind my linux server send through postfix to be sent through established VPN tunnel.

So my linux has internal ip of 192.168.20.20 and outside ip x.x.x.x
Cisco is visible from linux on internal ip 192.168.21.20 and vpn from it is to the remote mail server of ip adress y.y.y.y.

So do i have to add to transport map for postfix (/etc/postfix/transport) line like:

example.org smtp:[192.168.21.20]

? Would that be correct or do i need to do something more ?

Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM
Howto Send mail to another Domain via postfix? tshrinivasan Linux - Server 2 09-16-2007 03:47 AM
Restrict users of a domain to send/receive mail from one particular domain tanveer Linux - Server 0 09-02-2007 02:01 AM
Postfix - Allowing Mail Only to Specific Domain zok Linux - Networking 1 04-22-2007 03:18 AM
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 4 07-11-2005 09:12 PM


All times are GMT -5. The time now is 12:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration