[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fetchmail, sendmail, and mutt and sending mail with the correct a ddress



If you installed sendmail as a package from the Debian distribution,
then you need to add the below line to your /etc/mail/sendmail.mc file
and run the program sendmailconfig as root

MASQUERADE_AS(ntrnet.net)dnl

This should produce a line in your /etc/mail/sendmail.cf which looks like

DMntrnet.net

The sendmailconfig should restart sendmail, and everything should
work.

brian

On Thu, Oct 21, 1999 at 06:07:56PM -0400, John Davis wrote:
> Hello
> 
> I thought I had my mail system setup correctly, but then I noticed a
> problem.
> When I send mail from my linux box (which is connected to the internet
> via ppp,) it sends mail as if its coming from suit.ntrnet.net which is
> wrong.  Suit is my hosthame and ntrnet.net is my isp domain.  Ntrnet
> doesn't know about my hostname and thus can't forward mail to me.  How
> can I configure my mailsystem so it sends mail as if its from
> ntrnet.net?  ie., davis@ntrnet.net instead of davis@suit.ntrnet.net.
> 
> Do I need to mess with the sendmail configuration, fetchmail, or mutt?
> 
> 
> Clueless in NC - John
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

-- 
Brian Lavender
http://www.brie.com/brian/


Reply to: