On Thu, 15 Sep 2005 10:35:21 +0800 Jinsong Chen <[EMAIL PROTECTED]> wrote:
> Feargal Reilly wrote: > > >The proper thing to do to on FreeBSD is as follows: > > > Yes, I do it as you said. > But, I still get the error message when I send Message out: > Sep 15 09:33:49 www -sm-mta[16820]: j8F9XnpX016820: > ruleset=check_rcpt, arg1=<qu > [EMAIL PROTECTED]>, relay=[218.81.103.225], reject=450 4.7.1 > <[EMAIL PROTECTED]>... Re > laying temporarily denied. Cannot resolve PTR record for > 218.81.103.225 > > I noticed that, the IP 218.81.103.225 is my ADSL gateway's IP > address. so, I am puzzled, > the machine, which being configured for DBmail server, is > placed in the Internet Data Center, > the IP is 61.***.***.***. > > What's wrong with me? Okay, so you're actually connecting from your local network from 218.81.103.225 to your dbmail server at 61.x.x.x. and trying to relay a message to the outside world. This actually has nothing to do with Dbmail, it's just basic sendmail configuration. In your earlier mail, you said you added hotmail.com to your access.db in an attempt to get the mail accepted. You've misunderstood what those config files are for. access is mainly a list of sources *from* which it will receive mail to be relayed to the outside world. relay-domains is a list of domains which sendmail will relay irregardless of the source of the message. By adding hotmail.com to access.db, you in fact told sendmail to relay any messages it receives *from* hotmail.com's IP addresses, not to relay messages destined for hotmail.com If you had added it to relay-domains, then it would have worked. However, what you actually want is for your server to accept any email sent from your ADSL connection. To do this, just add it's IP address, 218.81.103.225, to /etc/mail/access and rebuild and restart as normal. This isn't a Dbmail issue at all, so if you still can't get it to work, please reply off-list. -fr.
