thanks for replying me.
I think I've semi-fixed this problem, I didn't know adding a domain to
local-host-names allows that host to relay, and I didn't know I had to
restart sendmail, unlike access.db
Now I've got another problem, I want to receive mail to a host but I
don't want that host to be able to relay.
The host is the backup mail server which forwards all it's mail to the
main mail server. In the main mail server I want to receive any
messages sent to the backup server but not relay any messages from the
backup server.
> > I've got my sendmail setup in access.db so that it allows sending
> > when I try to send mail to...
> > ...it gets rejected, good.
> > but when I send email to....
> > ...it seems to work, bad.
> What do you mean by "...it seems to work"?
> > how I can stop this? Or can someone explain to me why it's happening?
> > I just using the default macros that came with 8.12.1
> They reject such a relaying attempt.
> Please provide more details, either post logfile
> entries that show a relayed mail or run the debug
> tests as explained at
> http://www.sendmail.org/~ca/email/chk-dbg.html