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 ([EMAIL PROTECTED]): > 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 [EMAIL PROTECTED] 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 ([EMAIL PROTECTED]): > > > On 2003-03-06 10:51, Brian Henning <[EMAIL PROTECTED]> 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" [EMAIL PROTECTED] > > > > > > > > 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" [EMAIL PROTECTED] > > > > > > 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:<[EMAIL PROTECTED]> SIZE=389 > > <<< 553 5.1.8 <[EMAIL PROTECTED]>... Domain of sender address henni > > [EMAIL PROTECTED] 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 [EMAIL PROTECTED] > > with "unsubscribe freebsd-questions" in the body of the message > > -- > Edmond Baroud > UNIX Systems Admin mailto:[EMAIL PROTECTED] > 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 [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message -- Edmond Baroud UNIX Systems Admin mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message