LinuxQuestions.org
Review your favorite Linux distribution.
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 04-21-2008, 06:00 PM   #1
Beamzz
LQ Newbie
 
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
Question Sendmail as a relay gateway


Hi,

I am quite new to Linux and have a question about setting up relay rules in Sendmail:

We have an external SMTP gateway with postfix that forwards all our incoming mail to our Exchange server.
Now we have installed a Spam gateway with Mailscanner, Fedora 7 and sendmail that filters out spam before it reaches the Exchange server.
So the external gateway is now sending all incoming mails to this gateway.

All of that works fine with the relay to our Exchange server.
Now I want to activate the Watermark function in Mailscanner to get rid of all those NDR mails. To be able to do that I must relay all outgoing mail from the Exchange server through the Mailscanner-Fedora-Sendmail gateway.

So I must create a relay rule in sendmail that says: relay all mails for domain [mydomain.com] to the internal Exchange server and all other domains to our external gateway.
I have only accomplished the first part and have had no luck with the outgoing mail flow.

I'm sure the solution is easy so I hope for a quick answer!

Best Regards:
/Peter
 
Old 04-22-2008, 04:06 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Use the mailertable for your internal mail then make the external server a smarthost for the machine. YMMV
 
  


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
sendmail relay sachin1361 Linux - Enterprise 4 04-22-2008 07:32 PM
Sendmail Relay mahmoud Linux - General 1 04-02-2008 07:44 AM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 05:54 PM
sendmail relay atomicx Linux - General 2 01-04-2004 02:46 AM
Sendmail relay kurgan70 Linux - Newbie 1 03-21-2002 12:33 AM


All times are GMT -5. The time now is 01:23 PM.

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