Mailer Connections
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
Signature · 6 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
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...
Quoted 15 lines
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.
Quoted 5 lines
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Thanks Riley and Ray
Quoted 2 lines · pfheiss
Quoted 2 lines
How do I revert back that I can mail again with any mail program especially exmh and with any ISP?
Quoted 4 lines · [email protected] 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?
Quoted 3 lines · [email protected] 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.
Quoted 3 lines · [email protected] 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
Signature · 9 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Riley already discussed the basics in his reply. Perhaps I can say something more that is useful.
Quoted 12 lines · Peter
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.
Quoted 8 lines
b) that I could not send any mail at all using my
alternate ISPsubscribed 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.
Quoted 2 lines
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)?
Quoted 2 lines
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 [email protected]
-------------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs