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-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
  1 sibling, 1 reply; 13+ messages in thread
From: Riley Williams @ 2002-08-11  7:29 UTC (permalink / raw)
  To: Peter; +Cc: Linux Newbies

Hi Peter.

I've reformatted and reparagraphed your query to make it readable. Not
sure what happenned when you posted it, but it arrived here full of tab
characters...

> 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?

First, a disclaimer: I don't use exmh or kmail and never have, so can't
comment on anything specific to those. However, I have used both pine
and mail and the comments below relate to them.

Next: A summary of how MOST mail programs send email under Linux: They
open a connection to port 25 on localhost and deliver the email to
whatever answers, leaving that to sort out the problem. On most Linux
systems, it's sendmail that answers and deals with the mail. I can add
that sendmail is a complex beastie to set up, and it's all too easy to
get it wrong.

One thing pine has is that it can be configured with the domain your
email address is in, and this can easily be different from that of the
machine it's run on. However, mail doesn't have that ability, and always
uses the hostname of the machine it's run on as the domain.

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.

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.

Best wishes from Riley.

-
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-11  6:19 Mailer Connections Peter
  2002-08-11  7:29 ` Riley Williams
@ 2002-08-11 14:55 ` Ray Olszewski
  1 sibling, 0 replies; 13+ messages in thread
From: Ray Olszewski @ 2002-08-11 14:55 UTC (permalink / raw)
  To: Peter, linux-newbie

Riley already discussed the basics in his reply. Perhaps I can say 
something more that is useful.

At 02:19 PM 8/11/02 +0800, Peter wrote:
>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.

Peter, you have to stop reporting errors in the form of teensy fragments of 
what you see. Partial lines from a log file, lacking context or even the 
name of the program logging the error (eximh? mail? the actual MTA you 
run?), are indecipherable. Provide a complete listing of ALL log entries 
associated with a mail failure and we may be able to help. 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)  and which of the two problem MUAs is involved in 
the actual example.

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

This is anti-relaying software in operation, either at the ISP or on your 
system. When you try these connections, what From: address are you using 
(the FQN part)? One of two things is blocking you:

         1. You *have* changed the From: address to one appropriate to your 
ISP, but you haven't told your on-host MTA that it should relay mail 
ostensibly from that domain. If this is it, how you fix it depends on which 
MTA you run.

         2. You *have not* changed the From: address to one appropriate to 
your ISP, and its MTA is unwilling to relay mail from your (inappropriate) 
domain. If this is it, you probably have to change the address, then deal 
with any type-1 problem that arises.

Without more details (including what "popping up on the screen" exactly 
describes), I can't know which end the problem is at. Tell us the ISP 
involved, what MTA you are running, what program creates the "pop up" 
message you see, and whether you are changing the FQN of your mail to match 
the alternate ISP. Also, when you switch ISPs, are you even still using the 
on-host MTA, or are you using an e-mail client that connects directly to 
the ISP's MTA (e.g., Netscape)?


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

To "revert back", reinstall and do whatever you did back when an install 
worked. This is probably the wrong approach, though. You want to (a) 
understand why the problem occurred and (b) fix it, so that next yime you 
upgrade, you will be able to carry the fix forward (because you understand 
the requirements of your system).


--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski					-- Han Solo
Palo Alto, California, USA			  ray@comarre.com
-------------------------------------------------------------------------------

-
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-11  7:29 ` Riley Williams
@ 2002-08-13  6:41   ` Peter
  0 siblings, 0 replies; 13+ messages in thread
From: Peter @ 2002-08-13  6:41 UTC (permalink / raw)
  To: linux-newbie; +Cc: rhw, ray

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



-
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

* Re: Mailer Connections
       [not found] <200208130603.OAA02685@localhost.localdomain>
@ 2002-08-14  5:18 ` Riley Williams
  2002-08-15  1:09   ` Peter
  0 siblings, 1 reply; 13+ messages in thread
From: Riley Williams @ 2002-08-14  5:18 UTC (permalink / raw)
  To: Linux Newbies

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.

-
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-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-14  5:18 ` Riley Williams
@ 2002-08-15  1:09   ` Peter
  2002-08-16  5:59     ` Riley Williams
  0 siblings, 1 reply; 13+ messages in thread
From: Peter @ 2002-08-15  1:09 UTC (permalink / raw)
  To: Linux Newbies

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

-
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

* Re: Mailer Connections
  2002-08-15  1:09   ` Peter
@ 2002-08-16  5:59     ` Riley Williams
  2002-08-17  8:54       ` Peter
  0 siblings, 1 reply; 13+ messages in thread
From: Riley Williams @ 2002-08-16  5:59 UTC (permalink / raw)
  To: Peter; +Cc: Linux Newbies

Hi Peter.

Here's the relevant headers this time...

On Thu, 15 Aug 2002, Peter wrote:

> Received: from vger.kernel.org ([209.116.70.75])
> 	by phoenix.infradead.org with esmtp (Exim 4.10)
> 	id 17f98e-00015h-00
> 	for rhw@infradead.org; Thu, 15 Aug 2002 02:09:24 +0100
> Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
> 	id <S316258AbSHOBF0>; Wed, 14 Aug 2002 21:05:26 -0400
> Received: (majordomo@vger.kernel.org) by vger.kernel.org
> 	id <S316289AbSHOBF0>; Wed, 14 Aug 2002 21:05:26 -0400
> Received: from [202.95.239.59] ([202.95.239.59]:14340 "EHLO
>     philonline.com")
> 	by vger.kernel.org with ESMTP id <S316258AbSHOBFZ>;
> 	Wed, 14 Aug 2002 21:05:25 -0400
> Received: from philonline.com (pfheiss@localhost)
> 	by philonline.com (8.9.3/8.9.3) with ESMTP id JAA01124
> 	for <linux-newbie@vger.kernel.org>; Thu, 15 Aug 2002 09:09:20 +0800
> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
> To:	Linux Newbies <linux-newbie@vger.kernel.org>
> Subject: Re: Mailer Connections 
> Date:	Thu, 15 Aug 2002 09:09:20 +0800
> From:	Peter <pfheiss@philonline.com>
> X-Mailing-List:	linux-newbie@vger.kernel.org

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

If you mean "living" rather than "leaving", then yes.

>> 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

Am I right in assuming that the last two lines are the statis IP's you
get given when you connect to the stated ISP's ? If you are with an ISP
that gives you Dynamic IP addresses (as many do), then the above could
cause other problems when you are allocated other than the addresses you
have quoted, so be careful.

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

As shown in the quoted headers, it is.

> I assume that you received my last mail twice.

The second copy arrived alongside this email from you.

> 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:

The first entry says "stat=Data format error" and thus states that that
particular message was not sent. This is true of any such line that says
other than "stat=Sent", and indicates that the copy addressed to the
linux-newbies list (the "to=<...>" part of that entry) failed to get
sent.

> 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)

This time, both copies were sent. The bit in brackets after the
"stat=Sent" is the first line received from the mailhost you addressed
that message to.

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

At the time, that was the only copy I had received. I have now received
the second copy as well, and it shows headers similar to those quoted
for this email.

> 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?

The /etc/sysconfig/ directory contains many files relating to your
system configuration, and have done so from at least RH 4.1 (when I
first got involved with Linux). That particular file has been present
since at least then, and RHL has used it this way all the time.

Normally, the correct values are written in there during the
installation step, usually as a result of you providing the correct
details to questions asked in the pre-install questionnaires that RHL
installer gives you.

I would presume that for some reason, you provided the wrong value on
the relevant pre-iinstall screen, but it is almost impossible to work
out which screen was affected in this way.

Best wishes from Riley.

-
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-16  5:59     ` Riley Williams
@ 2002-08-17  8:54       ` Peter
  2002-08-17  9:43         ` Riley Williams
  0 siblings, 1 reply; 13+ messages in thread
From: Peter @ 2002-08-17  8:54 UTC (permalink / raw)
  To: Riley Williams; +Cc: Linux Newbies

Hi Riley,

rhw@InfraDead.Org said:
> If you mean "living" rather than "leaving", then yes.

Darn English!

Peter said:
>> 127.0.0.1       localhost
>> 202.95.238.2    philonline.com  Peter
>> 202.78.74.68    webcard.skyinet.net     Pedro

rhw@InfraDead.Org said:
> If you are with an ISP that gives you Dynamic IP addresses (as many
> do), then the above could cause other problems when you are allocated
> other than the addresses you have quoted, so be careful.

I will remember that, -hopefully.

Peter said:
>> 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? 

rhw@InfraDead.Org said:
> I would presume that for some reason, you provided the wrong value on
> the relevant pre-iinstall screen, but it is almost impossible to work
> out which screen was affected in this way. 

Since I have installed RH many times of different versions, even at friends' 
placex it is almost routine. I have a strong suspicion that the problem is 
with
RH7.1. I did the installation twice and was surprised to be called localhost 
instead of Peter and on booting getting that long message on starting lpd.
 
Many thanks and best regards
-- 
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-17  8:54       ` Peter
@ 2002-08-17  9:43         ` Riley Williams
  0 siblings, 0 replies; 13+ messages in thread
From: Riley Williams @ 2002-08-17  9:43 UTC (permalink / raw)
  To: Peter; +Cc: Linux Newbies

Hi Peter.

>>> 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? 

>> I would presume that for some reason, you provided the wrong value on
>> the relevant pre-iinstall screen, but it is almost impossible to work
>> out which screen was affected in this way. 

> Since I have installed RH many times of different versions, even at
> friends' placex it is almost routine.

I've installed various versions of RHL several hundred times now, and
like you, I've long since developed a routine for doing so. However, on
occasion, I still make stupid mistakes when installing - I set one of my
own systems up with a 168.192.* IP address rather than the 192.168.* one
it should've had, and that was only yesterday !!!

> I have a strong suspicion that the problem is with RH7.1. I did the
> installation twice and was surprised to be called localhost instead
> of Peter and on booting getting that long message on starting lpd.

That is always possible. As it happens, I've only installed 7.1 once in
my career, although I installed both 7.0 and 7.2 several dozen times. As
a result, I probably would not have noticed a problem with 7.1 whereas
problems with either 7.0 or 7.2 would've stood out like a sore thumb.

The important detail is that you now have a system that works...

Best wishes from Riley.

-
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