kyoku cocinillas wrote:

mouss escribió:
kyoku cocinillas wrote:
Hi,

next time, please chose a better subject. if everyone sets "Subject: I
have a question", then the subject becomes useless...

I am very sorry, i did not realize, you are completely right

[snip]

It will relay to our dedicated server for sending mail, that will be all


It is still recommended to use an FQDN, even if it is not critical in this case.

or will postfix be allright with the domain
name info stored in the database?
not sure what you mean. if you mean the "default" domain, this is
$mydomain and can't be stored in a map. if you mean virtual domains,
yes, you can store them in mysql or other.

I meant virtual domains in mysql, yes.


all domains used in email addresses should be fqdn. postfix will "fix" incomplete addresses. non fqdn may work under "certain circumstances", but better avoid this (you can have "foobar" as a virtual domain, but if you have append_dot_mydomain enabled, then that will never match any domain...).

I am asking this cause the idea is to have a dedicated server in a
datacenter that basically serves as primary MX, and then the internal
server inhouse which will retrieve the email from the primary MX and
will server the internal network.

I dont know if i explain right, i  am having a missconception problem i
believe, could someone clarify please?, thanks in advance.

don't know. it looks like you confuse the domain of the machine
(mydomain, myhostname) and the (virtual) domains used in email
addresses. These are different concepts.

My question was regarding the domain of the machine, which i dont need
to show, just the virtual domains in mysql are the ones that suppose to
actually be used by postfix, am i correct?

- myhostname is used as the helo name. it should be an fqdn that resolves in dns, preferably to the "exteranl" IP. your dedicated relay may ignore this requirement, so it's not criticial in your case. but if you can do it easily (which you often can. at worst, you can get a domain at dyndns or so), then there is no reason to use an "invalid" name.

- mydomain is used as the "default domain" to append for mail that has no domain part (see append_at_myorigin). for this reason, you should use an fqdn.

Reply via email to