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


  Search this Thread
Old 01-26-2007, 02:07 PM   #1
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 and
relays mail to sendmail server
would like to forward email based on senders address
i.e. mail relayed to and relayed to

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

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251

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. through our MS-Exchange server. It relays mail from a secondary address domain (e.g. 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, 10:44 AM   #3
LQ Newbie
Registered: Jan 2007
Posts: 7

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

Thank you


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 09-01-2006 12:39 AM
Sendmail works.. outbound only :( ziggy25 Linux - Networking 2 12-20-2005 06:56 PM
Avoid the firewall for outbound traffic on locally-defined virtual IP address? ariebs Linux - Networking 1 08-19-2004 01:05 PM
Sendmail --> Blocking email from senders ForumKid Linux - General 2 10-25-2002 03:46 PM
Sendmail: Blocking unwanted senders infernal Linux - Security 1 10-28-2001 12:56 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:35 AM.

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