mailscanner as mailgateway

Kevin Miller Kevin_Miller at CI.JUNEAU.AK.US
Fri Jun 10 20:24:10 IST 2005


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Bjørn-Sverre Nøttum wrote:
> Hallo!
> 
> I want to use mailscanner as my mailgateway. Is it possible to follow
> the setup in the genral documentation? Or does this only apply if you
> have everything on the same box.
> 
> I guess there are some challenges if/ when you have to run to
> instances of sendmail for instance. I have been reading quite a lot
> of the documentatin, but have not been able to find anything specific
> on this, and I do not want to start something which is not possible
> to achieve. 
> 
> What I want the mailgateway to do is the traditional: Recive mail,
> scan it for viruses an spam and then dump it off to the actual
> mailserver (should apply for both incoming an outgoing mail ofcourse).
> 
> I already have a functioning mailserver with squirrel an some other
> stuff. This is working well and I do not want to put anything more
> into this box. 
> 
> Hoetos and hint will be highly appreciated!

That's easily done w/MailScanner.  I use sendmail here.  In
/etc/mail/mailertable just put something like the following:

  mydomain.com		esmtp:[192.168.1.25]
  myotherdomain.com	esmtp:[192.168.1.25]
  tabs go here-----^^^^

Add any domains you want to receive mail for, and the address of the
internal mail server that you want to send them to.

and in /etc/mail/relay-domains put any domain you're relaying for such as:

  mydomain.com
  myotherdomain.com

You'll probably need to edit the access file to allow relaying from internal
machines outbound.  It's well documented...

...Kevin
-- 
Kevin Miller                Registered Linux User No: 307357
CBJ MIS Dept.               Network Systems Admin., Mail Admin.
155 South Seward Street     ph: (907) 586-0242
Juneau, Alaska 99801        fax: (907 586-4500

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list