Linux Newbie help
 help / color / mirror / Atom feed
* Mailer Connections
@ 2002-08-11  6:19 Peter
  2002-08-11  7:29 ` Riley Williams
  2002-08-11 14:55 ` Ray Olszewski
  0 siblings, 2 replies; 13+ messages in thread
From: Peter @ 2002-08-11  6:19 UTC (permalink / raw)
  To: linux-newbie

Hi,

When I recently upgraded from RH7.1 to RH7.3 I got total keyboard lock-up 
with some programs.  In order to go on working I had to reinstall RH7.1.

After that I found  a) that I could not send e-mail any more using my mail 			
		     program
		     exmh nor using <mail> from the console. I have to resort to either 				
		     pine or kmail. This is the case using my ISP for my e-mail address.
		      	
		  b) that I could not send any mail at all using my alternate ISP 										
		      subscribed to with a pre-paid webcard.

In case a) the message in  maillog was either ...stat= service not 
available.. or ...stat=Data format error. This one especially when sending to 
this list.

In case b) the message popping up on the screen is "sorry that domain isn't 
allowed to be relayed thru this MTA".

How do I revert back that I can mail again with any mail program especially 
exmh and with any ISP?

Regards

Peter




-- 
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Mailer Connections
@ 2002-08-13 15:41 Peter
  0 siblings, 0 replies; 13+ messages in thread
From: Peter @ 2002-08-13 15:41 UTC (permalink / raw)
  To: linux-newbie

Originally to: All


Thanks Riley and Ray

pfheiss said:
>> How do I revert back that I can mail again with any mail program
>> especially exmh and with any ISP?


rhw@InfraDead.Org said:
> As a result, the solution may be as simple as setting the hostname for
> your machine to match that of your preferred ISP by editing the file /
> etc/sysconfig/network and putting the full; hostname on the HOSTNAME=
> line, then rebooting your system. 

I did that now. It had localhost.localdomain. I changed if to "Peter".
Can there be more than one name and if so how are they separated?


rhw@InfraDead.Org said:
> Incidentally, sendmail normally tries to send all outgoing emails
> direct to the relevant delivery host, so the ISP you're dialled up
> with should make no difference at all.

That what I always thought and it always worked since RH5.2 w/o me doing 
anything.

ray@comarre.com said:
>  Also please  mention which MTA you are using (either look for
> something listening on  port 25 or find the smtp entry in /etc/
> inetd.conf, depending on which way your system is set up)

The file inetd.conf was absent. I found it as inetd.cof.rpmsave and copied it 
to /etc/inetd.conf. There is no smtp entry in this file.

This mail should go out now with my webcard ISP and using the program exmh.

Regards

-- 
Peter



-

<-> Gateway Information.
This message originated from a Fidonet System (http://www.fidonet.org)
and was gated at TCOB1 (http://www.tcob1.net)
Please do not respond direct to this message but via the list


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Mailer Connections
@ 2002-08-13 15:41 Peter
  0 siblings, 0 replies; 13+ messages in thread
From: Peter @ 2002-08-13 15:41 UTC (permalink / raw)
  To: linux-newbie

Originally to: All


Thanks Riley and Ray

pfheiss said:
>> How do I revert back that I can mail again with any mail program
>> especially exmh and with any ISP?


rhw@InfraDead.Org said:
> As a result, the solution may be as simple as setting the hostname for
> your machine to match that of your preferred ISP by editing the file /
> etc/sysconfig/network and putting the full; hostname on the HOSTNAME=
> line, then rebooting your system. 

I did that now. It had localhost.localdomain. I changed if to "Peter".
Can there be more than one name and if so how are they separated?


rhw@InfraDead.Org said:
> Incidentally, sendmail normally tries to send all outgoing emails
> direct to the relevant delivery host, so the ISP you're dialled up
> with should make no difference at all.

That what I always thought and it always worked since RH5.2 w/o me doing 
anything.

ray@comarre.com said:
>  Also please  mention which MTA you are using (either look for
> something listening on  port 25 or find the smtp entry in /etc/
> inetd.conf, depending on which way your system is set up)

The file inetd.conf was absent. I found it as inetd.cof.rpmsave and copied it 
to /etc/inetd.conf. There is no smtp entry in this file.

This mail should go out now with my webcard ISP and using the program exmh.

Regards

-- 
Peter



-

<-> Gateway Information.
This message originated from a Fidonet System (http://www.fidonet.org)
and was gated at TCOB1 (http://www.tcob1.net)
Please do not respond direct to this message but via the list


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <200208130603.OAA02685@localhost.localdomain>]
* Re: Mailer Connections
@ 2002-08-14  7:18 Riley Williams
  0 siblings, 0 replies; 13+ messages in thread
From: Riley Williams @ 2002-08-14  7:18 UTC (permalink / raw)
  To: linux-newbie

Originally to: All


Hi Peter.

Here's the relevant headers of your email as it came to me...

> Received: from ppp12.pool4.mnl.skyinet.net ([202.78.107.12]
>     helo=localhost.localdomain)
> 	by phoenix.infradead.org with esmtp (Exim 4.10)
> 	id 17eUmE-0008Fi-00
> 	for rhw@InfraDead.Org; Tue, 13 Aug 2002 07:03:36 +0100
> Received: from localhost.localdomain (pfheiss@localhost)
> 	by localhost.localdomain (8.9.3/8.9.3) with ESMTP id OAA02685;
> 	Tue, 13 Aug 2002 14:03:37 +0800
> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
> To: linux-newbie@vger.kernel.org
> cc: rhw@InfraDead.Org, ray@comarre.com
> Subject: Re: Mailer Connections 
> Date: Tue, 13 Aug 2002 14:03:37 +0800
> From: Peter <pfheiss@localhost.localdomain>

From those, we can deduce the following:

 1. The "Date:" line states when it was posted.

 2. The "X-Mailer:" line states the program you used to post it.

 3. The "From:" line states the address that was used to post it. As
    you can see, this is wrong.

 4. The "To:" and "cc:" lines state the addresses you posted it to.

 5. Reading from the bottom up, the "Received:" lines state the route
    your message took to get to me. The bottom one is your local box's
    SendMail reporting that it processed the message on the way out,
    and the top one is my mailhost confirming receipt thereof.

The top "Received:" line gives the critical evidence when it reports
"helo=localhost.localdomain" as this states that your system's hostname
is currently set up as localhost.localdomain as stated, and this is also
confirmed both by the bottom "Received:" line and by the "From:" line.
This is NOT a problem with either Exim or SendMail but with the general
configuration of your system.

>>> How do I revert back that I can mail again with any mail program
>>> especially exmh and with any ISP?

>> As a result, the solution may be as simple as setting the hostname
>> for your machine to match that of your preferred ISP by editing the
.> file / etc/sysconfig/network and putting the full; hostname on the
>. HOSTNAME= line, then rebooting your system.

> I did that now. It had localhost.localdomain. I changed if to "Peter".
> Can there be more than one name and if so how are they separated?

There can only be one name,. Assuming you are NOT running a LAN of your
home, it should correspond to your primary ISP's hostname rather than
being your first name. As an example, if your primary email address is...

	daffy.duck @ waltdisney.com

...then your machine's hostname should be...

	waltdisney.com

...and your username on that system should be...

	daffy.duck

...and I'm sure you can substitute whatever is relevant for your actual
email address in that.

As per my last email, you need to tweak the HOSTNAME= line in the file 
/etc/sysconfig/network to contain the correct domain name, and you then
need to reboot your system for this line to take effect.

>> Incidentally, sendmail normally tries to send all outgoing emails
>> direct to the relevant delivery host, so the ISP you're dialled up
>> with should make no difference at all.

> That what I always thought and it always worked since RH5.2 w/o me
> doing anything.

The headers from your email confirm that it is doing precicely as stated
here, so you do not need to worry about this.

>> Also please  mention which MTA you are using (either look for
>> something listening on  port 25 or find the smtp entry in /etc/
>> inetd.conf, depending on which way your system is set up)

> The file inetd.conf was absent. I found it as inetd.cof.rpmsave and
> copied it to /etc/inetd.conf. There is no smtp entry in this file.

SendMail doesn't run from /etc/inetd.conf so you won't find an entry in
there for it.

> This mail should go out now with my webcard ISP and using the
> program exmh.

As you can see, it used the program exmh but it went out with the wrong
email address for you.

Best wishes from Riley.

-

<-> Gateway Information.
This message originated from a Fidonet System (http://www.fidonet.org)
and was gated at TCOB1 (http://www.tcob1.net)
Please do not respond direct to this message but via the list


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Mailer Connections
@ 2002-08-15 10:09 Peter
  0 siblings, 0 replies; 13+ messages in thread
From: Peter @ 2002-08-15 10:09 UTC (permalink / raw)
  To: linux-newbie

Originally to: All


Thanks again Riley, apparently you are leaving in the UK.

 said:
> The top "Received:" line gives the critical evidence when it reports
> "helo=localhost.localdomain" as this states that your system's
> hostname is currently set up as localhost.localdomain as stated, and
> this is also confirmed both by the bottom "Received:" line and by the
> "From:" line. As you can see, this is wrong.

I never had to edit /etc/sysconfig/network in all previous versions of RH. 
Some kind program was doing the right thing for me. I only had to edit 
/etc/hosts. Now when I had to re-install RH7.1 things went wrong. When I tried 
to edit in /etc/hosts the line: "127.0.0.1       localhost.localdomain	
localhost" to
"127.0.0.1	localhost" I could not print any longer and on booting, section 
starting lpd, I would get a long complain not finding the printer.

I now then checked in RH6.2 /etc/sysconfig/network and it said there 
HOSTNEAME="Peter". I put that into RH7.1 and now after your last mail changed 
/etc/hosts
to: 
127.0.0.1       localhost
202.95.238.2    philonline.com  Peter
202.78.74.68    webcard.skyinet.net     Pedro

Printer prints now and no complains on booting about lpd. I assume my from 
address should be correct as well now.

I assume that you received my last mail twice. When I sent it the first time 
and had changed HOSTNAME to "Peter" from localhost.localdomain I had not 
rebooted as you suggested and I got the following messages in /var/log/maillog:

Aug 13 14:03:45 localhost sendmail[2687]: OAA02685: 
to=<linux-newbie@vger.kernel.org>, ctladdr=<pfheiss@localhost.localdomain> 
(500/500), delay=00:00:08, xdelay=00:00:05, mailer=esmtp, 
relay=vger.kernel.org. [209.116.70.75], stat=Data format error

Aug 13 14:03:54 localhost sendmail[2687]: OAA02685: to=<rhw@InfraDead.Org>, 
ctladdr=<pfheiss@localhost.localdomain> (500/500), delay=00:00:17, 
xdelay=00:00:09, mailer=esmtp, relay=phoenix.infradead.org. [195.224.96.167], 
stat=Sent (OK id=17eUmE-0008Fi-00)

after rebooting:

Aug 13 14:42:08 philonline sendmail[1158]: OAA01156: 
to=<linux-newbie@vger.kernel.org>, ctladdr=<pfheiss@philonline.com> (500/500), 
delay=00:00:11, xdelay=00:00:09, mailer=esmtp, relay=vger.kernel.org. 
[209.116.70.75], stat=Sent (2.7.0 nothing apparently wrong in the message.)

Aug 13 14:42:16 philonline sendmail[1158]: OAA01156: to=<rhw@InfraDead.Org>, 
ctladdr=<pfheiss@philonline.com> (500/500), delay=00:00:19, xdelay=00:00:08, 
mailer=esmtp, relay=phoenix.infradead.org. [195.224.96.167], stat=Sent (OK 
id=17eVNM-0008RL-00)

You can see that after rebooting my address is correct. You replied to the 
first message where From: was wrong yet.

Did a programmer change something that one has to edit now 
/etc/sysconfig/network a file I did not even know it existed or did I miss 
something when installing RH7.1?

Regards
-- 
Peter

-

<-> Gateway Information.
This message originated from a Fidonet System (http://www.fidonet.org)
and was gated at TCOB1 (http://www.tcob1.net)
Please do not respond direct to this message but via the list


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-08-17  9:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-11  6:19 Mailer Connections Peter
2002-08-11  7:29 ` Riley Williams
2002-08-13  6:41   ` Peter
2002-08-11 14:55 ` Ray Olszewski
  -- strict thread matches above, loose matches on Subject: below --
2002-08-13 15:41 Peter
2002-08-13 15:41 Peter
     [not found] <200208130603.OAA02685@localhost.localdomain>
2002-08-14  5:18 ` Riley Williams
2002-08-15  1:09   ` Peter
2002-08-16  5:59     ` Riley Williams
2002-08-17  8:54       ` Peter
2002-08-17  9:43         ` Riley Williams
2002-08-14  7:18 Riley Williams
2002-08-15 10:09 Peter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox