Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Astaro Gateway Products > Mail Security: SMTP, POP3, Antispam and Antivirus

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-02-2009, 01:52 AM
Junior Member
 
Join Date: Mar 2007
Posts: 25
Default Upstream host best practices

We recently started using an upstream host to scan our E-mail for spam/viruses and then deliver them to our mail server. We're currently using Exchange 2003 with an Astaro 220 acting as the SMTP proxy/gateway. I have the mail service's IP addresses defined in the Upstream hosts section on the Astaro and am only allowing traffic from the upstream host. I'm not sure this is the best way to set things up, however...

1. Since our mail provider is now scanning everything, I'd like to lessen the load on our firewall and not have it provide spam/av scanning. If I still want the Astaro to function as a mail proxy, is it best to just exclude the upstream host's IP addresses from all scanning?

2. Would it be better to just disable the SMTP processing on the Astaro and have E-mail flow directly to/from the Exchange server? An advantage of the Astaro SMTP is the TLS setup. TLS on Exchange seems a bit more cumbersome to configure, especially if you need to allow both TLS and non-TLS traffic.

Thoughts/suggestions/advice appreciated. Thanks.
Reply With Quote
  #2 (permalink)  
Old 06-02-2009, 04:47 AM
Moderator
 
Join Date: Jul 2001
Location: southern California
Posts: 5,140
Default

If you really don't need AV & Spam scanning, I'd turn them off completely instead of adding an exception, as they'll still be using memory.

You can disable SMTP on the firewall, and create packetfilter rules, and if needed DNAT, for the SMTP traffic.
It's up to you.

Barry
__________________
http://DealBert.net
Home & business end-user since v1.x
  • ASL 6.3x, HP DL145 Dual Opteron, 1GB RAM, 6 gigE NICs, 50-IP Platinum License
  • ASL 7.3x, Dell PE1550 Dual PIII 1GHz, 1GB RAM, 2 NICs, 50-IP Platinum License
  • ASL 7.5x, 17-watt fanless mini-ITX system: MSI IM-945GSE-A Atom n270, 2GB RAM, Morex T3310 case. 2 Intel GigE, 3 VLANs. 80G 5200rpm 2.5" HD
    Netgear GS108T gigE VLAN switch & Linksys WRT54G WAP
    Total network infrastructure: 27 watts. 100-IP Home User. FiOS 10mb/2mb
Reply With Quote
  #3 (permalink)  
Old 06-02-2009, 05:55 AM
Administrator
 
Join Date: May 2008
Location: Wilmington, MA
Posts: 50
Default

I'd also recommend to do just what Barry said. If you don't need mail filtering, then shut the proxy off completely, and create a DNAT rule to forward traffic to your mail server.

In your scenario, be sure to set the source in the DNAT rule to be your upstream SMTP scanner, and not "Any".
Reply With Quote
  #4 (permalink)  
Old 06-02-2009, 06:44 AM
Junior Member
 
Join Date: Mar 2007
Posts: 25
Default

Hmmm... Any way to turn off av/spam scanning and still use the proxy? I like that TLS is already configured and working on the Astaro. Plus I like having the Astaro between the Internet and my Exchange server
Reply With Quote
  #5 (permalink)  
Old 06-02-2009, 01:25 PM
Administrator
 
Join Date: May 2008
Location: Wilmington, MA
Posts: 50
Default

You can disable all spam filtering options, and antivirus on the Astaro, but leave the proxy active. This will work. The problem with this is that the proxy will listen for connections from anywhere, not just from your upstream filter. So, if you would prefer to leave the proxy active, I would recommend leaving all filtering active, but create an exception for your upstream filter, exempting it from all checks.

This might also provide a valid backup plan, should your upstream filter ever fail. You could set a second MX with a lower priority which points to your Astaro. Then, mail will continue to arrive and be filtered even if your upstream proxy fails.
Reply With Quote
  #6 (permalink)  
Old 06-02-2009, 04:19 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,388
Default

Great suggestion, Alan, about the backup.

Cobra, the other thing you might want to understand is that the basic SMTP Proxy does not require an Email Security subscription. The subscription is necessary only for Anti-Virus, Anti-Spam and Encryption.

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
Reply With Quote
  #7 (permalink)  
Old 06-02-2009, 06:41 PM
Junior Member
 
Join Date: Mar 2007
Posts: 25
Default

Quote:
Originally Posted by AlanT View Post
You can disable all spam filtering options, and antivirus on the Astaro, but leave the proxy active. This will work. The problem with this is that the proxy will listen for connections from anywhere, not just from your upstream filter.
I thought there was an option to only allow access to the Upstream members and other authorized relay hosts.

Quote:
This might also provide a valid backup plan, should your upstream filter ever fail. You could set a second MX with a lower priority which points to your Astaro. Then, mail will continue to arrive and be filtered even if your upstream proxy fails.
I considered this, but it is an awfully expensive backup MX (maintaining the mail security subscription).

Thanks.
Reply With Quote
  #8 (permalink)  
Old 06-02-2009, 06:55 PM
Junior Member
 
Join Date: Mar 2007
Posts: 25
Default

Quote:
Originally Posted by BAlfson View Post
Great suggestion, Alan, about the backup.

Cobra, the other thing you might want to understand is that the basic SMTP Proxy does not require an Email Security subscription. The subscription is necessary only for Anti-Virus, Anti-Spam and Encryption.

Cheers - Bob
Thanks... so is it possible to use the smtp proxy and actually disable AV and SPAM scanning (as opposed to excluding hosts from scanning)?
Reply With Quote
  #9 (permalink)  
Old 06-02-2009, 07:26 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,388
Default

What I said was stronger than that: you can use the SMTP proxy even if you CAN'T enable AV and spam scanning. The SMTP and HTTP Proxies are a part of the basic Astaro license.

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
Reply With Quote
Reply

Thread Tools
Display Modes

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



All times are GMT. The time now is 11:53 AM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.