Koozali.org: home of the SME Server

Configuring for domain masquerading

Andrew Taylor

Configuring for domain masquerading
« 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

Michael P. Soulier

Re: Configuring for domain masquerading
« Reply #1 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

aussie

Re: Configuring for domain masquerading
« Reply #2 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: