Mailscanner gateway using sendmail (are there
rulesforindividualdomains)
Randal, Phil
prandal at herefordshire.gov.uk
Mon Jan 14 12:44:03 GMT 2008
Oh, sorry.
Easily done by specifying the server to relay to in
/etc/mail/mailertable
To relay mail for mydomain.com and its subdomains to the host at
10.1.2.3 you'd have
mydomain.com [10.1.2.3]
.mydomain.com [10.1.2.3]
You need the usual stuff in /etc/mail/access to accept mail for those
domains too.
Cheers,
Phil
--
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> Of Kit Wong
> Sent: 14 January 2008 12:17
> To: MailScanner discussion
> Subject: RE: Mailscanner gateway using sendmail (are there
> rulesforindividualdomains)
>
> Might be crossed wired here. I want to be able to tell
> mailscanner/sendmail to scan all incoming but rather than put it into
> the mail box on the server is to relay it on to an ip address
> that will
> have exchange waiting. I want to be able to say which emails (domain)
> and which ip address to relay to.
>
> Thanks
>
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> Of Randal,
> Phil
> Sent: 14 January 2008 11:54
> To: MailScanner discussion
> Subject: RE: Mailscanner gateway using sendmail (are there rules
> forindividualdomains)
>
> In /etc/MailScanner/MailScanner.conf
>
> Use SpamAssassin = %rules-dir%/spamassassin.rules
>
> which would contain:
>
> From: 127.0.0.1 no
> To: example.com yes
> FromOrTo: default no
>
> This would run spamassassin on incoming mails for example.com.
>
> Similar rulesets would be needed to control MailScanner's
> filename/filetype and phishing handling.
>
> Cheers,
>
> Phil
>
> --
> Phil Randal
> Network Engineer
> Herefordshire Council
> Hereford, UK
>
> > -----Original Message-----
> > From: mailscanner-bounces at lists.mailscanner.info
> > [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> > Of Kit Wong
> > Sent: 14 January 2008 11:29
> > To: MailScanner discussion
> > Subject: Mailscanner gateway using sendmail (are there rules
> > for individualdomains)
> >
> >
> > Hi All
> >
> > I found this article
> > http://wiki.mailscanner.info/doku.php?id=documentation:configu
> > ration:mta
> > :sendmail:how_to:setup_a_gateway
> > I have sendmail and mailscanner on a bluequartz (centos 5).
> > Its working
> > great.
> >
> > I need to be able to use the excellent spam filtering ability of
> > mailscanner before mail is relayed to an exchange server on
> a fixed ip
> > address . I only want to do this for a few domains. Is it
> > possible. The
> > above article hints that it can be done, but not sure if its
> > domain name
> > specific or all mail on that server.
> >
> > Thanks in advanced
> > --
> > MailScanner mailing list
> > mailscanner at lists.mailscanner.info
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
> > Before posting, read http://wiki.mailscanner.info/posting
> >
> > Support MailScanner development - buy the book off the website!
> >
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
More information about the MailScanner
mailing list