Mailscanner gateway using sendmail (are there rules forindividualdomains)

Kit Wong Kit at simplysites.co.uk
Mon Jan 14 12:17:11 GMT 2008


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! 


More information about the MailScanner mailing list