My Community Dashboard

  • Nick Howitt wrote:

    Thanks. Documentation updated.

    I am not sure why you are using /etc/postfix/rewrite. Can't you just change the Mail Domain in the Mail Settings?
    What is "myhost" doing? There is normally a variable "myhostname" which is set by ClearOS.
    smtp_enforce_tls has been deprecated.Instead use smtp_tls_security_level which is already set to "may". Having it set will mean that smtp_enforce_tls is ignored.


    Migadu is mij mail provider, it has the mx records for familie-dokter.net,
    If I would use a mail to anyuser@familie-dokter.net the SMTP server will try and deliver locally while I want it to use Migadu. So I used a maildomain that is not familie-dokter.net. The rewrite is needed because Migadu does not accept logging in as anyuser@familie-dokter.net while the From:header says familie-dokter.lan... I could have used aliases or .forwards but in doing it like this I am able to send mail to any new mail user created for familie-dokter.net without the need for a change at my clearos server. myhost = localhost as I wanted to make sure it is not binding to the outside address (scared of creating a relay :-) )

    If there are better ways of doing this, I am by no mean an expert on all this, any advise is appreciated..