Re: [gentoo-user] [OT] Setting up correct domainname

2009-09-21 Thread Mick
On Sunday 20 September 2009, Stroller wrote:
 On 20 Sep 2009, at 12:30, Mick wrote:
  ...
  -The following addresses had permanent fatal errors-
  email_acco...@isp.com
   (reason: 550 5.1.0 nag...@myserver.mydomain.com sender rejected :
  invalid
  sender domain)
 
  -Transcript of session follows -
 
  ... while talking to smtp.ISP.com:
  MAIL From:nag...@myserver.mydomain.com SIZE=745 AUTH=
 
   550 5.1.0 nag...@myserver.mydomain.com sender rejected :
  invalid sender
  domain
  554 5.0.0 Service unavailable
  
 
  Does this fail because the ISP's reverse DNS on my dynamically
  allocated IP
  address resolves to an ISP domain instead of myserver.mydomain.com?

 I'm not quite clear. Does the myserver.mydomain.com resolve to the
 server actually sending the mail? I think that may be what they're
 asking for.

Thanks Stroller!  That was it!  For some reason the particular subdomain had 
been taken out of the list of DynDNS and therefore it would no longer resolve 
to the server's IP address.  It goes to show ... start with the obvious 
things first.  Thank goodness I did not started hacking the sendmail 
configuration!  Ha, ha!
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] [OT] Setting up correct domainname

2009-09-20 Thread Mick
Hi All,

Up until a few months ago the ISP of the network in question was happy to 
accept and relay messages from my server myserver.mydomain.com which runs 
nagios.  My server gets its IP address from the ISP in question dynamically 
so I use DynDNS to map the subdomain.domain name to it.

To be able to relay messages I of course have set up sendmail to authenticate 
using email_acco...@isp.com/passwd_on_ISP.

When the ISP stopped accepting messages I started getting this error message:


-The following addresses had permanent fatal errors-
email_acco...@isp.com
  (reason: 550 5.1.0 nag...@myserver.mydomain.com sender rejected : invalid 
sender domain)

-Transcript of session follows -
... while talking to smtp.ISP.com:
 MAIL From:nag...@myserver.mydomain.com SIZE=745 AUTH=
 550 5.1.0 nag...@myserver.mydomain.com sender rejected : invalid sender
domain
554 5.0.0 Service unavailable


Does this fail because the ISP's reverse DNS on my dynamically allocated IP 
address resolves to an ISP domain instead of myserver.mydomain.com?

Is there something I could change in the configuration of my server to make 
this work again?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [OT] Setting up correct domainname

2009-09-20 Thread Stroller


On 20 Sep 2009, at 12:30, Mick wrote:

...
-The following addresses had permanent fatal errors-
email_acco...@isp.com
 (reason: 550 5.1.0 nag...@myserver.mydomain.com sender rejected :  
invalid

sender domain)

-Transcript of session follows -
... while talking to smtp.ISP.com:

MAIL From:nag...@myserver.mydomain.com SIZE=745 AUTH=
 550 5.1.0 nag...@myserver.mydomain.com sender rejected :  
invalid sender

domain
554 5.0.0 Service unavailable


Does this fail because the ISP's reverse DNS on my dynamically  
allocated IP

address resolves to an ISP domain instead of myserver.mydomain.com?


I'm not quite clear. Does the myserver.mydomain.com resolve to the  
server actually sending the mail? I think that may be what they're  
asking for.


Stroller.