Sendmail not relaying
Ken Goods
KGoods at AIAInsurance.com
Wed Jan 18 19:41:43 GMT 2006
Lance Haig wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Guys I have hit a snag.
>
> I have configured a new set of domains and have configured the
> mailertable
> relay-domains
>
> I have added the domains to the access file
> domain RELAY
>
> and the sending IP of the mailserver
> ipaddress RELAY
>
> When I try to send a mail to a domain outside the Mailscanner machine
> it says relaying denied.
>
> I have tried this command on the access file
>
> makemap hash /etc/mail/access < /etc/mail/access
>
> but is still does not want to allow the mailserver to relay e-mail.
>
> What am I missing guys
>
> I am using sendmail
>
> Thanks
>
> Lance
Lance,
I'm by no means a sendmail expert but thought I'd take a quick look at my
config for you.
In my access file I have:
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
Then in my mailertable I have:
.domain1.com smtp:xxx.xxx.xxx.xxx
.domain2.com smtp:xxx.xxx.xxx.xxx
.domain3.com smtp:xxx.xxx.xxx.xxx
.domain4.com smtp:xxx.xxx.xxx.xxx
Then in my relay-domains I have:
domain1.com
domain2.com
domain3.com
domain4.com
I also have in my virtuser-domain:
domain1.com
domain2.com
domain3.com
domain4.com
although I don't know if this is absolutly necessary...
This works fine for me as I'm only using the MailScanner box to filter for
domains hosted on our exchange server.
Hope this helps...
Ken Goods
Network Administrator
AIA/CropUSA Insurance, Inc.
More information about the MailScanner
mailing list