Re: [Exim] Relaying at ISP SMTP - ANSWERED

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Paul M Foster
CC: exim-users
Assunto: Re: [Exim] Relaying at ISP SMTP - ANSWERED
On Sun, 18 Nov 2001, Paul M Foster wrote:

> But more importantly, when the offending line was taken out of the
> config file, Exim at last asked for relay from the server.


If you want more convincing, please go and read RFC 2821. I can assure
there is NO WAY Exim can "ask for a relay". There just isn't such a
facility in the protocol. When I look at your two original dialogues, I
see this:

(1)
> foster@???... Connecting to smtp.quillandmouse.com via relay...
> 220 agamemnon.cnchost.com ESMTP [ConcentricHost SMTP Relay 1.14] ready at Thu, 8 Nov 2001 23:40:50 -0500 (EST)


(2)
> Connecting to zealous.cnchost.com [207.155.252.26.25] ... connected
> SMTP<< 220 zealous.cnchost.com ESMTP [ConcentricHost SMTP MX 1.27] ready at Thu, 8 Nov 2001 23:41:53 -0500 (EST)


They appear to be different hosts - that might make a difference.
Especially as the first one says "SMTP relay" whereas the second one
says "SMTP MX". That strongly suggests that the first one is set up for
relaying and the second one is not.

(1)
> >>> EHLO rocky.mars.lan
> 250-agamemnon.cnchost.com Hello tamqfl1-ar4-076-029.tamqfl1.dsl.gtei.net [4.41.76.29], pleased to meet you


(2)
> SMTP>> EHLO quillandmouse.com
> SMTP<< 250-zealous.cnchost.com Hello tamqfl1-ar4-076-029.tamqfl1.dsl.gtei.net [4.41.76.29], pleased to meet you


The contents of the EHLOs are different. That *shouldn't* make a
difference, but...

The remaining commands sent by Exim and Sendmail are identical.

It seems most likely that it is the different hosts that make the
difference. The question is *why* are different hosts being used?
Presumably it's something in the way Exim and Sendmail are set up. As I
don't know Sendmail, I can't help, but as another poster has said, you
need to set up a router to make Exim send to smarthost (as per example
in the manual and the book).

> I submit that there _is_ something
> about the tcp/ip dialog between you and the smtp server that tells it to
> relay or not.


No there is not.

> Connecting to smtp.quillandmouse.com [207.155.248.14.25] ... connected
> SMTP<< 220 marlborough.cnchost.com ESMTP [ConcentricHost SMTP Relay 1.14] ready at Sun, 18 Nov 2001 15:01:48 -0500 (EST)


Aha! That one is saying "SMTP Relay", you notice, NOT "SMTP MX".

You never actually posted the router and transport you are using. If you
had done that, people on this list could probably say why it was using
different hosts in the different cases.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.