> On Feb 15, 2017, at 5:51 AM, Henry <[email protected]> wrote:
> 
> For example say our public domain is mydomain.com and we have a
> certificate for mail.mydomain.com and our MX points to
> mail.mydomain.com

So far fairly typical.

> Our mail server called hermes runs our our lan whose domain is mydomain.local
> 
> In main.cf is:
> myorigin hermes.mydomain.local or mail.mydomain.com

The "myorigin" parameter is used to add @domain qualifiers to
bare sender names, and so should be a domain you accept email
for (as opposed to a host other hosts connects to).  So typically,
these days, most sites have "myorigin = $mydomain" set to the
primary email domain for which the MTA accepts mail.

> myhostname hermes or mail

The myhostname parameter should be fully-qualified domain name
that matches the PTR record of the machine's primary external
IP address.  Otherwise, at least one of the MX hostnames of
the primary email domain.

> mydoman mydomain.local or mydomain.com

Same as myorigin, a public valid email domainname.

-- 
        Viktor.

Reply via email to