Skip to contentSkip to conversation

At Loss with Mailing

DISCUSSION Peter 3 participants 6 messages Apr 7, 2003 – Apr 9, 2003 2 messages not in the archive

lore
Share & tools
lore

Peter

author
#0 lore raw

Hi,

since about 2 weeks I can not mail anymore to certain e-mail addresses using exmh and my main ISP philonline.com.

Using kmail with this same ISP all the mail goes out the the same addresses.

Using exmh with my second ISP skyinet.net all the mail goes out to the same addresses.

What could be the explanation to this and how could it be fixed?

Here are the messages in the maillog I get from the addresses in question when using exmh. There are no mesages in maillog when using kmail.

Regards

----------
Peter

ISP philonline.com

Apr  7 09:35:00 philonline sendmail[2167]: h371Yni02164: 

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:10, xdelay=00:00:10, mailer=esmtp, pri=31004, relay=zeus.kernel.org., dsn=5.1.2, stat=Host unknown (Name server:
zeus.kernel.org.: host not found)

ISP skyinet.net

Apr  4 16:00:13 philonline sendmail[2182]: h347xf702179: 

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:32, xdelay=00:00:06, mailer=esmtp, pri=61433, relay=vger.kernel.org. [209.116.70.75], dsn=2.0.0, stat=Sent (nothing apparently wrong in the message.; S261530AbTDDHqZ)

ISP philonline.com

Apr  7 11:53:08 philonline sendmail[2379]: h373qoF02377: 

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:08, xdelay=00:00:08, mailer=esmtp, pri=30352, relay=redhat.com, dsn=5.1.2, stat=Host unknown (Name server: redhat.com: host not found)

ISP skyinet.net

Apr  7 14:05:00 philonline sendmail[3735]: h3764kL03732: 

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:12, xdelay=00:00:12, mailer=esmtp, pri=30752, relay=mx1.redhat.com. [66.187.233.31], dsn=2.0.0, stat=Sent (2.0.0 h3762Fe05386 Message accepted for delivery)

ISP philonline.com

Apr  7 11:54:15 philonline sendmail[2399]: h373sAF02397: 

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:04, xdelay=00:00:04, mailer=esmtp, pri=30356, relay=dw-world.de. [194.55.30.46], dsn=4.0.0, stat=Deferred: Connection reset by dw-world.de.

ISP skyinet.net

Apr  7 14:05:31 philonline sendmail[3740]: h373sAF02397: 

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=02:11:20, xdelay=00:00:11, mailer=esmtp, pri=11910356, relay=virus-gate.dwelle.de. [194.55.30.50], dsn=2.0.0, stat=Sent (castor.dwelle.de: Message accepted for delivery)

-
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

#1 lore raw

Peter --- I cannot be sure from what you have sent, but it looks like some sort of DNS problem. Here's what I find out about the first two mail destinations you are testing:

autovcr@waverly:~$ host -t MX vger.kernel.org
vger.kernel.org         MX      10 vger.kernel.org
vger.kernel.org         MX      200 zeus.kernel.org
autovcr@waverly:~$ host -t MX redhat.com
redhat.com              MX      10 mx1.redhat.com
redhat.com              MX      20 mx2.redhat.com

So ... exmh+philonline tries in one instance to use the low-priority MX server (zeus.kernel.org) and in the other ignores the MX record entirely and tries to resolve redhat.com directly. In both cases, it is then unable to resolve the hostname. Here's what I get if I check those hosts:

autovcr@waverly:~$ host zeus.kernel.org
zeus.kernel.org         A       204.152.189.113
autovcr@waverly:~$ host redhat.com
redhat.com              A       66.187.232.56

zeus.kernel.org responds to pings; redhat.com does not.

So, based on this, here are several questions:

1. How does your system handle DNS? When you switch ISPs, does its choice of DNS servers change? How does your ability to revolve the various hosts (using host or nslookup or dig) change when you switch between ISPs?

2. How is kmail sending mail? Is it using the local MTA (sendmail, it seems from your log entries) or is it somehow sending directly to a remote SMTP server? If the second, does it change servers when the ISP changes, and if yes, how? (I'm not familiar with kmail at all, so someone else will have to help with any details regarding it.)

3. Did you make any system changes coincident to the start of the failures 2 weeks ago? Do you know if philonline changed anything at that time?

Quoted 53 lines · Peter

Hi,

since about 2 weeks I can not mail anymore to certain e-mail addresses using exmh and my main ISP philonline.com.

Using kmail with this same ISP all the mail goes out the the same addresses.

Using exmh with my second ISP skyinet.net all the mail goes out to the same addresses.

What could be the explanation to this and how could it be fixed?

Here are the messages in the maillog I get from the addresses in question when using exmh. There are no mesages in maillog when using kmail.

Regards

----------
Peter

ISP philonline.com

Apr  7 09:35:00 philonline sendmail[2167]: h371Yni02164:

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:10, xdelay=00:00:10, mailer=esmtp, pri=31004, relay=zeus.kernel.org., dsn=5.1.2, stat=Host unknown (Name server:
zeus.kernel.org.: host not found)

ISP skyinet.net

Apr  4 16:00:13 philonline sendmail[2182]: h347xf702179:

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:32, xdelay=00:00:06, mailer=esmtp, pri=61433, relay=vger.kernel.org. [209.116.70.75], dsn=2.0.0, stat=Sent (nothing apparently wrong in the message.; S261530AbTDDHqZ)

ISP philonline.com

Apr  7 11:53:08 philonline sendmail[2379]: h373qoF02377:

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:08, xdelay=00:00:08, mailer=esmtp, pri=30352, relay=redhat.com, dsn=5.1.2, stat=Host unknown (Name server: redhat.com: host not found)

ISP skyinet.net

Apr  7 14:05:00 philonline sendmail[3735]: h3764kL03732:

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:12, xdelay=00:00:12, mailer=esmtp, pri=30752, relay=mx1.redhat.com. [66.187.233.31], dsn=2.0.0, stat=Sent (2.0.0 h3762Fe05386 Message accepted for delivery)

ISP philonline.com

Apr  7 11:54:15 philonline sendmail[2399]: h373sAF02397:

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:04, xdelay=00:00:04, mailer=esmtp, pri=30356, relay=dw-world.de. [194.55.30.46], dsn=4.0.0, stat=Deferred: Connection reset by dw-world.de.

Quoted 6 lines

ISP skyinet.net

Apr  7 14:05:31 philonline sendmail[3740]: h373sAF02397:

to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=02:11:20, xdelay=00:00:11, mailer=esmtp, pri=11910356, relay=virus-gate.dwelle.de. [194.55.30.50], dsn=2.0.0, stat=Sent (castor.dwelle.de: Message accepted for delivery)

-
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

#2 lore raw

Greetings and excuse my butting in with a, probably, redundant remark:

Have you tried using the _same_ nameserver for both ISP's? Use the nameserver for the one that works of course..

Just a thought not following the thread that close. Ignore if I'm off base..

Hal - in Terra Alta, WV - Slackware GNU/Linux 8.0 (2.4.13)
Proprietary Formats Unacceptable

Quoted 3 lines · Ray Olszewski

Peter --- I cannot be sure from what you have sent, but it looks like some sort of DNS problem. Here's what I find out about the first two mail destinations you are testing:

-
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

author
#3 lore raw
In reply to Ray Olszewski

Thanks Ray!

Quoted 5 lines · [email protected] said:

So, based on this, here are several questions:
1. How does your system handle DNS? When you switch ISPs, does its choice of DNS servers change? How does your ability to revolve the various hosts (using host or nslookup or dig) change when you switch between ISPs?

When I switch IPSs the switch is reflected in /etc/resolv.conf, the NDS changes there.

Quoted 4 lines · [email protected] said:

2. How is kmail sending mail? Is it using the local MTA (sendmail, it seems from your log entries) or is it somehow sending directly to a remote SMTP server? If the second, does it change servers when the ISP changes, and if yes, how?

I have set kmail to use smtp for sending mail and have entered mail.philonline.com as the host. With kmail, therefore, I can only use this ISP to send mail. Using the alternate ISP I get:
It said: sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1) Normally I do not use kmail. I only checked it out this time when I noticed that in Slackware where I have not yet set-up exmh, kmail did send the mail. And as mentioned kmail leaves no messages in maillog.

Quoted 3 lines · [email protected] said:

3. Did you make any system changes coincident to the start of the failures 2 weeks ago? Do you know if philonline changed anything at that time?

I have not made any changes at all and calling philonline, they claim they did neither. They checked the @dw-world.de and claimed the mail is rejected because of SPAM. I checked with @dw-world.de they said neither me nor my ISP is on there banned list.

Here are the outputs of dig:

; <<>> DiG 9.2.1 <<>> -t MX @philonline.com vger.kernel.org ;; global options: printcmd
;; Got answer:

;; ANSWER SECTION:

vger.kernel.org.        3539    IN      MX      10 vger.kernel.org.
vger.kernel.org.        3539    IN      MX      200 zeus.kernel.org.

;; AUTHORITY SECTION:

kernel.org.             3539    IN      NS      ns1.kernel.org.
kernel.org.             3539    IN      NS      ns2.q.p80.net.
kernel.org.             3539    IN      NS      ns2.kernel.org.
kernel.org.             3539    IN      NS      zenii.linux.org.uk.
kernel.org.             3539    IN      NS      ns.vger.kernel.org.

; <<>> DiG 9.2.1 <<>> -t MX @skyinet.net vger.kernel.org ;; global options: printcmd
;; Got answer:

;; ANSWER SECTION:

vger.kernel.org.        3587    IN      MX      10 vger.kernel.org.
vger.kernel.org.        3587    IN      MX      200 zeus.kernel.org.

;; AUTHORITY SECTION:

kernel.org.             3587    IN      NS      ns.vger.kernel.org.
kernel.org.             3587    IN      NS      ns1.kernel.org.
kernel.org.             3587    IN      NS      ns2.q.p80.net.
kernel.org.             3587    IN      NS      ns2.kernel.org.
kernel.org.             3587    IN      NS      zenii.linux.org.uk.

; <<>> DiG 9.2.1 <<>> -t MX @philonline.com redhat.com ;; global options: printcmd
;; Got answer:

;; ANSWER SECTION:

redhat.com.             580     IN      MX      20 mx2.redhat.com.
redhat.com.             580     IN      MX      10 mx1.redhat.com.

;; AUTHORITY SECTION:

redhat.com.             580     IN      NS      ns3.redhat.com.
redhat.com.             580     IN      NS      ns1.redhat.com.
redhat.com.             580     IN      NS      ns2.redhat.com.

; <<>> DiG 9.2.1 <<>> -t MX @skyinet.net redhat.com ;; global options: printcmd
;; Got answer:

;; ANSWER SECTION:

redhat.com.             600     IN      MX      20 mx2.redhat.com.
redhat.com.             600     IN      MX      10 mx1.redhat.com.

;; AUTHORITY SECTION:

redhat.com.             600     IN      NS      ns1.redhat.com.
redhat.com.             600     IN      NS      ns2.redhat.com.
redhat.com.             600     IN      NS      ns3.redhat.com.

I would not know how to interpret this. I only see that there is a difference in sequence in the AUTHORITY SECTION.

Regards

Signature · 7 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
#4 lore raw

Peter --

OK. First, kmail works because it is is set to use mail.philonline.com as a "smarthost" relay. It generates no log entries because the log entries you've reported here come from sendmail, your MTA, which kmail (as you describe its setup) bypasses. This setup is sufficiently different from the exmh setup that its success is irrelevant to diagnosis of your problem.

Second, is "philonline.com" the DNS server your system is set to use when you are connected to that domain? I'm a bit rusty on "dig" and don't have it installed here (I usually use "host"), so I don't know how to read the "@philonline.com" and "@skynet.com" pieces of the command lines. In any case, with these tests you've established that you can get the MX records ... but we already knew that from your log entries. The question is whether dig (or your system generally) can resolve the MX host FQNs to IP addresses when connected to philonline.com . You didn't test that.

I'd suggest you do so, both with dig and with ping (that is, try to ping the hosts by their FQNs, and see if ping can get IP addresses to ping). Also, try the most direct test of all, using telnet to try to connect directly to the remote mail servers, with commands like: "telnet vger.kernel.org 25", using the appropriate MX FQNs. Do all this while connected to philonline.com, since we know that skynet.com works.

Finally ... is it possible that philonline.com blocks connections from client IP addresses to port 25 on anything other than their smarthost relays? (That is, that is forces you to use its mail server as a relay?) The difference you see is broadly consistent with that possibility, though the log entries seem a bit odd for this to be the cause ... but sometimes apps write odd-looking log entries.

Quoted 93 lines · Peter

Thanks Ray!

Quoted 5 lines · [email protected] said:

So, based on this, here are several questions:
1. How does your system handle DNS? When you switch ISPs, does its choice of DNS servers change? How does your ability to revolve the various hosts (using host or nslookup or dig) change when you switch between ISPs?

When I switch IPSs the switch is reflected in /etc/resolv.conf, the NDS changes there.

Quoted 4 lines · [email protected] said:

2. How is kmail sending mail? Is it using the local MTA (sendmail, it seems from your log entries) or is it somehow sending directly to a remote SMTP server? If the second, does it change servers when the ISP changes, and if yes, how?

I have set kmail to use smtp for sending mail and have entered mail.philonline.com as the host. With kmail, therefore, I can only use this ISP to send mail. Using the alternate ISP I get:
It said: sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1) Normally I do not use kmail. I only checked it out this time when I noticed that in Slackware where I have not yet set-up exmh, kmail did send the mail. And as mentioned kmail leaves no messages in maillog.

Quoted 3 lines · [email protected] said:

3. Did you make any system changes coincident to the start of the failures 2 weeks ago? Do you know if philonline changed anything at that time?

I have not made any changes at all and calling philonline, they claim they did neither. They checked the @dw-world.de and claimed the mail is rejected because of SPAM. I checked with @dw-world.de they said neither me nor my ISP is on there banned list.

Here are the outputs of dig:

; <<>> DiG 9.2.1 <<>> -t MX @philonline.com vger.kernel.org ;; global options: printcmd
;; Got answer:

;; ANSWER SECTION:

vger.kernel.org.        3539    IN      MX      10 vger.kernel.org.
vger.kernel.org.        3539    IN      MX      200 zeus.kernel.org.

;; AUTHORITY SECTION:

kernel.org.             3539    IN      NS      ns1.kernel.org.
kernel.org.             3539    IN      NS      ns2.q.p80.net.
kernel.org.             3539    IN      NS      ns2.kernel.org.
kernel.org.             3539    IN      NS      zenii.linux.org.uk.
kernel.org.             3539    IN      NS      ns.vger.kernel.org.

; <<>> DiG 9.2.1 <<>> -t MX @skyinet.net vger.kernel.org ;; global options: printcmd
;; Got answer:

;; ANSWER SECTION:

vger.kernel.org.        3587    IN      MX      10 vger.kernel.org.
vger.kernel.org.        3587    IN      MX      200 zeus.kernel.org.

;; AUTHORITY SECTION:

kernel.org.             3587    IN      NS      ns.vger.kernel.org.
kernel.org.             3587    IN      NS      ns1.kernel.org.
kernel.org.             3587    IN      NS      ns2.q.p80.net.
kernel.org.             3587    IN      NS      ns2.kernel.org.
kernel.org.             3587    IN      NS      zenii.linux.org.uk.

; <<>> DiG 9.2.1 <<>> -t MX @philonline.com redhat.com ;; global options: printcmd
;; Got answer:

;; ANSWER SECTION:

redhat.com.             580     IN      MX      20 mx2.redhat.com.
redhat.com.             580     IN      MX      10 mx1.redhat.com.

;; AUTHORITY SECTION:

redhat.com.             580     IN      NS      ns3.redhat.com.
redhat.com.             580     IN      NS      ns1.redhat.com.
redhat.com.             580     IN      NS      ns2.redhat.com.

; <<>> DiG 9.2.1 <<>> -t MX @skyinet.net redhat.com ;; global options: printcmd
;; Got answer:

;; ANSWER SECTION:

redhat.com.             600     IN      MX      20 mx2.redhat.com.
redhat.com.             600     IN      MX      10 mx1.redhat.com.
Quoted 7 lines

;; AUTHORITY SECTION:

redhat.com.             600     IN      NS      ns1.redhat.com.
redhat.com.             600     IN      NS      ns2.redhat.com.
redhat.com.             600     IN      NS      ns3.redhat.com.

I would not know how to interpret this. I only see that there is a difference in sequence in the AUTHORITY SECTION.

-
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

A message that is not in the archive (sent off-list or not yet received): Your message of "Mon, 07 Apr 2003 10:03:10 MST." <5.1.0.14.1.20030407094724.01e9bd88@celine

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 2 lines · Peter

Thanks Ray! Sorry, I can't figure out what is FQN. I tried to ask Philonline, however, there line is always busy.

FQN= Fully Qualified Name, orm more plainly, a name that includes both a hostname and a domain name (e.g., vger is a hostname, vger.kernel.org is an FQN). The term FQDN (Fully Qualified DOmain Name) is also used for this.

Quoted 3 lines

One more thing I want to repeat, sending mail only fails to institutional addresses like vger.kernel.org, readhat.com, dw-world.de. Mails to private individuals go through like this one now to you.

Oh ... only *some* e-mail fails. I missed this in your prior messages (I guess that's wha you meant by "certain e-mail addresses"). That's very different. Had I caught it, I would have asked immediately for an example of a successful message. Conveniently, your message to me is such an example.

As to why it happens ... well, looking at the headers on the copy you sent directly to me (I never saw a copy from the list, so I assume it did not go through) is instructive. The relevant Received: header is --

Received: from [202.95.239.164] (helo=philonline.com)
by celine.comarre.com with esmtp (Exim 3.35 #1 (Debian)) id 1939KV-0000ur-00

Compare this to an analogous header from a list message:

Received: from ppp67.pool3.mnl.skyinet.net ([202.78.106.67]:1408 "EHLO

        philonline.com") by vger.kernel.org with ESMTP id <S263250AbTDCDjX>;
        Wed, 2 Apr 2003 22:39:23 -0500

Note that the successful one has an FQN associated with the address, while the unsuccessful one does not (the HELO or EHLO part does not count). This suggests to me that you can send mail successfully to sites that do not authenticate source IP addresses but not to ones that do. The problem arises because your ISP (philonline.com, I mean) does not provide reverse-lookup information for your IP address:

autovcr@waverly:~$ host 202.95.239.164
202.95.239.164 does not exist, try again

If all of this is correct, there is no fix possible at your end, and the problem has nothing to do with Linux, and authentication by reverse lookup is *very* widespread. BY not providing reverse lookup, philonline.com is, in practice, forcing you to use its smarthost relay for outgoing mail.

I've left the remainder of your message to me below intact, since it apparently didn't make it to the list, but I have nothing substantive to say about it. If it matters to any *future* posting you make, though ... in the ping part, what is "Peter"? What host are you actyually trying to ping there?

Quoted 37 lines

Below is what I get with telnet and ping which did not work, yet I could
connect to the Internet.

telnet vger.kernel.org 25
Trying 209.116.70.75...
Connected to vger.kernel.org.
Escape character is '^]'.
220 vger.kernel.org ZMailer Server 2.99.56-pre4 #1 ESMTP+IDENT ready at Wed, 9 Apr 2003 01:23:28 -0400

telnet dw-world.de 25
Trying 194.55.30.46...
Connected to dw-world.de.
Escape character is '^]'.
Connection closed by foreign host.

[pfheiss@/ peter]$ telnet redhat.com 25
Trying 66.187.232.56...

ping -c 10 Peter
PING philonline.com (202.95.238.2) from 202.95.239.184 : 56(84) bytes of data.

Quoted 10 lines

From philonline.com (202.95.238.2) icmp_seq=1 Destination Port Unreachable From philonline.com (202.95.238.2) icmp_seq=2 Destination Port Unreachable From philonline.com (202.95.238.2) icmp_seq=3 Destination Port Unreachable From philonline.com (202.95.238.2) icmp_seq=4 Destination Port Unreachable From philonline.com (202.95.238.2) icmp_seq=5 Destination Port Unreachable From philonline.com (202.95.238.2) icmp_seq=6 Destination Port Unreachable From philonline.com (202.95.238.2) icmp_seq=7 Destination Port Unreachable From philonline.com (202.95.238.2) icmp_seq=8 Destination Port Unreachable From philonline.com (202.95.238.2) icmp_seq=9 Destination Port Unreachable From philonline.com (202.95.238.2) icmp_seq=10 Destination Port Unreachable

--- philonline.com ping statistics ---
10 packets transmitted, 0 received, +10 errors, 100% loss, time 9017ms , pipe 2

Quoted 4 lines

Regards

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