LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 11-10-2008, 11:20 AM   #1
mlewis
Member
 
Registered: Mar 2006
Posts: 130

Rep: Reputation: 16
Can I use SMTP relay as smarthost?


Not sure which forum to post this in so I'll try here first.

Here is my setup.

Incoming;
Internet->spam server->relay server->mail server

Outgoing;
User->mail server->spam server->relay->Internet

This is set up this way so that the outgoing mail can also teach the spam server. What I am wondering is if I could use the relay server as a smarthost in case the mail server goes down.

It seems to me that I would not have to make any MX changes at all, simply configure relay to act as a smarthost if mail server is down.

If this is the case, does anyone know where I could find some information on configuring the relay to tell it that it is also a smarthost?

Thanks much.

Mike
 
Old 11-10-2008, 12:56 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,856

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
well we can't tell you how to configure the mta's as you've not told us what they are, they could be MS Exchange for all we know. Essentially though, mail servers are "smart" by default, it's only if you have a rigid internal architecture that you would configure against this, forcing upstream relays etc, indeed if that relay goes out to the net then it will be "smart" as you've not shown an upstream relay, e.g. your ISP, for it to be dumb to in the first place.
 
Old 11-10-2008, 01:00 PM   #3
mlewis
Member
 
Registered: Mar 2006
Posts: 130

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by acid_kewpie View Post
well we can't tell you how to configure the mta's as you've not told us what they are, they could be MS Exchange for all we know. Essentially though, mail servers are "smart" by default, it's only if you have a rigid internal architecture that you would configure against this, forcing upstream relays etc, indeed if that relay goes out to the net then it will be "smart" as you've not shown an upstream relay, e.g. your ISP, for it to be dumb to in the first place.
Sorry, the MTA I want to use as the smarthost is a qmail server. All it does currently is act as a relay so it is set to allow relay from all connections internally.

As my simple diagram shows, the relay does send out to the Internet if that's what you're asking? The ISP is my own network.

Hope this better explains.

Mike
 
Old 11-10-2008, 01:28 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,856

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
so it's relaying outbound? that *is* a smarthost surely? What limitations are you currently experiencing?
 
Old 11-10-2008, 05:48 PM   #5
mlewis
Member
 
Registered: Mar 2006
Posts: 130

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by acid_kewpie View Post
so it's relaying outbound? that *is* a smarthost surely? What limitations are you currently experiencing?
Well, it's both an incoming and outgoing relay .

Internet->spam server->relay->mail server

And for outgoing;

User->mail server->spam server->relay->Internet

So, what I need is to learn what I need to do on that relay so that it will hold the incoming email should the mail server be down temporarily, then send to it once it's back up.

Mike
 
Old 11-11-2008, 02:19 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,856

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
again, by default it would store the mail for a while, up to a week or something. is this not what your experiencing?
 
Old 11-11-2008, 11:53 AM   #7
mlewis
Member
 
Registered: Mar 2006
Posts: 130

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by acid_kewpie View Post
so it's relaying outbound? that *is* a smarthost surely? What limitations are you currently experiencing?
I've not tested it yet, the mail server doesn't go down very much. I just wondered what I need to do with the qmail server to make sure that it acts as a smarthost.

So, basically, you're saying that so long as it is told to handle/flow email for the mail server that it will automatically hold mail when it cannot reach it? Does it not need to know about the domains/users, etc?

Mike
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exim4 SMTP Relay richinsc Debian 4 03-25-2008 07:36 PM
SMTP "open relay" and SMTP AUTH aikempshall Linux - Security 3 10-11-2006 08:19 AM
Smtp Relay john8675309 Linux - Networking 2 02-12-2004 12:14 AM
SMTP Relay Spamfilter troopern Linux - Networking 2 07-28-2003 01:03 AM
SMTP relay problem chuck77 Linux - General 0 06-30-2003 02:09 AM


All times are GMT -5. The time now is 11:59 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
Open Source Consulting | Domain Registration