Date: Mon, 20 Mar 2006 13:00:00 -0800 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Ming Tang <mtang@insightbb.com> Cc: freebsd-questions@FreeBSD.org Subject: Re: sendmail configuration Message-ID: <20060320210000.GB1312@flame.pc> In-Reply-To: <000b01c64c22$a8253e90$6400a8c0@Ming> References: <20060320113355.GA7679@flame.pc> <000b01c64c22$a8253e90$6400a8c0@Ming>
next in thread | previous in thread | raw e-mail | index | archive | help
Please *DON'T top post. On 2006-03-20 07:31, Ming Tang <mtang@insightbb.com> wrote: >Giorgos Keramidas [mailto:keramida@ceid.upatras.gr] wrote: >>Ming Tang [mailto:mtang@insightbb.com] wrote: >>> >>> I got an email problem. My server can only receive email but >>> cannot send any email out after I changed my server configuration >>> recently from NAT to a D-Link router (DI-624) which supports and >>> passes through all virtual servers to an internal server. I always >>> get the attached error message as soon as I send a mail out from a >>> pop-client, MS Outlook. I think the message was generate by my own >>> email server. I can send out email no problem if I chose from >>> other email servers. >>> >>> My domain name server was configured as follows: >>> >>> ns1.n2mt.com is an internal server for name server, email server, >>> and web server. >>> >>> n2mt.com. in A 12.208.70.3 >>> in MX 5 ns1.n2mt.com. >> >> You are not using 'domainname.com' as an internal, local-only domain >> name, right? Because it's already taken and registered by a *real* >> name-server out there... > > Sorry for the confusion. I did not use real domain name in my last message. > I just modified the original message and replaced domainname.com by real > domain name with email problem. Much better. Now we can at least use normal tools like `host', `dig' and others to help you find out more information. >>> I configured email files 'access' and 'local-host-names' files for >>> sendmail (2000 version) as follows. >>> >>> n2mt.com RELAY for access >>> n2mt.com for local-host-name >>> >>> And mapped in 'virtusertable' as: @n2mt.com %1@ns1.n2mt.com This last part doesn't look very right. You don't have to rewrite local addresses using `virtusertable' if you simply want all of them to be local. Just add both `n2mt.com' and `ns1.n2mt.com' to `local-host-names'. >>> These files were compiled and mail & domain name server restarted, >>> but the problem still remains there. >>> >>> Any one there got any idea or experienced the same >>> problems. Please help. Thanks in advance. >>[error message from some mail server] >>> -----Original Message----- >>> From: System Administrator >>> Sent: Monday, March 20, 2006 7:01 AM >>> To: 'RAYMOND KOEIMAN' >>> Subject: Undeliverable: Email test >>> >>> Your message did not reach some or all of the intended recipients. >>> >>> Subject: Email test >>> Sent: 3/20/2006 7:00 AM >>> >>> The following recipient(s) could not be reached: >>> >>> 'RAYMOND KOEIMAN' on 3/20/2006 7:01 AM >>> 550 5.7.1 <rmdkoeiman@hotmail.com>... Relaying denied. IP name >>> possibly forged [12.208.70.3] >> >> Is that the *exact* message you got back? If not, please post the exact >> error message you are getting. > > Thanks for the reply. No problem. I still don't know if the above email error message is the _exact_ reply you are getting though :( Hazarding a guess, the message you see above could be related to DNS issues. Your name server thinks its name is `ns1.n2mt.com', but the IP address resolves to a much different name: # [keramida@flame /home/keramida]$ host ns1.n2mt.com. # ns1.n2mt.com has address 12.208.70.3 # [keramida@flame /home/keramida]$ host 12.208.70.3 # 3.70.208.12.in-addr.arpa domain name pointer 12-208-70-3.client.insightbb.com. # [keramida@flame /home/keramida]$ Can you ask your ISP to assign `ns1.n2mt.com.' to your IP address too? - Giorgos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060320210000.GB1312>