RE: Sending Email from script
-----Original Message-----
From: Johannes Wiedersich [mailto:johannes@physik.blm.tu-muenchen.de]
Sent: Thursday, July 19, 2007 3:31 PM
To: Mace, Nathan; debian-user@lists.debian.org
Subject: Re: Sending Email from script
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mace, Nathan wrote:
>> -----Original Message-----
>> From: Johannes Wiedersich [mailto:johannes@physik.blm.tu-muenchen.de]
>> Sent: Thursday, July 19, 2007 1:40 PM
>> To: Mace, Nathan; debian-user@lists.debian.org
>> Subject: Re: Sending Email from script
>>
>> Mace, Nathan wrote:
>>> The exim log reports the following:
>>
>>
>>> 2007-07-19 09:14:10 1IBVpa-0002I8-2H <= nathan@student-test.ucwv.edu
>>> U=nathan P=local S=415
>>> 2007-07-19 09:14:10 1IBVpa-0002I8-2H
>>> llserv.physik.blm.tu-muenchen.de [141.40.131.45] Connection refused
>>> 2007-07-19 09:14:10 1IBVpa-0002I8-2H mailrelay1.lrz-muenchen.de
>>> [129.187.254.106] Connection refused
>>> 2007-07-19 09:14:10 1IBVpa-0002I8-2H mailrelay2.lrz-muenchen.de
>>> [129.187.254.102] Connection refused
>>> 2007-07-19 09:14:10 1IBVpa-0002I8-2H ==
>>> johannes@physik.blm.tu-muenchen.de R=dnslookup T=remote_smtp defer
>>> (111): Connection refused
>>
>> Ok, I get about the same:
>>
>> 2007-07-19 19:01:10 1IBZNG-0004E0-46 ** nathan@student-test.ucwv.edu:
>> Unrouteable address
>>
>> when I try to mail to the address you specified. It appears your
>> server doesn't have a proper name server entry, so our mail server
>> (and your
>> exim4 as well) decides it is a spam server and refuses to connect to
it.
>>
>> Note that your connection looks ok up to when our mail server tries
>> to lookup your 'return address' and then refuses to accept your mail
>> (because it is invalid).
>>
>> Johannes
>>
>>
>
> Student-test.ucwv.edu isn't a valid domain once you get off my
> internal network. This will be used ONLY for sending email to a mail
> server that is on the same local network. That explains why you can't
resolve it.
Ok.
> But the fact that you got an error message seems to indicate that my
> box is doing its part to send the email, just that the Exchange server
> isn't accepting it. Or am I interrupting the results incorrectly?
As far as I understand it, yes. It even receives the error message from
our mail server at this side of the atlantic...
Other possibility would be that your nameserver or resolver set-up is
incorrect. Can you do a
ping exchange.server
where exchange.server is the part after the "@" of the e-mail-address?
Johannes
Pinging "ucwv.edu" returns the ip address of the dns/domain controller.
Not the exchange server. I tried sending myself an email formated as
myaddress@email-server.ucwv.edu basically using the email servers fully
qualified name. That still didn't help.
Nathan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGn7vkC1NzPRl9qEURAkrdAJ9uuUS4oSQX0lvVirevVMmK1kGMpACeOivx
Hx/BG6+18XhxdfuDl4xr7FE=
=yYQw
-----END PGP SIGNATURE-----
Reply to: