[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How close am I with getting sendmail going.
> I attempted on setting sendmail up via linuxconf.
>
> under configure basic information I did as follows:
> Present your system name: web.lacksdesign.com (no DNS but this is the
> host and domain name known by this computer)
> mailserver: corpmailserver
> Mail Gateway: here I put the ip of the gateway (router) that is between
> me the mail server
>
> I submit a form and view the contents of /var/spool/mque (something like
> that) and I see the mail be created an sent. Then root receives mail
> saying "Returned Mail: host unknown (Name Server: 192.1.1.100 hostname
> lookup fail"
>
> the 192.1.1.100 ip is the mail gateway I entered.
>
> If I do not have the mail gateway ip entered the mail just sits never
> leaves. Which reminds me is there a sendmail log file to help trouble
> shoot this?
The sendmail log is /var/log/maillog
Your box does NOT need to be running it's own DNS server, just make
sure it can resolve the names of computes you are sending mail to and
itself. Either point it to a good DNS server in /etc/resolv.conf or
enter the IP's and host names in /etc/hosts . Then check to make
sure it works by looking up the hostnames with the command "nslookup".
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------