Linux - EnterpriseThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.