Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm getting at least 50 Viagra ads a day and it's driving me insane.

I currently have a hosted MS Exchange account and a Gmail account. My Gmail account forwards to my Exchange account. Both of my addresses are used evenly, and it has been really nice to have all of my e-mail end up in my Exchange box. I like replying from one address consistently, which is my Exchange address.

Spam sent to my Gmail address is always caught, where spam sent to my Exchange is getting passed straight through to me. I don't want to have two spam filtration systems that have quarantines that I need to check frequently for false positives.

Here is my question:

Can I setup my MX records such that all e-mail sent to my Exchange address is forwarded to my Gmail account, which will then forward it to my Exchange account? Kind of like using Gmail as the middle man.

share|improve this question

migrated from serverfault.com Nov 13 '09 at 9:38

This question came from our site for professional system and network administrators.

11  
Only 50?! Lucky you. –  Mark Henderson Nov 12 '09 at 23:44
3  
Some people just don't know when they're well off. –  John Gardeniers Nov 13 '09 at 0:36
6  
You shouldn't be taking Viagra 50 times a day. ..... Oh, wait. –  Alexander Burke Mar 17 '10 at 14:41
add comment

8 Answers

up vote 7 down vote accepted

Look into the Postini services from Google.

share|improve this answer
    
This! It works exactly as the asker posed in the summary question. You'll pay $1 per month per user, but my office is very happy with it. –  astrostl Nov 13 '09 at 0:42
    
That's good to hear because when the subscription to our current spam filter service expires we're going to seriously look at this. –  Jay Riggs Nov 13 '09 at 0:48
    
Thanks, working on a Postini implementation now - hopefully it goes smoothly. –  Kirk Nov 13 '09 at 8:04
add comment

Not exactly what you asked, but we block about 95% of spam with stock Exchange 2007 just by using the Spamhaus block list at no cost. Are you using any block lists? Can you control the blocklist in the hosted Exchange?

share|improve this answer
    
I can't - they have everything on lock down. I wish I admin'd my own Exchange... –  Kirk Nov 12 '09 at 23:53
    
But if you asked them about enabling the spam filter on the Exchange, perhaps something would happen? (on the other hand, these new viagra spams lately seems to be kinda ûber in getting through - but they'll be squashed sooner or later) –  Oskar Duveborn Nov 13 '09 at 0:19
add comment

Yes, Gmail can filter your spam if you route all your mail through it. But you will need to forward your mail a couple of times. If you prefer Gmail, then you can skip steps 2 and 3!

  1. Set all your mailboxes to forward all mail to a single target Gmail address.
    • Don't read mail in those mailboxes anymore. The target Gmail address works as your spam filter for all your above mailboxes.
  2. In that target Gmail account, set up a rule to forward everything to a new mailbox. This rule will forward everything except the caught spam, and that's exactly what you wanted.
    • This could be a new Gmail account or a new Exchange account; whatever you prefer. The address of this mailbox is irrelevant and should be kept secret.
  3. Use the new account as your only account, and set it up so that the sender and reply addresses are whatever you want your "official" address to be (regardless of the actual address of this account).
    • Only tell people your "official" address, not the address of this account.

Now, any mail to any account will be filtered by Gmail and then sent to your new account.

share|improve this answer
    
Clever, free way to utilise superb spam filtering with gmail! +1 –  ppumkin May 1 at 19:27
add comment

Yes, you can do this! Not at the DNS (MX record) level, though. Google will not accept mail addressed to your domain, so you still need your own mail server to receive it, but you can then forward it to Google - and have Google forward it back to you. The spam will not be forwarded.

See http://mboffin.com/post.aspx?id=1636 for full instructions, but essentially you just need to:

  1. Set up a GMail account to forward to your email address.
  2. Set up a server-side forward rule in Exchange (or Outlook) to forward to GMail unless it was forwarded from GMail to begin with (to avoid an infinite loop).
share|improve this answer
add comment

Doesn't work. However, look at mailfoundry.com. You can setup an account and filter up to 10 email addresses for free. I've been using them for 4 years now and I've never had a problem or complaint with their filtering.

share|improve this answer
    
I may try these guys... –  Kirk Nov 12 '09 at 23:54
add comment

The question probably belongs on SuperUser, but...

How are you accessing you Exchange email? If you're using Outlook, you could use one of the spam filtering plug-ins for that. If you're using web access, you're stuck with whatever the hosting provider is doing (or not doing).

If you wanted all your mail to go through Gmail, you'd have to use that as your primary address, forward all the messages from there to your Exchange account, and have a Reply-To address set on your Exchange mailbox that's your Gmail address.

Edit: your comments make it sound like this hosted service is used for your company. If so, isn't there any pressure you can exert on the vendor to add spam-filtering?

share|improve this answer
    
Unfortunately a lot of people are already using my Exchange address. I guess I could create another Exchange account and have my current one forward to Gmail and then back to the other one... –  Kirk Nov 12 '09 at 23:35
    
If it's to do with MX and Mail Forwarding, SF is the correct place for it –  Mark Henderson Nov 12 '09 at 23:45
add comment

You can try ASSP http://assp.sourceforge.net , install on vps or dedicated server and point your MX to assp. Assp will forward your email to hosted MS Exchange.

share|improve this answer
add comment

You can check out SAFENTRIX. Has both Free (Standard) and paid edition and is as maintenance free as anything can be.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.