LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-26-2007, 01:07 PM   #1
dbnor
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 0
sendmail outbound relaying based on senders address


good morning all,

is it possible to have sendmail perform outgoing relaying based on the senders address.

have exchange server with usera@domain1.com and userb@domain2.com
relays mail to sendmail server mta-relay.com
would like mta-relay.com to forward email based on senders address
i.e.
usera@domain1.com mail relayed to mta-1.com and
userb@domain2.com relayed to mta-2.com


thanks!
 
Old 01-26-2007, 01:48 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Yeppers!

Its called Smarttables. We set that up here. Our config was for an HP-UX server originating the email. It relays mail from one address domain (e.g. @primarydomain.com) through our MS-Exchange server. It relays mail from a secondary address domain (e.g. @secondarydomain.com) through a Linux server we built just to have sendmail for sending those mails.

I'd post the config we did but the HP-UX sendmail config is a customized by HP so I had to adapt what I found via Google to fit that. If you do a Google search for smarttable(s) you should find the information I did.

One note - I did a cut and paste from the link I'd originally found into the .mc file and had issues - that is because there are actually tabs rather than spaces in the file. I had to work out where those went by trial and error.
 
Old 01-27-2007, 09:44 AM   #3
dbnor
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
found smarttables - - just what we needed.

Thank you
 
  


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
Problem in relaying outbound mails for specific smtp gurl4sh25 Linux - Server 3 08-31-2006 11:39 PM
Sendmail works.. outbound only :( ziggy25 Linux - Networking 2 12-20-2005 05:56 PM
Avoid the firewall for outbound traffic on locally-defined virtual IP address? ariebs Linux - Networking 1 08-19-2004 12:05 PM
Sendmail --> Blocking email from senders ForumKid Linux - General 2 10-25-2002 02:46 PM
Sendmail: Blocking unwanted senders infernal Linux - Security 1 10-27-2001 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:36 AM.

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