Re: [PHP] Exim sendmail faults

2002-07-04 Thread Liam Gibbs

 Are you able to do an nslookup of these domains from the server?

Those, of course, were just example email addresses (I'd replaced
them before sending out this email so it would be more clear).
If I use a real email address I get the same error unrouteable mail
domain

I am able to nslookup the addresses before hand so I don't
understand why the mail delivery is not working...

thx,
Liam

 -Original Message-
 From: Liam Gibbs [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 03, 2002 12:58 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Exim sendmail faults
 
 I apologize; this may be more a question for the
 people in php-install. But I'm having some problems
 with my mail stuff in PHP.
 
 I have Exim version 3.12 installed, but I'm not
 getting any mails sent out by PHP. I *do* get this
 error mail, however:
 
 This is automatically emailed back to me:
 
 This message was created automatically by mail
 delivery software.
 
 A message that you sent could not be delivered to
 one or more of its recipients. The following
 address(es) failed:
 
   [EMAIL PROTECTED]:
  unrouteable mail domain theemailaddress.com
 
 This is in the error log files:
 
 2002-07-02 03:26:13 17PI3B-0003sM-00 =
 [EMAIL PROTECTED] U=root
 P=local S=2
 95
 2002-07-02 03:26:13 17PI3B-0003sM-00 **
 [EMAIL PROTECTED]:
 unrouteable mail d
 omain anotheremailaddress.com
 2002-07-02 03:26:13 17PI3B-0003sO-00 = 
 R=17PI3B-0003sM-00 U=mail
 P=local S=1
 063
 2002-07-02 03:26:13 17PI3B-0003sM-00 Error message
 sent to
 [EMAIL PROTECTED]
 2002-07-02 03:26:13 17PI3B-0003sM-00 Completed
 2002-07-02 03:26:13 17PI3B-0003sO-00 = root
 [EMAIL PROTECTED]
 D=localuser
  T=local_delivery
 2002-07-02 03:26:13 17PI3B-0003sO-00 Completed
 
 Any thoughts? I know all these e-mail addresses and ip
 addresses are valid (they're either mine or of
 acquaintances), but the server seems to fight me on
 this one.
 
 __
 Do You Yahoo!?
 Sign up for SBC Yahoo! Dial - First Month Free
 http://sbc.yahoo.com
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 This message is intended for the sole use of the individual and entity to
 whom it is addressed, and may contain information that is privileged,
 confidential and exempt from disclosure under applicable law.  If you are
 not the intended addressee, nor authorized to receive for the intended
 addressee, you are hereby notified that you may not use, copy, disclose or
 distribute to anyone the message or any information contained in the
 message.  If you have received this message in error, please immediately
 advise the sender by reply email and delete the message.  Thank you very
 much.
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Exim sendmail faults

2002-07-04 Thread Jason Wong

On Thursday 04 July 2002 23:47, Liam Gibbs wrote:
  Are you able to do an nslookup of these domains from the server?

 Those, of course, were just example email addresses (I'd replaced
 them before sending out this email so it would be more clear).
 If I use a real email address I get the same error unrouteable mail
 domain

 I am able to nslookup the addresses before hand so I don't
 understand why the mail delivery is not working...

Generally, with email problems it is best to show the actual domains, makes 
troubleshooting easier.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Just because you like my stuff doesn't mean I owe you anything.
-- Bob Dylan
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Exim sendmail faults

2002-07-04 Thread Liam Gibbs

Jason Wong wrote:
 On Thursday 04 July 2002 23:47, Liam Gibbs wrote:
   Are you able to do an nslookup of these domains from the server?
 
  Those, of course, were just example email addresses (I'd replaced
  them before sending out this email so it would be more clear).
  If I use a real email address I get the same error unrouteable mail
  domain
 
  I am able to nslookup the addresses before hand so I don't
  understand why the mail delivery is not working...
 
 Generally, with email problems it is best to show the actual domains, makes
 troubleshooting easier.

Ok, fair enough.

Here are the full errors I get when I try to mail [EMAIL PROTECTED]
(BTW, I'm doing it as root but I get the same errors no matter who
I'm logged in as or if I do it through PHP):

Returned email:

From MAILER-DAEMON Thu Jul 04 06:57:34 2002
Envelope-to: [EMAIL PROTECTED]
X-Failed-Recipients: [EMAIL PROTECTED]
From: Mail Delivery System [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Mail delivery failed: returning message to sender
Date: Thu, 04 Jul 2002 06:57:34 -0400

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. The following address(es) failed:

  [EMAIL PROTECTED]:
unrouteable mail domain sympatico.ca

-- This is a copy of the message, including all the headers. --

Return-path: [EMAIL PROTECTED]
Received: from root by www with local (Exim 3.12 #1 (Debian))
id 17Q4Io-0004Fx-00
for [EMAIL PROTECTED]; Thu, 04 Jul 2002 06:57:34 -0400
To: [EMAIL PROTECTED]
Subject: test
Message-Id: E17Q4Io-0004Fx-00@www
From: root [EMAIL PROTECTED]
Date: Thu, 04 Jul 2002 06:57:34 -0400

this is a test




Exim log:

2002-07-04 06:57:34 17Q4Io-0004Fx-00 = [EMAIL PROTECTED] U=root
P=local S=3
08
2002-07-04 06:57:34 17Q4Io-0004Fx-00 ** [EMAIL PROTECTED]:
unrouteable mail d
omain sympatico.ca
2002-07-04 06:57:34 17Q4Io-0004Fz-00 =  R=17Q4Io-0004Fx-00 U=mail
P=local S=1
076
2002-07-04 06:57:34 17Q4Io-0004Fx-00 Error message sent to
[EMAIL PROTECTED]
2002-07-04 06:57:34 17Q4Io-0004Fx-00 Completed
2002-07-04 06:57:35 17Q4Io-0004Fz-00 = root [EMAIL PROTECTED]
D=localuser
 T=local_delivery
2002-07-04 06:57:35 17Q4Io-0004Fz-00 Completed


nslookup attempt:

www:~# nslookup sympatico.ca
Server:  localhost
Address:  127.0.0.1

Non-authoritative answer:
Name:sympatico.ca
Address:  206.47.72.104

www:~#


-- 
 Blessed are they who can laugh at themselves for  
 they shall never cease to be amused.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Exim sendmail faults

2002-07-04 Thread Chris Hewitt

Liam,

I was going to ask you whether a normal user on your computer could send 
mail (OK, root counts). As the answer is no, it is not a problem with 
your php setup.

sympatico.ca has several MX entries, the first of which is 
smtp26.bellglobal.com and I can ping that from here. I also get a 
response by telnetting to port 25. I conclude that I could send email to 
that address (whether the user would be accepted I don't know).

As you presently cannot from your computer, I guess its an Exim 
configuration issue (which I know nothing about), but have you 
configured it up for your computer, domain etc.?

Hope this helps.
Chris

Liam Gibbs wrote:


Ok, fair enough.

Here are the full errors I get when I try to mail [EMAIL PROTECTED]
(BTW, I'm doing it as root but I get the same errors no matter who
I'm logged in as or if I do it through PHP):




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Exim sendmail faults

2002-07-04 Thread Liam Gibbs

Chris Hewitt wrote:
 I was going to ask you whether a normal user on your computer could send
 mail (OK, root counts). As the answer is no, it is not a problem with
 your php setup.
 
 sympatico.ca has several MX entries, the first of which is
 smtp26.bellglobal.com and I can ping that from here. I also get a
 response by telnetting to port 25. I conclude that I could send email to
 that address (whether the user would be accepted I don't know).
 
 As you presently cannot from your computer, I guess its an Exim
 configuration issue (which I know nothing about), but have you
 configured it up for your computer, domain etc.?

Ok, perhaps I should explain the server set up a bit more...
This will end up being off topic for PHP I think but perhaps
there is someone who may be able to help me (I will also post
this information on the Exim mailing list I just discovered).

sympatico.ca is a large internet provider which I have an
ADSL connection through. Any sympatico.ca servers don't belong
to me but to the provider.

Off this ADSL connection is a BSD box which does my firewalling, 
etc. Behind that box is the web server which is called 
www.cell.dhs.org (cell.dhs.org being my domain). On this 
server is a Debian Linux box which runs Apache with PHP, 
the Exim mail server, etc.

So, any idea what I could be missing from my configuration
that would let me ping addresses nslookup them but not
send mail to them?

Any other questions/information needed?

thx for the help!

 Liam Gibbs wrote:
 
 
 Ok, fair enough.
 
 Here are the full errors I get when I try to mail [EMAIL PROTECTED]
 (BTW, I'm doing it as root but I get the same errors no matter who
 I'm logged in as or if I do it through PHP):

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Exim sendmail faults

2002-07-04 Thread Miles Thompson

Liam,

Unfortunately I discarded the earlier messages, so I don't know what your 
error is.
Do you have a fixed IP or do you have something like the Mpowered service 
where you're behind sympatico's NAT server?

Can you use exim to send mail from the console? Is sympatcio allowing this?

You may have to configure exim to use sympatico's SMTP server. (It's been 
so long since I've done that I forget how, and it was a real trial and 
error approach.)

This probably isn't much help - Miles Thompson

PS You may want to post this on the nslug.ca list; some mail guru's read 
it. /mt

At 01:58 PM 7/4/2002 -0400, Liam Gibbs wrote:
Chris Hewitt wrote:
  I was going to ask you whether a normal user on your computer could send
  mail (OK, root counts). As the answer is no, it is not a problem with
  your php setup.
 
  sympatico.ca has several MX entries, the first of which is
  smtp26.bellglobal.com and I can ping that from here. I also get a
  response by telnetting to port 25. I conclude that I could send email to
  that address (whether the user would be accepted I don't know).
 
  As you presently cannot from your computer, I guess its an Exim
  configuration issue (which I know nothing about), but have you
  configured it up for your computer, domain etc.?

Ok, perhaps I should explain the server set up a bit more...
This will end up being off topic for PHP I think but perhaps
there is someone who may be able to help me (I will also post
this information on the Exim mailing list I just discovered).

sympatico.ca is a large internet provider which I have an
ADSL connection through. Any sympatico.ca servers don't belong
to me but to the provider.

Off this ADSL connection is a BSD box which does my firewalling,
etc. Behind that box is the web server which is called
www.cell.dhs.org (cell.dhs.org being my domain). On this
server is a Debian Linux box which runs Apache with PHP,
the Exim mail server, etc.

So, any idea what I could be missing from my configuration
that would let me ping addresses nslookup them but not
send mail to them?

Any other questions/information needed?

thx for the help!

  Liam Gibbs wrote:
 
  
  Ok, fair enough.
  
  Here are the full errors I get when I try to mail [EMAIL PROTECTED]
  (BTW, I'm doing it as root but I get the same errors no matter who
  I'm logged in as or if I do it through PHP):

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Exim sendmail faults

2002-07-04 Thread Liam Gibbs

Miles Thompson wrote:
 Unfortunately I discarded the earlier messages, so I don't know what your
 error is.

When I try to send an email I get:
unrouteable mail domain anydomain.ca

I can resend you the full error messages if you want.

 Do you have a fixed IP or do you have something like the Mpowered service
 where you're behind sympatico's NAT server?

I have a fixed IP address. My BSD box is using NAT to port forward
to the web server which sits behind it.

 Can you use exim to send mail from the console? Is sympatcio allowing this?

Sympatico allows it but I can't do it (I used to have another
box that did this but it got hacked and pretty much destroyed...)

 You may have to configure exim to use sympatico's SMTP server. (It's been
 so long since I've done that I forget how, and it was a real trial and
 error approach.)

I don't think I have to use their SMTP server. My old one (which used
Sendmail itself rather than Exim) was set up to act as it's own
SMTP server and worked well. I wish it hadn't been hacked *cries*

 This probably isn't much help - Miles Thompson

That's ok, at least you're trying. I've posted on other mail
lists and got nothing in return at all!

 PS You may want to post this on the nslug.ca list; some mail guru's read
 it. /mt

Cool, I'll check it.

ttyl.

 At 01:58 PM 7/4/2002 -0400, Liam Gibbs wrote:
 Chris Hewitt wrote:
   I was going to ask you whether a normal user on your computer could send
   mail (OK, root counts). As the answer is no, it is not a problem with
   your php setup.
  
   sympatico.ca has several MX entries, the first of which is
   smtp26.bellglobal.com and I can ping that from here. I also get a
   response by telnetting to port 25. I conclude that I could send email to
   that address (whether the user would be accepted I don't know).
  
   As you presently cannot from your computer, I guess its an Exim
   configuration issue (which I know nothing about), but have you
   configured it up for your computer, domain etc.?
 
 Ok, perhaps I should explain the server set up a bit more...
 This will end up being off topic for PHP I think but perhaps
 there is someone who may be able to help me (I will also post
 this information on the Exim mailing list I just discovered).
 
 sympatico.ca is a large internet provider which I have an
 ADSL connection through. Any sympatico.ca servers don't belong
 to me but to the provider.
 
 Off this ADSL connection is a BSD box which does my firewalling,
 etc. Behind that box is the web server which is called
 www.cell.dhs.org (cell.dhs.org being my domain). On this
 server is a Debian Linux box which runs Apache with PHP,
 the Exim mail server, etc.
 
 So, any idea what I could be missing from my configuration
 that would let me ping addresses nslookup them but not
 send mail to them?
 
 Any other questions/information needed?
 
 thx for the help!
 
   Liam Gibbs wrote:
  
   
   Ok, fair enough.
   
   Here are the full errors I get when I try to mail [EMAIL PROTECTED]
   (BTW, I'm doing it as root but I get the same errors no matter who
   I'm logged in as or if I do it through PHP):

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Exim sendmail faults

2002-07-04 Thread Miles Thompson

Liam,

Is anydomain.ca in exim's configuration file? Where did that come from?

And, you probably know much more about this than I do, but did you try 
those little validation exercises in exim's setup guide? I assume exim 
let's you send mail to yourself on the same box.

This ain't much help - Miles

At 02:21 PM 7/4/2002 -0400, Liam Gibbs wrote:
Miles Thompson wrote:
  Unfortunately I discarded the earlier messages, so I don't know what your
  error is.

When I try to send an email I get:
unrouteable mail domain anydomain.ca

I can resend you the full error messages if you want.

  Do you have a fixed IP or do you have something like the Mpowered service
  where you're behind sympatico's NAT server?

I have a fixed IP address. My BSD box is using NAT to port forward
to the web server which sits behind it.

  Can you use exim to send mail from the console? Is sympatcio allowing this?

Sympatico allows it but I can't do it (I used to have another
box that did this but it got hacked and pretty much destroyed...)

snipped



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Exim sendmail faults

2002-07-04 Thread Liam Gibbs

Miles Thompson wrote:
 
 Liam,
 
 Is anydomain.ca in exim's configuration file? Where did that come from?

I put anydomain.ca because if I try to mail any domain it fails. I was
using sympatico.ca when I was doing my testing.

I don't think I have any domains expilicitly in the exim configuration
file (I thought I had it configured to send to any domain
but I'll have to look into this a bit more before giving
a complete answer).

 And, you probably know much more about this than I do, but did you try
 those little validation exercises in exim's setup guide? 

No, I didn't even know they were there. Can you point me to the
web page they are on?

 I assume exim
 let's you send mail to yourself on the same box.

Yes, if I mail to a user on that box it works but I suspect that
that is because exim is smart enough to just stuff it directly
to that user's box rather than sending it out for a world trip.

 This ain't much help - Miles

Sure it is! If I take 100 small steps I'll get the equivalent of 
one big step!

ttyl.

 At 02:21 PM 7/4/2002 -0400, Liam Gibbs wrote:
 Miles Thompson wrote:
   Unfortunately I discarded the earlier messages, so I don't know what your
   error is.
 
 When I try to send an email I get:
 unrouteable mail domain anydomain.ca
 
 I can resend you the full error messages if you want.
 
   Do you have a fixed IP or do you have something like the Mpowered service
   where you're behind sympatico's NAT server?
 
 I have a fixed IP address. My BSD box is using NAT to port forward
 to the web server which sits behind it.
 
   Can you use exim to send mail from the console? Is sympatcio allowing this?
 
 Sympatico allows it but I can't do it (I used to have another
 box that did this but it got hacked and pretty much destroyed...)
 
 snipped
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php

-- 
 Blessed are they who can laugh at themselves for  
 they shall never cease to be amused.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Exim sendmail faults

2002-07-04 Thread Chris Hewitt

Liam Gibbs wrote:

Chris Hewitt wrote:

One quick test is to set up an email client (Netscape whatever) to talk
to sympatico's smtp server directly (leaving out your exim server). If
you can send mail from this then permissions to send are OK, and we look
around the Exim configuration.


I have several Windows machines behind the firewall too which
are able to do this so it must be Exim's configuration.

OK so routing and mail permissions are OK.


I think my host does resolve properly because if you type
www.cell.dhs.org
into a web browser from an external machine it brings up the default
web page on my server.

Yep. Hey, it the same as mine (when I'm on)!

If you used to use
sendmail, do you still have the working sendmail.cf file? If so that
will give you most of the information you need.

I may still have it. I'll have to check.

If so, maybe you want to go back to sendmail (not that I'm knocking 
exim). Some of the guys on the redhat-install-list are good email setup 
people if you don't get joy on the exim list.


thx for the help!

You are welcome to my small bit of knowledge. Sorry to everyone else 
that this has got quite OT.

Chris



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Exim sendmail faults

2002-07-03 Thread Lazor, Ed

Are you able to do an nslookup of these domains from the server?

-Original Message-
From: Liam Gibbs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 12:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Exim sendmail faults


I apologize; this may be more a question for the
people in php-install. But I'm having some problems
with my mail stuff in PHP.

I have Exim version 3.12 installed, but I'm not
getting any mails sent out by PHP. I *do* get this
error mail, however:

This is automatically emailed back to me:

This message was created automatically by mail
delivery software.

A message that you sent could not be delivered to
one or more of its recipients. The following
address(es) failed:

  [EMAIL PROTECTED]:
 unrouteable mail domain theemailaddress.com


This is in the error log files:

2002-07-02 03:26:13 17PI3B-0003sM-00 =
[EMAIL PROTECTED] U=root
P=local S=2
95
2002-07-02 03:26:13 17PI3B-0003sM-00 **
[EMAIL PROTECTED]:
unrouteable mail d
omain anotheremailaddress.com
2002-07-02 03:26:13 17PI3B-0003sO-00 = 
R=17PI3B-0003sM-00 U=mail
P=local S=1
063
2002-07-02 03:26:13 17PI3B-0003sM-00 Error message
sent to
[EMAIL PROTECTED]
2002-07-02 03:26:13 17PI3B-0003sM-00 Completed
2002-07-02 03:26:13 17PI3B-0003sO-00 = root
[EMAIL PROTECTED]
D=localuser
 T=local_delivery
2002-07-02 03:26:13 17PI3B-0003sO-00 Completed


Any thoughts? I know all these e-mail addresses and ip
addresses are valid (they're either mine or of
acquaintances), but the server seems to fight me on
this one.

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
 

This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law.  If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message.  If you have received this message in error, please immediately
advise the sender by reply email and delete the message.  Thank you very
much.   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php