LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-23-2012, 01:22 PM   #1
dimitarsl
LQ Newbie
 
Registered: Jan 2012
Posts: 11

Rep: Reputation: Disabled
Mail routing with Postfix


Hi all,
I have a server SLES 11 SP2 Postfix, which is being used as e-mail relay to Google at the moment.
My goal is to have the server receive inbound messages for particular domain and route them into different direction then Google.

Currently the box relay`s all e-mail traffic for domain example.com to Google and i want it to continue doing so but to route the e-mail for 2-3 e-mail addresses to another server.
I know if I specify a route in the transport table it will route it to one IP address, but can I specify a route there only for a particular e-mail address?
 
Old 09-23-2012, 01:44 PM   #2
_dkode_
LQ Newbie
 
Registered: Sep 2012
Location: kerala
Distribution: debian
Posts: 11

Rep: Reputation: 0
yes it is possible, please check man page of transport.
 
Old 10-01-2012, 01:08 PM   #3
dimitarsl
LQ Newbie
 
Registered: Jan 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by _dkode_ View Post
yes it is possible, please check man page of transport.
Hi,
You were right the syntax in the transport table is user@domain-name smtputbound-relay.my.domain
It works fine when its a simple username, however there is a bug.
If the e-mail address is like user-name@domain is working fine but as soon as you add additional complexity it fails.
Example users addresses which fail:
user.name-name@domain
user-name-name@domain
 
  


Reply



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 routing how to? manya Linux - Server 4 06-02-2011 12:24 AM
Mail routing with postfix + courier + SA chipt4 Linux - Software 1 03-05-2009 01:57 PM
PostFix & mail routing. abhijeetudas Linux - Networking 0 08-01-2005 01:21 AM
postfix, mysql and mail routing demian Linux - Networking 0 09-09-2004 09:37 AM
Domain Routing to Postfix from Sendmail = Wrong IP information in Mail Logs! dholingw Linux - Networking 2 05-20-2004 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration