| Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-11-2006, 09:57 AM
|
#1
|
|
Member
Registered: Jul 2003
Location: Reading
Distribution: Red Hat
Posts: 86
Rep:
|
Linux Mailing with Exchange
I currently have a registered domain, sample.com which has its MX records pointing to my Linux box. My Linux box is part of my sample.local domain which runs Exchange 2003.
When all email arrives on my Linux box I use mailertable to forward all email for sample.com over to my Exchange server, exchange.sample.local
I really want to utilise my Linux box more. I use IMF and RBL on Exchange but nothing beats (In my eyes) Spam Assasin and feel I owuld be in more control. Sure OWA is pretty and you can't deny its probably got the best functions of all web clients.
My exchange server is its own SMTP server.
Should I get all mail delivered to my Linux box where procmail can do it's thing with Spamassasin and what ever.
Then use the virtual user table to forward on email to username.sample.local.
On the Exchange side I will use my Linux Box as a smart host and get Linux to Masquerade sample.local to be sample.com
What is the normal way of acheiving this
|
|
|
|
04-11-2006, 10:17 AM
|
#2
|
|
Member
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 383
Rep:
|
On the linux side of thing, I have used postfix for the MTA, then set a transport in postfix to push the mail directed at "sample.com" to an exchange server. The exchange server still thinks it is the MX for that domain, the emails sent to it are scanned by the linux box, and everything is happy. You could even point the exchange server to the linux box as a smart host so that all email coming out of the exchange server also gets scanned by your linux box.
|
|
|
|
04-11-2006, 11:17 AM
|
#3
|
|
Member
Registered: Jul 2003
Location: Reading
Distribution: Red Hat
Posts: 86
Original Poster
Rep:
|
Any chance you could give me some pointers in doing this. I am running FC5 using sendmail as my MTA, I know I can change the /etc/alternatives to start using Postfix. Will I need to completly change my mail configuration files eg. Not use Sendmail.mc anymore and use different ones.
|
|
|
|
04-11-2006, 01:06 PM
|
#4
|
|
Member
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 383
Rep:
|
Yep. If you go to postfix, you would have to completely reconfigure your mail subsystem using the configuration files in /etc/postfix.
|
|
|
|
04-17-2006, 04:59 PM
|
#5
|
|
Member
Registered: Feb 2006
Distribution: Ubuntu/OpenSuSE
Posts: 33
Rep:
|
The Postfix Basic Configuration Guide shows how to do this:
http://www.postfix.org/BASIC_CONFIGURATION_README.html
I've done this with sendmail, but Postfix is much easier to configure.
|
|
|
|
04-17-2006, 11:14 PM
|
#6
|
|
LQ Newbie
Registered: Apr 2006
Location: Idaho, USA
Distribution: FC4, DSL2.2, RHES3,4
Posts: 1
Rep:
|
Lapthorn,
I would also, if your new to this, recommend that you download webmin. It gives you a web page to configure everything. Beats digging through text files that you might mess up the syntax.
I typically use a linux box to filter a clients email in & out going. For heavy sites (my 2 cents) use postfix, spamassassin, procmail, Rayzor or Phazor and if clients are going to login dovecot or cypress for imap and pop3 connections. We set up a honey pot server(email black hole) and it captures almost 5000 spam an hour, we then use the Rayzor database it creates, for all the real servers. Sendmail (again my 2 cents), spamassassin, procmail, Rayzor or Phazor and if clients are going to login dovecot this combo works well for smaller sites, however it allows better forwarding. It will look at a host file instead of a full fledge dns server. Postfix wants the dns.
WARNING: If you do not set it up correctly the Linux box will forward your emails without scanning them, It thinks the next server should scan them.
I have not had a Microsoft exchange server directly on the internet for more then three years. I see 18 servers on a regular basis...Last one a brand new 2003, was on the net for 3-4 hours before it was compromised. Was also running Symantec Corp. Edition, don't think much of it eather.
Favorite RBL's:
spamhaus.org
spamcop.org
Remember: The more you learn, the more you can help others.
|
|
|
|
05-02-2006, 05:27 AM
|
#7
|
|
LQ Newbie
Registered: Mar 2006
Posts: 5
Rep:
|
Do you need a guide on doing this?
Quote:
|
Originally Posted by lapthorn
Any chance you could give me some pointers in doing this. I am running FC5 using sendmail as my MTA, I know I can change the /etc/alternatives to start using Postfix. Will I need to completly change my mail configuration files eg. Not use Sendmail.mc anymore and use different ones.
|
I have done it successfully many times with Exchange 2003. I have used the Linux box as a relay with spam and AV scanning and then sent the mail over to exchange for delivery. The Exchange server used the linux box as the SMTP server also. If you need to know how to do this, let me know and I'll point you to a guide I've written.
Last edited by deeztech; 05-02-2006 at 05:28 AM.
|
|
|
|
05-02-2006, 03:15 PM
|
#8
|
|
LQ Newbie
Registered: Jul 2004
Location: Los Angeles, CA
Distribution: Fedora Core
Posts: 23
Rep:
|
deeztech: I would appreciate it if you could point me to that guide. Thanks.
|
|
|
|
05-03-2006, 11:07 AM
|
#9
|
|
LQ Newbie
Registered: Mar 2006
Posts: 5
Rep:
|
Here's the guide.
E-mail me at dinoatdeeztechdotcom and I'll send you the link. I'm unable to post links to these forums since I'm so new.
|
|
|
|
05-03-2006, 11:09 AM
|
#10
|
|
LQ Newbie
Registered: Mar 2006
Posts: 5
Rep:
|
Actually, here it is:
I guess you only need 3 posts to be able to post URLs:
Here's the link to the guide:
http://forums.theonpc.com/viewtopic.php?t=11
I'm still writing the very last part. This should get you on your way though. By the time you get to the last part, I can probably walk you through it or I may even be done with it.
|
|
|
|
05-03-2006, 11:43 AM
|
#11
|
|
LQ Newbie
Registered: Jul 2004
Location: Los Angeles, CA
Distribution: Fedora Core
Posts: 23
Rep:
|
Thanks! I'll give it a go.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:37 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|