From owner-freebsd-questions Thu Mar 6 9:27: 5 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C95037B401 for ; Thu, 6 Mar 2003 09:27:03 -0800 (PST) Received: from diana.northnetworks.ca (att-ws20.switchview.com [216.13.70.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ECA443F85 for ; Thu, 6 Mar 2003 09:27:02 -0800 (PST) (envelope-from iaccounts@northnetworks.ca) Received: from localhost (iaccounts@localhost) by diana.northnetworks.ca (8.11.6/8.11.6) with ESMTP id h26HQuT14337; Thu, 6 Mar 2003 12:26:56 -0500 (EST) (envelope-from iaccounts@northnetworks.ca) Date: Thu, 6 Mar 2003 12:26:56 -0500 (EST) From: IAccounts To: Brian Henning Cc: freebsd Subject: Re: mail problem In-Reply-To: Message-ID: <20030306122125.U4415-100000@diana.northnetworks.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 6 Mar 2003, Brian Henning wrote: > > On 2003-03-06 10:51, Brian Henning wrote: > > > i am able to perform the following command fine when i want to send > > > mail on the local network. > > > > > > cat input_message.txt | mail -s "hello world" henninb@localhost > > > > > > is there a flag that i can pass to mail to tell it to use the proper > > > server for when i want to perform this operation to an address > > > outside my local network? > > > > > > cat input_message.txt | mail -s "hello world" b1henning@hotmail.com > > > > Have you checked your /var/log/maillog file? Any hints there? > > > > When you say that you are unable to use mail(1), do you mean that you > > get the message returned to your local mailbox? If yes, what is the > > precise error that the failed delivery contains? > > > > - Giorgos > > > > ... while talking to mail.navitaire.com.: > >>> MAIL From: SIZE=389 > <<< 553 5.1.8 ... Domain of sender address henni > nb@trinity.the-matrix.net does not exist > > > the error seems to point to the domain name of my internal network... is there a > way to change this such that the server will accept my emial? In the DNS zone file for error domain, there is an MX record pointing to your localhost. If you are not sending mail from the machine DNS is running on, it will surely fail. I don't believe this is related to this specific issue though. I am assuming that trinity is a host in the the-matrix.net domain. If this is the case, you need to create an A record in your DNS for this host. If you can't do that, try putting the FQDN inside of /etc/hosts with it's ip. This should be done on the box that sendmail is running on. Steve > > thanks, > brian > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message