From owner-freebsd-questions Thu Mar 6 10:28:33 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 1006037B401 for ; Thu, 6 Mar 2003 10:28:31 -0800 (PST) Received: from gatekeeper.microcell.ca (gatekeeper.microcell.ca [205.151.8.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9A7E43F93 for ; Thu, 6 Mar 2003 10:28:29 -0800 (PST) (envelope-from SoHo@admin.fido.ca) Received: from mailserv.microcell.ca (mailserv.microcell.ca [10.2.0.87]) by gatekeeper.microcell.ca (Postfix) with ESMTP id 60D1416CC6; Thu, 6 Mar 2003 13:28:24 -0500 (EST) Received: from 127.0.0.1 (localhost [127.0.0.1]) by mailserv.microcell.ca (Postfix) with SMTP id 05D5816BC7; Thu, 6 Mar 2003 13:28:24 -0500 (EST) Received: from lenard.admin.fido.ca (lamus.fido.ca [10.0.1.45]) by mailserv.microcell.ca (Postfix) with ESMTP id 99FE116BC7; Thu, 6 Mar 2003 13:28:22 -0500 (EST) Received: from magni.microcell.ca (magni.microcell.ca [10.6.22.102]) by lenard.admin.fido.ca (SMTP_Gateway) with ESMTP id 75F1547D3C; Thu, 6 Mar 2003 13:28:22 -0500 (EST) Received: from magni.microcell.ca (localhost.microcell.ca [127.0.0.1]) by magni.microcell.ca (8.12.7/8.12.7) with ESMTP id h26IXcsB059758; Thu, 6 Mar 2003 13:33:38 -0500 (EST) (envelope-from SoHo@admin.fido.ca) Received: (from ebaroud@localhost) by magni.microcell.ca (8.12.7/8.12.7/Submit) id h26IXciZ059752; Thu, 6 Mar 2003 13:33:38 -0500 (EST) X-Authentication-Warning: magni.microcell.ca: ebaroud set sender to SoHo@admin.fido.ca using -f Date: Thu, 6 Mar 2003 13:33:38 -0500 From: Edmond Baroud To: Edmond Baroud Cc: Brian Henning , Giorgos Keramidas , freebsd Subject: Re: mail problem Message-ID: <20030306183338.GA54788@admin.fido.ca> References: <20030306170049.GA78754@gothmog.gr> <20030306174404.GA43840@admin.fido.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030306174404.GA43840@admin.fido.ca> User-Agent: Mutt/1.4i X-Sanitizer: This message has been sanitized! X-Sanitizer-Rev: $Id: Sanitizer.pm,v 1.64 2002/10/22 16:37:04 bre Exp $ 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 As someone else has already pointed out, configuring /usr/share/sendmail/cf/YourFile.mc and building it, is the "clean" way to do it. Ed. Quoting Edmond Baroud (SoHo@admin.fido.ca): > you have config your /etc/mail/sendmail.cf to masquerade a FQDN. > the only thing I can tell u to add and try is: > > DMYourFQDNhere > eg: DMhotmail.com > > you'll get your email from b1henning@hotmail.com if your Unix user is b1henning. > if this doesnt work, search for how to config your sendmail.cf's version for masquerading, > old versions require more options at the bottom of the file in the envelope rewriting options. > > Ed. > > > Quoting Brian Henning (b1henning@hotmail.com): > > > 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? > > > > thanks, > > brian > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > Edmond Baroud > UNIX Systems Admin mailto:SoHo@admin.fido.ca > Fingerprint 140F 5FD5 3FDD 45D9 226D 9602 8C3D EAFB 4E19 BEF9 > "UNIX is very user friendly, it's just picky about who its friends are." > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Edmond Baroud UNIX Systems Admin mailto:SoHo@admin.fido.ca Fingerprint 140F 5FD5 3FDD 45D9 226D 9602 8C3D EAFB 4E19 BEF9 "UNIX is very user friendly, it's just picky about who its friends are." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message