Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Andrew Taylor on June 30, 2003, 10:04:36 PM

Title: Configuring for domain masquerading
Post by: Andrew Taylor on June 30, 2003, 10:04:36 PM
Hi,

I'm sure it must be possible but I can't find relevant mention of it in the manual.

How can I setup my e-smith server to be called my-server.local but send all e-mail out as username@mydomainname.com ?

I'm on an ADSL connection at the moment, and although we have a static IP, I don't want my domain MX record pointing at us in case the DSL line goes down.

Thanks

Andrew
Title: Re: Configuring for domain masquerading
Post by: Michael P. Soulier on July 02, 2003, 07:57:35 AM
Andrew Taylor wrote:
>
> How can I setup my e-smith server to be called
> my-server.local but send all e-mail out as
> username@mydomainname.com ?

Configure your mail client to send email as username@mydomain.com. qmail will not modify it if the email address is fully qualified.

Mike
Title: Re: Configuring for domain masquerading
Post by: aussie on February 12, 2004, 11:03:07 PM
Quote from: "Michael P. Soulier"
Andrew Taylor wrote:
>
> How can I setup my e-smith server to be called
> my-server.local but send all e-mail out as
> username@mydomainname.com ?

Configure your mail client to send email as username@mydomain.com. qmail will not modify it if the email address is fully qualified.

Mike


G'day!

I have a script ...
/bin/mail -s 'subject' whoto@domain < file
that i use to send file changes to myself (remotely).
It arrives as email from root@site-domain.

I want to change the 'from' to be root@whataver-domain.
Can this be done (I dont know enough about mail!)

TIA Rob  :pint: