/etc/resolv.conf and sendmail

Gene Heskett gene.heskett at verizon.net
Wed Jul 14 16:46:00 UTC 2004


On Wednesday 14 July 2004 07:13, Philippe wrote:
>On Tue, 2004-07-13 at 20:20, Alexander Dalloz wrote:
>
>Hi Alexander,
>
>> To check what's going on the first look has to go into the
>> /var/log/maillog. It may be helpful to increase the log level to a
>> higher level by putting
>>
>> define(`confLOG_LEVEL', `15')dnl
>
>Here we are.
>
>After reboot, I sent one mail -> queued. I am already connected to
>Internet and can browse the web without any problem.
>====================================================================
>=== [root at P4 log]# tail -f maillog (during the boot)
>
>Jul 14 17:57:47 P4 sendmail[2027]: alias database /etc/aliases
> rebuilt by root
>
>Jul 14 17:57:47 P4 sendmail[2027]: /etc/aliases: 69 aliases, longest
> 10 bytes, 679 bytes total
>
>Jul 14 17:57:48 P4 sendmail[2032]: starting daemon (8.12.11):
>SMTP+queueing at 00:05:00
>
>Jul 14 17:57:48 P4 sendmail[2032]: STARTTLS=server: file
>/etc/mail/certs/cert.pem unsafe: No such file or directory
>
>Jul 14 17:57:48 P4 sm-msp-queue[2041]: starting daemon (8.12.11):
>queueing at 00:05:00
>
>Jul 14 17:58:07 P4 spamd[2053]: server started on port 783/tcp
> (running version 2.63)
>
>==> My first mail , queued.
>
>Jul 14 18:00:45 P4 sendmail[2857]: i6EB0ihR002857:
>from=<phd2 at fcomfrench.com>, size=483, class=0, nrcpts=1,
>msgid=<1089802844.2842.0.camel at P4.AAA>, proto=ESMTP, daemon=MTA,
>relay=localhost.localdomain [127.0.0.1]
>
>Jul 14 18:00:45 P4 sendmail[2857]: i6EB0ihR002857:
>to=<phd2 at fcomfrench.com>, delay=00:00:00, mailer=esmtp, pri=30483,
>dsn=4.4.3, stat=queued
>
>> mailq -v
>
>====================================================================
>=== [root at P4 root]# mailq -v
>                /var/spool/mqueue (1 request)
>-----Q-ID----- --Size-- -Priority- ---Q-Time---
>--------Sender/Recipient--------i6EB0ihR002857      150     210483
> Jul 14 18:00 <phd2 at fcomfrench.com>
>                 (host map: lookup (fcomfrench.com): deferred)
>                                               
> <phd2 at fcomfrench.com> Total requests: 1
>====================================================================
>===
>
>[root at P4 root]# cat /etc/resolv.conf
>search AAA
>nameserver 203.146.237.237
>nameserver 203.146.237.222
>====================================================================
>=== [root at P4 root]# cat /etc/hosts
># Do not remove the following line, or various programs
># that require network functionality will fail.
>192.168.0.1     P4.AAA  P4
>127.0.0.1       localhost.localdomain   localhost
>====================================================================

And you *still* do not have "AAA" setup as an alias in your hosts 
file.
You have an alias P4, but thats _not_ AAA.

That line should look like this:
192.168.0.1	P4.AAA  P4  AAA

Whats so hard to understand about that?

>=== I will now wait more that one hour to see if something happen
> during the flush.
>
>Thanks a lot,
>
>Philippe
>--
>Philippe, Chiangmai, Thailand

-- 
Cheers, Gene
There are 4 boxes to be used in defense of liberty. 
Soap, ballot, jury, and ammo.
Please use in that order, starting now.  -Ed Howdershelt, Author
Additions to this message made by Gene Heskett are Copyright 2004, 
Maurice E. Heskett, all rights reserved.





More information about the users mailing list