Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: Jáder on August 23, 2016, 07:13:41 PM

Title: change @hostname.domain.tld to @domain.tld at SENDING e-mail
Post by: Jáder on August 23, 2016, 07:13:41 PM
Hi

If I own the domain mydomain.com and name my server myserver when root send message those will be sent with FROM as root@myserver.mydomain.com.

That´s fine but I need to change it to root@mydomain.com
WHY ? Because this server uses residential DSL and dynamic IP and relay his root messages thru IPS . And ISP deny to delivery messages with "wrong" FROM.

I think it´s just a matter of template... but :
1) I´m not sure I´ll not break several other things
2) I´m not sure where to change it... or if I need to change at multiples places.

So... Could some gentle soul help me ?

regards,

Jáder
Title: Re: change @hostname.domain.tld to @domain.tld at SENDING e-mail
Post by: janet on August 23, 2016, 10:23:03 PM
Jáder

One way would be to change the server CommonName.
See
https://wiki.contribs.org/Email_-_Setting_up_E-mail_clients_for_SME_8.0#Configure_Common_Name_for_self_signed_Certificate

& please read most of that wiki article ie
https://wiki.contribs.org/Email_-_Setting_up_E-mail_clients_for_SME_8.0

Also see
Certificates Concepts Howto
https://wiki.contribs.org/Certificates_Concepts#How_to_change_your_certificate