[rhn-users] Re: rhn-users Digest, Vol 12, Issue 25

winai.p at cpf.co.th winai.p at cpf.co.th
Fri Feb 18 05:08:54 UTC 2005


Hello Ted,
Thank you for your response .
But my problem about sendmail is, I can't send mail by used cpmail01( 
cpmail01 is my smtp server) because sendmail try to use localhost as smtp 
server. I don't know why sendmail try to use localhost as smtp server , I 
config "define(`SMART_HOST',`cpmail01') " in sendmail.mc already.

Winai.

Date: Thu, 17 Feb 2005 17:31:56 +0700
From: winai.p at cpf.co.th
Subject: [rhn-users] sendmail problem, can't send to external email
account
To: rhn-users at redhat.com
Message-ID:
<OFB82FBDD2.3C94DEAC-ON47256FAB.0039256E-47256FAB.0039DB02 at cpf.co.th>
Content-Type: text/plain; charset="us-ascii"

Dear all,

Please help me,

I have problem about sendmail. I can't send to external email account when
i used command following

[oracle] $cat logbackup.log | /usr/sbin/sendmail -v winai.p at cpf.co.th

result is : WARNING: local host name (dbora-swt01) is not qualified; fix
$j in config file
winai.p at cpf.co.th... Deferred: Name server: cpmail01: host name
lookup failure

I'm using cpmail01 as smtp server.
I'm already add "cpmail01" to my hosts file and i don't set DNS server

I can ping cpmail01 and I can sendmail to this account by telnet with port
25 to cpmail01 .

I don't sure to config sendmail.mc.

Thanks in advance.

Winai.


Date: Thu, 17 Feb 2005 03:01:44 -0800
From: Ted Pennings <ted at hostleft.com>
Subject: Re: [rhn-users] sendmail problem, can't send to external
email account
To: Red Hat Network Users List <rhn-users at redhat.com>
Message-ID: <8e1242d934924c7e6bc318246cc9d9b0 at hostleft.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed

I would try specifying a FQDN for the box or specifying a sender name
in the command, for the From header. This could be the breakpoint for
sendmail.

Try this:
[oracle] $cat logbackup.log | /usr/sbin/sendmail -f you at example.com -v
winai.p at cpf.co.th

-Ted

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20050218/3186b837/attachment.htm>


More information about the rhn-users mailing list