[EMAIL PROTECTED] wrote:

> The error message I got before trying to send mail was something like
> "response from server: we do not route email" ... I found a little remark
> about /etc/hosts having to first list 'host.net.work' before the 'host' for
> the local IP address (i.e. '192.168.1.1     host.net.work   host). This also
> caused Pine to give a message about not being able to determine the network
> name or something. Having modified this, Pine stopped complaining, and I was
> able to send from the Win98 to '[EMAIL PROTECTED]'. 
> 
> However, I still am unable to send a message from the Win98 client to
> '[EMAIL PROTECTED]', only to '[EMAIL PROTECTED]'. Sendmail SMTP still returns
> the message about not relaying messages. I presume I will need to modify
> some sendmail script(s). The mail server also runs named, and has itself
> mentioned as primary Mail eXchanger (MX field) for 'net.work'. Of course I
> will want to be able to store incoming mail from the network to be send at a
> later time when connected to the internet (I currently do not have the
> domain registered, but intend to do so in the near future.) Of course I want
> local email to be send to '[EMAIL PROTECTED]' too instead of just
> '[EMAIL PROTECTED]'. I presume it wouldnt be right to put '192.168.1.1
> net.work   host.net.work    host' into /etc/hosts, because I think that
> causes the server to called 'net' on domain '.work' which isnt quite right I
> think. 
> 
> I guess I can find documentation on this, but if you could give me some
> pointers, I would greatly appreciate it. 

If you're using RedHat's sendmail.cf file, either add the IP addresses
(or just the network part) of any hosts which are allowed to use it as
a relay to /etc/mail/ip-allow, or add the hostnames (or just the
domain part) to /etc/mail/name-allow.

For the stock sendmail 8.9.* sendmail.cf, add either to the file
/etc/mail/relay-domains.

In either case, using hostnames instead of IP addresses requires that
both forward and reverse DNS are configured correctly.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to