Mailing List Archive

Sending mail with exim..
Hello,

I'm having trouble setting up exim..

[root@office exim]# cat exim_mainlog
2002-06-20 00:10:08 17KtGq-00019b-00 <= mike@office.openconcept.ca U=mike
P=local S=491
2002-06-20 00:10:08 17KtGq-00019b-00 == mike@flora.org routing defer (-45):
domain is in queue_remote_domains


[root@office exim]# /usr/sbin/exim -d9 -M 17KtGq-00019b-00
Exim version 3.33 debug level 9 uid=0 gid=0
Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
Caller is an admin user
Caller is a trusted user
set_process_info: 4525 delivering specified messages
delivering message 17KtGq-00019b-00
set_process_info: 4525 delivering 17KtGq-00019b-00
Opened spool file 17KtGq-00019b-00-H
user=mike uid=500 gid=500 sender=mike@office.openconcept.ca
sender_local=1 resent=no ident=mike
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=6 message_linecount=8
Delivery address list:
mike@flora.org
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>
Considering: mike@flora.org
flora.org in local_domains? no (end of list)
unique = mike@flora.org
dbfn_read: key=R:flora.org
dbfn_read: key=R:mike@flora.org
mike@flora.org: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>
After directing:
Local deliveries:
Remote deliveries:
Failed addresses:
Addresses to be routed:
mike@flora.org
Deferred addresses:
>>>>>>>>>>>>>>>>>>>>>>>>
routing mike@flora.org, domain flora.org
lookuphost router called for mike@flora.org
dns lookup: route_domain = flora.org
DNS lookup of flora.org (MX) succeeded
Actual local interface address is 127.0.0.1 (lo)
Actual local interface address is 192.168.1.21 (eth0)
fully qualified name = flora.org
host_find_bydns yield = HOST_FOUND (2); returned hosts:
mail.flora.ca 209.195.78.66 5 512
mail2.flora.ca 216.187.106.239 6 669
mailhost.sandelman.ottawa.on.ca 192.139.46.2 20 2093
queued for remote_smtp transport: local_part=mike domain=flora.org
errors_to=NULL
domain_data=NULL local_part_data=NULL
routed by lookuphost router:
deliver to mike@flora.org
transport: remote_smtp
host mail.flora.ca [209.195.78.66] MX=5
host mail2.flora.ca [216.187.106.239] MX=6
host mailhost.sandelman.ottawa.on.ca [192.139.46.2] MX=20
search_tidyup called
>>>>>> Remote deliveries >>>>>>
remote_smtp transport entered
mike@flora.org
checking status of mail.flora.ca
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
dbfn_read: key=T:mail.flora.ca:209.195.78.66
dbfn_read: key=T:mail.flora.ca:209.195.78.66:17KtGq-00019b-00
no host retry record
no message retry record
mail.flora.ca [209.195.78.66] status = usable
host in ? no (option unset)
delivering 17KtGq-00019b-00 to mail.flora.ca [209.195.78.66] (mike@flora.org)
set_process_info: 4525 delivering 17KtGq-00019b-00 to mail.flora.ca
[209.195.78.66] (mike@flora.org)
Connecting to mail.flora.ca [209.195.78.66.25] ...


I've got no idea why it just stops here.. Suggestions would be very helpful..
I'm trying to resolve a prolbem I'm having that I suspect lies with my ISP's
SMTP server..

Mike
--
Mike Gifford, OpenConcept Consulting, http://www.openconcept.ca
Open Source Web Applications for Social Change
New Site Launched: http://www.patmartin.org/
War is a poor chisel to carve out tomorrows. ML King, Jr.
RE: Sending mail with exim.. [ In reply to ]
> 2002-06-20 00:10:08 17KtGq-00019b-00 == mike@flora.org
> routing defer (-45):
> domain is in queue_remote_domains

That says it all. flora.org is in your queue_remote_domains in exim.conf. Thats your problem.
Re: Sending mail with exim.. [ In reply to ]
On Thu, 20 Jun 2002, Mike Gifford wrote:

> Connecting to mail.flora.ca [209.195.78.66.25] ...
>
>
> I've got no idea why it just stops here.. Suggestions would be very helpful..

i'd say go dump the wire to see what's going on. try with telnet by
hand first, and if that shows nothing, go tcpdump or ethereal or
something..

> I'm trying to resolve a prolbem I'm having that I suspect lies with my ISP's
> SMTP server..

or some packet filter or something in between ?


--
[-]
RE: Sending mail with exim.. [ In reply to ]
On Thu, 20 Jun 2002, Jan Johansson wrote:

> > 2002-06-20 00:10:08 17KtGq-00019b-00 == mike@flora.org
> > routing defer (-45):
> > domain is in queue_remote_domains
>
> That says it all. flora.org is in your queue_remote_domains in exim.conf. Thats your problem.

no. i think this was added as a measure to be able to do the queue run
with high debug level.


--
[-]
RE: Sending mail with exim.. [ In reply to ]
> Connecting to mail.flora.ca [209.195.78.66.25] ...

> I've got no idea why it just stops here.. Suggestions would
> be very helpful..
> I'm trying to resolve a prolbem I'm having that I suspect
> lies with my ISP's
> SMTP server..

Sorry, i spoke to soon on that. Well, i have no problem in connecting to that host. Could it be a evil ISP? Does 209.195.78.66 belong to your ISP or is it a remote resource? Quite a few ISP have started to block port 25 to all hosts except their own SMTP hosts. Have you verified with telnet?
RE: Sending mail with exim.. [ In reply to ]
> no. i think this was added as a measure to be able to do the queue run
> with high debug level.

Yeap, i spoke to soon, and revised my comment. Sorry.
RE: Sending mail with exim.. [ In reply to ]
Hello,

Thanks for your quick response..

On Thu, 2002-06-20 at 09:08, Jan Johansson wrote:
> > 2002-06-20 00:10:08 17KtGq-00019b-00 == mike@flora.org
> > routing defer (-45):
> > domain is in queue_remote_domains
> That says it all. flora.org is in your queue_remote_domains in exim.conf.
Thats your problem.

I commented this out and it did seem to change some things:
# Added because of http://www.hserus.net/exim.html by Mike
# queue_remote_domains = *

I'm getting these errors now from the exim_mainlog:

2002-06-20 10:26:18 17L2q4-0000me-00 mail.flora.ca [209.195.78.66]: Connection t
imed out
2002-06-20 10:29:27 17L2q4-0000me-00 mail2.flora.ca [216.187.106.239]: Connectio
n timed out
2002-06-20 10:32:36 17L2q4-0000me-00 mailhost.sandelman.ottawa.on.ca [192.139.46
.2]: Connection timed out
2002-06-20 10:32:36 17L2q4-0000me-00 == mike@flora.org T=remote_smtp defer (110)
: Connection timed out
2002-06-20 10:38:45 17L1AZ-0000ON-00 Spool file 17L1AZ-0000ON-00-D not found
2002-06-20 10:39:51 17L36F-0000qO-00 <= mike@office.openconcept.ca U=mike P=loca
l S=491
2002-06-20 10:39:51 17L36F-0000qO-00 == mike@flora.org T=remote_smtp defer (-44)
: retry time not reached for any host


Believe they are likely emerging as I (following someone's comments in a
weblog) deleted the log files (as exim would recreate them.

On Thu, 2002-06-20 at 09:16, Jan Johansson wrote:
> > Connecting to mail.flora.ca [209.195.78.66.25] ...
> > I've got no idea why it just stops here.. Suggestions would
> > be very helpful..
> > I'm trying to resolve a prolbem I'm having that I suspect
> > lies with my ISP's
> > SMTP server..
> Sorry, i spoke to soon on that. Well, i have no problem in connecting
> to that host. Could it be a evil ISP? Does 209.195.78.66 belong to
> your ISP or is it a remote resource? Quite a few ISP have started to
> block port 25 to all hosts except their own SMTP hosts.

I don't think that this evil ISP is blocking port 25.. The IP (209.195.78.66)
doesn't belong to the ISP, but it is the computer where my mailbox resides
(it's outside of my system).

I don't generally have a problem connecting to that IP either.. That is where
requests to mike@flora.org should go.. (and where I was sending it)

> Have you verified with telnet?

I haven't.. But I'm not sure how to do this either.. I only want to use exim
to send mail, I don't actually want to receive mail locally with it.. It's
actually behind a firewall (which could well be the problem - although that
shouldn't block port 25) I could put exim on an internet visible computer if
this is needed -- I just don't know if that is needed or not..

Mike
--
Mike Gifford, OpenConcept Consulting, http://www.openconcept.ca
Open Source Web Applications for Social Change
New Site Launched: http://www.patmartin.org/
War is a poor chisel to carve out tomorrows. ML King, Jr.
RE: Sending mail with exim.. [ In reply to ]
On Thu, 20 Jun 2002, Mike Gifford wrote:

> 2002-06-20 10:29:27 17L2q4-0000me-00 mail2.flora.ca [216.187.106.239]: Connectio
> n timed out

> > Have you verified with telnet?
>
> I haven't.. But I'm not sure how to do this either..

Do this simple test

telnet 216.187.106.239 25

If that times out (as I suspect it will), you do not have an Exim
problem. You have a connectivity problem. You need to find out why your
host cannot connect to that host's SMTP port (port 25). The host is
currently up. I can connect to it:

$ telnet 216.187.106.239 25
Trying 216.187.106.239...
Connected to 216.187.106.239.
Escape character is '^]'.
220 bangalore.flora.ca ESMTP Sendmail 8.11.6/8.11.6; Thu, 20 Jun 2002 11:24:03 -0400




--
Philip Hazel University of Cambridge Computing Service,
ph10@cus.cam.ac.uk Cambridge, England. Phone: +44 1223 334714.
RE: Sending mail with exim.. [ In reply to ]
On Thu, 20 Jun 2002, Mike Gifford wrote:

> actually behind a firewall (which could well be the problem - although that

ah, the important bits of information are always hidden ;)

> shouldn't block port 25) I could put exim on an internet visible computer if

"should not" and "does not" are different in many ways :) i'd check
that first. (i mean, if i would admin the fw, i wouldn't let everyone
out on port 25. it's a kinda good measure to stop worms from spreading
on that somehow got inside your system)

> this is needed -- I just don't know if that is needed or not..

no, it's not. all is needed that the exim machine needs to be able to
communicate towards port 25 of other machines (or that one particular
machine, depending on what do oy exactly want to do)


--
[-]
RE: Sending mail with exim.. [ In reply to ]
Hello All,

On Thu, 2002-06-20 at 11:25, Philip Hazel wrote:
> On Thu, 20 Jun 2002, Mike Gifford wrote:
> > 2002-06-20 10:29:27 17L2q4-0000me-00 mail2.flora.ca
[216.187.106.239]: Connectio
> > n timed out
> > > Have you verified with telnet?
> > I haven't.. But I'm not sure how to do this either..
> Do this simple test
> telnet 216.187.106.239 25

Done & failed!

> If that times out (as I suspect it will), you do not have an Exim
> problem. You have a connectivity problem. You need to find out why
your
> host cannot connect to that host's SMTP port (port 25). The host is
> currently up. I can connect to it:

Yes.. I expect that this is the problem.. Sympatico.ca HSE is evil..

> $ telnet 216.187.106.239 25
> Trying 216.187.106.239...
> Connected to 216.187.106.239.
> Escape character is '^]'.
> 220 bangalore.flora.ca ESMTP Sendmail 8.11.6/8.11.6; Thu, 20 Jun 2002
11:24:03 -0400

Thanks! got confirmation from others on a local irc that they block
both incoming and outgoing calls on port 25..

Thanks for your help though!

I may be back to trying exim again if I can send mail on port 26 to
another user who isn't stuck behind an ISP who blocks this port..

Mike
--
Mike Gifford, OpenConcept Consulting, http://www.openconcept.ca
Open Source Web Applications for Social Change
New Site Launched: http://www.patmartin.org/
War is a poor chisel to carve out tomorrows. ML King, Jr.
Re: Sending mail with exim.. [ In reply to ]
--
On Thu, Jun 20, 2002 at 12:28:00PM -0400, Mike Gifford wrote:

| Yes.. I expect that this is the problem.. Sympatico.ca HSE is evil..

| Thanks! got confirmation from others on a local irc that they block
| both incoming and outgoing calls on port 25..

Actually, that's a good thing for most -- it prevents your neighbors
who use Outlook and Klez from sharing it with the rest of us. It also
prevents direct-to-mx spammers from abusing their service. It also
prevents them from being open-relays.

(of course, it does prevent responsible customers from running their
own private mail server and using ddts or dyndns for name service)

| I may be back to trying exim again if I can send mail on port 26 to
| another user who isn't stuck behind an ISP who blocks this port..

If the host you wish to transfer to is willing to accept SMTP
connections on a port that isn't blocked from your side, you can
coerce your copy of exim to make the outgoing connection on that
alternate port.

An easier solution is to simply use your ISP as a "smarthost relay".
This is the intended setup for a home user. What this means is that
you'll connect to Sympatico.ca's SMTP server and have it transfer the
message on to your intended recipient.

-D

--

The heart is deceitful above all things
and beyond cure.
Who can understand it?

I the Lord search the heart
and examine the mind,
to reward a man according to his conduct,
according to what his deeds deserve.

Jeremiah 17:9-10

http://dman.ddts.net/~dman/

--
[ Content of type application/pgp-signature deleted ]
--