Jump to content
Froxlor Forum
  • 0

postfix main.cf file



Froxlor's instructs in the Configurations for

Debian 5.0 (Lenny) ? Mailserver (SMTP) ? Postfix/Dovecot

are to have in the file /etc/postfix/main.cf the lines

mydomain = froxlor.example.com

# should be different from $mydomain eg. "mail.$mydomain"
myhostname = froxlor.example.com

Where I have substituted my actual domain name with "example.com".


These lines would set the variables "mydomain" and "myhostname" to the same value which is contrary to what the comment says should be. Is this really correct?

Link to post
Share on other sites

2 answers to this question

Recommended Posts

the hostname in that template is automatically replaced, then again, we can't autodetect everything, so the comments are there so people can change it to the correct value.

HOWEVER, it will work if you leave it like it is ($mydomain and $myhostname the same).

now if you wouldn't set myhostname, it would use example.com in that situation, which can be in turn managed by froxlor, which would most probably cause issues.

Link to post
Share on other sites

Does this mean to avoid the most probably caused issues we are expected to change these values to something like this:


mydomain = example.com

# should be different from $mydomain eg. "mail.$mydomain"
myhostname = mail.example.com


Where the value of myhostname must be in the Bind9 A record for the mail exchanger?

Link to post
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...