Don't have enough information.  The SMTP output below seems to be indicating
a non-localhost.  Wouldn't you want to add miswebdesign.com to the access
file?  Also, do you have an /etc/mail/access.db file?  If not you should
use the makemap command to create one.
    #  sudo makemap hash /etc/mail/access.db < /etc/mail/access
is the most common example.

If your machine is acting as mailserver for more than one virtual domain,
you might want to add 
     miswebdesign.com
to that file.  That's all I can think of.

One other thing, another poster mentioned /etc/hosts.  Sendmail ignores
/etc/hosts.  Only uses DNS.
   === Al

--- Nigel Peck - MIS Web Design <[EMAIL PROTECTED]> wrote:
> Can someone tell me why sendmail won't relay from localhost?
> 
> access file:
> 
> # Check the /usr/share/doc/sendmail/README.cf file for a description
> # of the format of this file. (search for access_db in that file)
> # The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
> # package.
> #
> # by default we allow relaying from localhost...
> localhost.localdomain           RELAY
> localhost                       RELAY
> 127.0.0.1                       RELAY
> 
> # by default we allow relaying from localhost...
> 
> It doesn't:
> 
> [EMAIL PROTECTED] mail]# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 kili.example.com ESMTP Sendmail 8.11.6/8.11.6; Thu, 13 Mar 2003 21:31:44
> GMT
> helo localhost
> 250 kili.example.com Hello localhost [127.0.0.1], pleased to meet you
> mail from: [EMAIL PROTECTED]
> 250 2.1.0 [EMAIL PROTECTED] Sender ok
> rcpt to: [EMAIL PROTECTED]
> 550 5.7.1 [EMAIL PROTECTED] Relaying denied
> 
> Any ideas?
> 
> Thanks
> Nigel
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to