Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th June 2008, 11:26
alfonz.senki alfonz.senki is offline
Junior Member
 
Join Date: Jun 2008
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default Ubuntu 8.04 Spamsnake mail gateway and SBS MS Exchange 200x

Thanx the nice howto.

my question is:

Exchange server (momently SBS 2003) need extra settings, or another smtp
specific configuration? Mean i: smarthost settings etc.

How can i get distribution and user email addresses together from AD?

Trully:
Alfonz

by the way the getadsmtp.pl from SBS 2003:

$hqbase="OU=SBSUsers,OU=Users,OU=MyBusiness,dc=dom ainname,dc=local"; #ONLY SBS USERS WITHOUT DISTRO
$hqbase="OU=DOMAINNAME,OU=LOCAL"; #ALL SBS MAIL WITH DISTRO

Last edited by alfonz.senki; 29th June 2008 at 15:28.
Reply With Quote
Sponsored Links
  #2  
Old 26th June 2008, 09:48
alfonz.senki alfonz.senki is offline
Junior Member
 
Join Date: Jun 2008
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Lightbulb to Faint-hearted

Here is the deal:

Quote:
"
from Rocky

Alfonz,

You can use the script I provided in the guide to pull email addresses out of exchange. This will pull all of the email addresses out, so a distro list shouldn't matter. The reason to pull the emails out is to allow the Spamsnake to recognize which email addresses are valid. The Spamsnake will only accept the valid email, rejecting the others.

You really don't need to do anything to your exchange other than tell it to accept mails from the Spamsnake. If you'd like the Spamsnake to be your outgoing mail gateway, then you'd have to use it as a smarthost in your exchange.

Be aware that you have to make sure you have the proper DNS entries for your Spamsnake.

Rocky"

Last edited by alfonz.senki; 29th June 2008 at 14:45.
Reply With Quote
  #3  
Old 29th June 2008, 14:26
alfonz.senki alfonz.senki is offline
Junior Member
 
Join Date: Jun 2008
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
 
Default if use exchange mail FQDN mail server before spamsnake

If you use your exchange server 25 port directly (who doing this.. except me till today (IMF and his buddy IMFcomanion)), and you wanna put your Spamsnake gateway in your network between exchange, need this settings:

port forward 25 tcp port to your Spamsnake...
Exchange relay access Spamsnake

1.) Change the exchange -> Servers -> SMTP -> Default SMTP Virtual Server
- Properties
-> delivery -> advanced

2.) Change fully-qualified-domain-name to different a real FQDN mail name - its owned by SpamSnake right now -
(mail.domain.ltd) to (ADname or something else)

- optional: you can set smarthost here...

3.) restart smtp

4.) Verify smtp name:
telnet localhost 25

220 (new name) Microsoft ESMTP MAIL Service, Version: 6.0.xxxx.xxxx ready at ...time...

... from postfix you won't get "greeted me with my own hostname" error message.

Real admins never put out exchange port directly the net ...(im not a prof admin, please correct/validate me, if i typed wrong/correct tip here)... but
trivial, maybe useful for somebody.

A beginner:

Alfonz

to learn, to learn, to learn - Lenin

Last edited by alfonz.senki; 29th June 2008 at 15:33.
Reply With Quote
The Following User Says Thank You to alfonz.senki For This Useful Post:
falko (30th June 2008)
Reply

Bookmarks

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

Forum Jump


All times are GMT +2. The time now is 04:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.