Sendmail configuration for gateway

Mike Kercher mike at CAMAROSS.NET
Wed Sep 28 01:07:38 IST 2005


@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times
New Roman" } LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt;
FONT-FAMILY: "Times New Roman" } DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN:
0in 0in 0pt; FONT-FAMILY: "Times New Roman" } A:link { COLOR: blue;
TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: blue;
TEXT-DECORATION: underline } A:visited { COLOR: purple; TEXT-DECORATION:
underline } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION:
underline } SPAN.EmailStyle17 { COLOR: windowtext; FONT-FAMILY: Arial;
mso-style-type: personal-compose } DIV.Section1 { page: Section1 }
You should add the domain that your Exchange server accepts mail for to
/etc/mail/relay-domains and then restart MailScanner.
 
Add an entry to /etc/mail/mailertable like so:
 
yourdomain.com        esmtp:[192.168.x.x]
 
Then run make to hash the file to db
 
If your Exchange is configured to reject unknown users, your MailScanner
box should be fine.  I run milter-sender on mine which calls the Exchange
server (or any other MX) to verify the recipient prior to accepting the
message.  It also calls back to verify the sender prior to accepting a
message.
 
Mike
 

________________________________________________________________________________
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]
On Behalf Of Eric Sandquist
Sent: Tuesday, September 27, 2005 3:56 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Sendmail configuration for gateway

I’ve got MailScanner/SpamAssassin/Sendmail set up to act as a
gateway to out Exchange server.  I setup the tables as instructed
in Wiki.  However, Sendmail keeps rejecting all the incoming email
stating that the user doesn’t exist.  Well, of course they
don’t exist on filter/gateway machine.  They only exist in
the Exchange environment.  How do I get Sendmail to just accept
incoming mail for all or against a frequently updated list of
Exchange users?

 

Eric

 

When a person studies Bible and Mishnah . . . but is dishonest in
business, and does not speak gently with people, what do people say
of him? ‘Woe unto him who studies Torah. . . . This man
studied Torah; look how corrupt are his deeds, how ugly his
ways.’"
-- Babylonian Talmud, Yoma 86a

 


________________________________________________________________________________
I am using the free version of SPAMfighter for private users.
It has removed 52399 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!

------------------------ 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!


------------------------ 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