LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2005, 03:07 PM   #1
cth3
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
Question Sendmail Gateway for MailScanner and exchange


Hello Everyone

I have been trying to setup MailScanner and SendMail on my Fedora Box and have all incoming mail be scanned and delivered to my Exchange Box.

If someone can please walk me through step by step I would be very grateful.

I am using a Fedora Core 1 Linux box with MailScanner, SpamAssassin and ClamAV. I was trying to setup sendmail to act as a gateway/relay.

I would like to scan and clean the messages and then send them to my exchange box.

Both have Public IPs. We have an MX record setup through our ISP.

domain.com

Linux Box: IP 216.x.x.136

Exchange Box: IP 216.x.x.130

I have tried many times with no luck - basically it looks like the Linux box is not receiving/accepting the mail. It delivers local mail (root@localhost)

I believe the MX record is ok, because we have a surfcontrol box on the .136 address that I want to replace with the Linux box. I turn off the surfcontrol and turn on my Linux but get nothing.

Thanks in advance for any help.

Toby
CTH3 Solutions
cth3solutions.com
 
Old 03-30-2005, 10:39 AM   #2
cth3
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I am even willing to go one step more and offer a years of web hosting for anyone who helps me get this working.
 
Old 04-12-2005, 08:01 AM   #3
desmo
LQ Newbie
 
Registered: Apr 2005
Distribution: WhiteBoxLinux
Posts: 4

Rep: Reputation: 0
Still in trouble?

Hi, I have a similar setup and things work, so maybe I can try to help.
Are you using the mailertable to redirect messages to exchange?
Can you explain more in details what you've done and the errors you get?

Cheers
Simone
 
Old 05-13-2005, 06:50 PM   #4
kukempo
LQ Newbie
 
Registered: May 2005
Distribution: Fedora Core 3
Posts: 3

Rep: Reputation: 0
I have just gotten finished setting up a similar relay using fedora core 3, spamassassin, and postfix.
I'm still very much a neophyte, but if your interested I'll try walking you through what I did.

Email -> spamassassin -> exchange 5.5
 
Old 05-24-2005, 01:53 PM   #5
kukempo
LQ Newbie
 
Registered: May 2005
Distribution: Fedora Core 3
Posts: 3

Rep: Reputation: 0
Someone had emailed me concerning my setup, In case others may find it useful, I'll post my reply here. I'd be happy to accept any criticisms and pass on any recommendations. I donít claim my setup is the best or most efficient, just what worked for me.

I'm taking this in stages. the first step was to get the OS up and going.

Kukempo.
--------------------
HI, I'll try to hit the high points with you.
Please note that I am by no means a Linux Expert. (In fact I'd be considered closer to a newbie).

First you'll need a spare PC and the 3 ISO images for Fedora Core 3.

I'm not sure of your background in Linux so initially I'd recommend a graphical setup.

Go ahead and install FC3 on the PC and select the following components.
X Window System
(under extra packages, I'd recommend:
Redhat Graphical Boot
Usermode-gtk
Firstboot
Openssh-askpass
System-config-packages
System-config-services
System-config-network
Openssh-askpass-gnome
Xterm
Vnc-server (useful for remote admin)
System-config-users
System-config-date
gdm
The GNOME desktop environment.
Extras:
Gedit
File-roller
Vino (might not be needed)
Graphical Internet
Firefox

Server Configuration tools
System-switch-mail
System-switch-mail-gnome

Mail Server
Postfix
Spamassassin

Network Servers
Vnc-Servers (not sure why it is listed two different places) System Administration Tools
(Heck, install them all)


Go ahead and install these packages and get your system up and running. (Will take an hour or so) Write down the root password and keep it safe.

Once the system is up and running, go into the network tools and set a static IP address to something on your local inside network (on same network as your exchange server)

When this is all correct your box should be on the internet. Test this by using firefox to browse a few websites.

Update all the software (open up a terminal and type: yum update

This is going to take a while. Eventually the kernel will update requiring a restart or three.

After any required restarts, keep doing: yum update, until no more updates are forthcoming. You should have seen spamassassin get updated to latest code 3.03


That is a bit much for now... email me back when you are at this step and I'll show you how to configure postfix to act like a mail relay into your inside domain.
 
Old 05-10-2016, 10:46 PM   #6
wii_key2
LQ Newbie
 
Registered: May 2016
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by kukempo View Post
Someone had emailed me concerning my setup, In case others may find it useful, I'll post my reply here. I'd be happy to accept any criticisms and pass on any recommendations. I donít claim my setup is the best or most efficient, just what worked for me.

I'm taking this in stages. the first step was to get the OS up and going.

Kukempo.
--------------------
HI, I'll try to hit the high points with you.
Please note that I am by no means a Linux Expert. (In fact I'd be considered closer to a newbie).

First you'll need a spare PC and the 3 ISO images for Fedora Core 3.

I'm not sure of your background in Linux so initially I'd recommend a graphical setup.

Go ahead and install FC3 on the PC and select the following components.
X Window System
(under extra packages, I'd recommend:
Redhat Graphical Boot
Usermode-gtk
Firstboot
Openssh-askpass
System-config-packages
System-config-services
System-config-network
Openssh-askpass-gnome
Xterm
Vnc-server (useful for remote admin)
System-config-users
System-config-date
gdm
The GNOME desktop environment.
Extras:
Gedit
File-roller
Vino (might not be needed)
Graphical Internet
Firefox

Server Configuration tools
System-switch-mail
System-switch-mail-gnome

Mail Server
Postfix
Spamassassin

Network Servers
Vnc-Servers (not sure why it is listed two different places) System Administration Tools
(Heck, install them all)


Go ahead and install these packages and get your system up and running. (Will take an hour or so) Write down the root password and keep it safe.

Once the system is up and running, go into the network tools and set a static IP address to something on your local inside network (on same network as your exchange server)

When this is all correct your box should be on the internet. Test this by using firefox to browse a few websites.

Update all the software (open up a terminal and type: yum update

This is going to take a while. Eventually the kernel will update requiring a restart or three.

After any required restarts, keep doing: yum update, until no more updates are forthcoming. You should have seen spamassassin get updated to latest code 3.03


That is a bit much for now... email me back when you are at this step and I'll show you how to configure postfix to act like a mail relay into your inside domain.
Iknow it is an old thread.
I'm completely new to Linux and want to setup SPAMASSASSIN for a charity organisation and needs the rest of the instructions to complete install in one go over the weeemd.
Thnaks in advance
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mailscanner, anomy, sendmail joseph Linux - Networking 2 08-29-2004 09:56 PM
Mailscanner & sendmail in RH9.0 teanine Linux - Software 0 06-03-2004 03:10 AM
spam assassin gateway to exchange server his2use Linux - Networking 0 04-13-2004 04:21 PM
exchange to sendmail shabandri Linux - Software 0 02-19-2004 02:36 AM
sendmail and mailscanner kudos Linux - Software 0 11-24-2003 03:44 PM


All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration