A/UX 3.0: Configuring sendmail (10/95)


I have some problems using mail on TCP/IP with A/UX 3.0.

I can receive messages, but I can't send them. When I use "mailq" to see the messages in the queue, I see: "Deferred: Host Name Lookup Failure" for all messages I tried to send. I haven't modified the mail configuration files. I just wrote the name of the remote host on "/etc/hosts" to use on the mail command. I know the connection works fine on the host supporting A/UX because I can use Telnet, ftp, and so on.

Can you help?

As shipped, A/UX 3.0 works only with local mail. To get either UUCP or network mail working, you need to reconfigure the /usr/lib/sendmail.cf file. To use the TCP/IP-based (Ethernet) mail, you must have a nameserver running on the network.

NOTE: With A/UX 3.1 these changes are not necessary.

If a fully qualified domain name is the only form of mail address that a user on the computer will generate, modify the file /usr/lib/sendmail.conf/cf/aux.mc so that it contains your Internet domain name. Here is the line to change, as installed from the standard A/UX distribution:

define(DOMAIN, 'DDaux.apple.com')

Change aux.apple.com to your Internet domain name as specified in the /etc/resolv.conf file.

After modifying aux.mc, enter this sequence of commands to make a new sendmail configuration file:

cd /usr/lib/sendmail.conf/cf

make aux.cf

The result of the make command is a file called aux.cf. Move aux.cf to the configuration filename that sendmail uses, by entering this command:

mv aux.cf /usr/lib/sendmail.cf

Now startup sendmail by typing:

/usr/lib/sendmail -bd -q30m

The -bd option causes sendmail to run as a daemon. The -q30m option causes sendmail to process the local mail queue every 30 minutes.

Refer to the A/UX Network System Administration manual chapter on Setting Up Network Mail for further details.


Article Change History:
16 Oct 1995 - Changed title to reflect A/UX 3.0, and added A/UX 3.1.
12 Sep 1994 - Updated for A/UX 3.0.
31 Aug 1992 - Reviewed.

Support Information Services
Published Date: Feb 18, 2012