Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Sendmail relay configuration - RHEL 3.0

Sendmail relay configuration - RHEL 3.0

2005-04-18       - By IECISA.Ortega Gonzalez, Carlos

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hi.



I need to send mail from a linux machine to a remote mail server. I've
managed to send an email by means of a telnet to port 25 of the mailhost,
but so far I haven't been able to properly configure sendmail, so that it
relays the emails to the mailhost.



Here is the output of the mail command:



[root@(protected) mail]# mail -v -s Test iecisa.cortegag@(protected)

Test

.

Cc:

iberia.es: Name server timeout

iecisa.cortegag@(protected) Transient parse error -- message queued for
future delivery

iecisa.cortegag@(protected) queued



It seems that the domain iberia.es can't be resolved, and the message does
not leave the local machine.



I've read some information about configuring sendmail, and have tried
adding:



define(`SMART_HOST',`mailhost')



in the /etc/mail/sendmail.mc file (mailhost is properly defined in the
/etc/hosts file). I've used the m4 macro to generate a new sendmail.cf file,
and have restarted sendmail. I keep getting the same error.



Can anybody help me?



Thanks in advance.



Carlos Ortega Gonz?lez

 Iberia Sistemas

 DS/SP/Unidad Prod. Ordenadores

 email: HYPERLINK
"mailto:iecisa.cortegag@(protected)"iecisa.cortegag@(protected)

 Extensi?n: 4691




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 18/04/2005


-- ---- ---- ---- ---- ---- ---- ---- ---- ---
Has decidido el mejor precio.  Has decidido IBERIA.com
You?ve chosen the best price. You?ve chosen  IBERIA.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---
http://www.iberia.com


<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
  {margin:0cm;
  margin-bottom:.0001pt;
  font-size:12.0pt;
  font-family:"Times New Roman";}
a:link, span.MsoHyperlink
  {color:blue;
  text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
  {color:purple;
  text-decoration:underline;}
span.EstiloCorreo17
  {font-family:Arial;
  color:windowtext;}
@(protected) Section1
  {size:595.3pt 841.9pt;
  margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
  {page:Section1;}
-->
</style>

</head>

<body lang=ES link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I need to send mail from a linux machine to a remote
mail server. I've managed to send an email by means of a telnet to port
25 of the mailhost, but so far I haven't been able to properly configure
sendmail, so that it relays the emails to the mailhost.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Here is the output of the mail command:</span></font>
</p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-indent:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>[root@(protected) mail]# mail
-v -s Test iecisa.cortegag@(protected)</span></font></p>

<p class=MsoNormal style='text-indent:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Test</span></font></p>

<p class=MsoNormal style='text-indent:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>.</span></font></p>

<p class=MsoNormal style='text-indent:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Cc:</span></font></p>

<p class=MsoNormal style='text-indent:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>iberia.es: Name server
timeout</span></font></p>

<p class=MsoNormal style='text-indent:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>iecisa.cortegag@(protected) </span>
</font><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'
>Transient
parse error -- message queued for future delivery</span></font></p>

<p class=MsoNormal style='text-indent:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>iecisa.cortegag@(protected)
...
queued</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>It seems that the domain iberia.es can't be
resolved, and the message does not leave the local machine.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I've read some information about configuring
sendmail, and have tried adding:</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-indent:35.4pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>define(`SMART_HOST',
`mailhost')</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>in the /etc/mail/sendmail.mc file (mailhost is
properly defined in the /etc/hosts file). I've used the m4 macro to
generate a new sendmail.cf file, and have restarted sendmail. I keep getting
the same error.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Can anybody help me?</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Thanks in advance.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><strong><b><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Carlos Ortega Gonz??lez</span></font></b></strong></p>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>&nbsp; Iberia Sistemas</span></font></p>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>&nbsp;&nbsp;DS/SP/Unidad Prod. Ordenadores</span></font></p>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>&nbsp; email: <a href="mailto:iecisa.cortegag@(protected)">iecisa
.cortegag@(protected)</a>
</span></font></p>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>&nbsp; Extensi??n: 4691</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>
<BR>

<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Anti-Virus.<BR>
Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 18/04/2005<BR>
</FONT> </P>
<BR>

<P><B><FONT SIZE=2 FACE="Arial">-- ---- ---- ---- ---- ---- ---- ---- ---- ---<
/FONT></B></P>

<P><B><FONT SIZE=2 FACE="Arial">Has decidido el mejor precio.  Has decidido
IBERIA.com </FONT></B></P>

<P><FONT SIZE=2 FACE="Arial">You?ve chosen the best price. You?ve chosen
IBERIA.com </FONT></P>

<P><FONT SIZE=2 FACE="Arial">-- ---- ---- ---- ---- ---- ---- ---- ---- ---<
/FONT></P>

<P><B><FONT SIZE=2 FACE="Arial">http://www.iberia.com </FONT></B></P>
<BR>

--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list

Earn $52 per hosting referral at Lunarpages.