MailScanenr based relay server

Jamey Nelson jamey at teamlightning.com
Fri Apr 23 13:29:08 IST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Ronnie,

        I'm not much of a hockey fan myself, so I don't think we'll have any 
problems. :)

        Now, let me get to you questions. You would need to point the primary MX 
record to the new ip, which ensim originally created as mail.example.com . 
Once the mail starts arriving, you will have to have the domains in the 
relay.allow (or relay-domains) file, and also in the mailertable. The 
relay-domains (relay.allow) tells the mail server to allow mail from those 
domains to be sent through your mail server.

The mailertable file then tells the mailserver that mail for those domains 
need to be forwarded to the mail server that you put in brackets.  

So your relay-domains (or relay.allow) need to have a line like this:

example.com

Then your mailertable needs a line like this:

example.com             smtp:[mail.example.com]

If you do not have the domain in the relay-domains (or relay.allow) file, your 
mail server will reject the mail with a relaying denied error.

- --Jamey


(P.S. I have an ensim 3.7 box, which is where I got the information that it 
created the primary mx as mail.example.com )





On Wednesday 21 April 2004 16:20, you wrote:
> Jamey,
> Your offer to help is very much appreciated.
> The only problem we might encounter is that im from Montréal, and a huge
> canadiens fan, and seeing as how the canadiens are about to start beating
> the lightning....  :)
>
> Back to the topic at hand. I am going to start working on setting up 7.3
> with the latest version of mailscanner.
> using example.com as my example domain,
> In order to have mail routed to the new spam filtering server, I would
> change the A record for mail.example.com to point to the new IP?
> Once mail is filtered, which function, or process would know to transfer
> the mail to the original server? As much detail as possible please.
> As I go along, ill post my results and questions.
> Thanks again.
>
> Ronnie
>
>
> -----Original Message-----
> From: Jamey Nelson [mailto:jamey at teamlightning.com]
> Sent: Wednesday, April 21, 2004 3:08 PM
> To: ronnie at daslweb.com
> Subject: Re: MailScanenr based relay server
>
> Ronnie,
>
>         I'd be interesting in helping you get this setup if you'd like. My
> suggestion
> is to install redhat 7.3, get MailScanner working with sendmail. Once you
> get
> this working, you need to add your domains to the relay.allow file, then in
> your mailertable you need to make entries like this, I'm using example.com
> for example hosted domain, and yourserver.com as your ensim server:
>
>
> example.com             smtp:[mail.yourserver.com]
>
>
> These entries have to be duplicated for each of the ~170 domains .
>
> After this, run make and restart MailScanner.
>
> I know this is not even close to being clear, so write back your questions.
>
>
>
> --Jamey
>
> On Wednesday 21 April 2004 14:41, you wrote:
> > Primary server.
> > As per secondary, I have available to me a P3 GHZ, 1GB SDRAM, same hard
> > drive setup.
> > Software wise, ideally I would like to stick with red hat 7.3, using
> > sendmail. Exact version don't matter to me.
> >
> > Thanks.
> >
> > Ronnie
> >
> > -----Original Message-----
> > From: Jamey Nelson [mailto:jamey at teamlightning.com]
> > Sent: Wednesday, April 21, 2004 2:39 PM
> > To: ronnie at daslweb.com
> > Subject: Re: MailScanenr based relay server
> >
> > Ronnie,
> >
> >       Is this the specs of the secondary server that you want to use, or
> > of the
> > primary server you want to offload the mail from?
> >
> >
> > --Jamey
> >
> > On Wednesday 21 April 2004 14:29, you wrote:
> > > Thanks for the reply,
> > > Here is my scenario:
> > >
> > > I am running Ensim Webpplaince Pro 3.5.20-9 on red hat 7.3, Sendmail v
> > > 8.11.6, mailscanner 4.14, ClamAV 0.54, SpmAssassin 2.53 on a P4 1.8, 1
>
> GB
>
> > > DDR, IDE hardware raid1 w/ 2x 80gb 7200 rpm hd.
> > >
> > > I am hosting 170 sites, with 52 MySQL database driven websites, the
> > > rest are static html.
> > > This server has an average daily mail load of 10000 messages, 52% of
> > > which is SPAM, another 3% are viruses
> > >
> > > I would like to stay within red hat 7.3 if possible, as im most
> > > familiar with that. As per my Linux experience, I can get by, and I
> > > have some
>
> good
>
> > > friends.
> > >
> > > Im looking forward to getting some more info, as this could be an
> > > interesting and very effective solution.
> > > Let me know what else to fill.
> > > Thanks.
> > >
> > > Ronnie Regev
> > > System Administrator
> > > Microsoft Certified Professional MCP
> > > Daslweb Inc.
> > > 514-874-9809
> > > ronnie at daslweb.com
> > >
> > > -----Original Message-----
> > > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> > > Behalf Of Peter Bonivart
> > > Sent: Wednesday, April 21, 2004 1:36 PM
> > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > Subject: Re: [MAILSCANNER] MailScanenr based relay server
> > >
> > > Ronnie Regev wrote:
> > > > Hi,
> > > > I am interested in setting up a mail relay server to act as a spam
> > >
> > > filtering
> > >
> > > > only mail server.
> > > > My goal is to offload MailScanner from my mail server, set it up on a
> > > > secondary server, which will scan all incoming messages, filter out
>
> the
>
> > > junk
> > >
> > > > and viruses, and forward the proper messages to my real mail server.
> > > > I have found this document,
> > > > http://www.geocities.com/scottlhenderson/spamfilter.html, which uses
> > > > Postfix, and only spmassassin.
> > > > Does anybody know of any documentation or howto's on this subject.
> > > > Perhaps some advice.
> > >
> > > Depends on what OS and MTA you like. The most common combo here is
> > > probably Red Hat/Fedora and Sendmail. Depending on your Unix experience
> > > it might be of importance to have many friends. ;-)
> > >
> > > Give us a little more info on what hardware and software you want to
> > > use and an estimation of how many mail you will process a day and we
> > > can guide you better from there.
> > >
> > > --
> > > /Peter Bonivart
> > >
> > > --Unix lovers do it in the Sun
> > >
> > > Sun Fire V210, Solaris 9, Sendmail 8.12.10, MailScanner 4.29.7,
> > > SpamAssassin 2.63 + DCC 1.2.39, ClamAV 0.70 + GMP 4.1.2, Vispan 1.3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAiQwUNDti7INSJikRAtF6AJ4tUlIQP+uXC/bL452VilLqlN2qaACgl4dO
Xc3VYg04Hx/D4cVkqumPSa8=
=Tg18
-----END PGP SIGNATURE-----

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
For further info about MailScanner, please see the Most Asked
Questions at    http://www.mailscanner.biz/maq/     and the archives
at    http://www.jiscmail.ac.uk/lists/mailscanner.html




More information about the MailScanner mailing list