• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

relay_domains und mydestination frage.

Status
Für weitere Antworten geschlossen.

komaii

Member
ich habe postfix konfigurtiert mit einigen virtuellen domains und einer haupt domain.
mein frage: muss ich die virtuellen domains in "mydestination" anführen?
der mail server soll ja mails für alle domains annehmen.

also so:
"mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain, /etc/postfix/mydestination"

im file "/etc/postfix/mydestination" sind dann alle domains aufgelistet.

wäre das richtig so?

2te frage:
möchte ich mails als über eine der virtuellen domains senden kann ich das mit diesem eintrag erreichen:
"relay_domains = $mydestination"
 
OP
K

komaii

Member
danke aber das hab ich ja schon.
ich habe ja bereits alle "user" in der "virtual" und die domains dazu in der "virtual_alias_domains".

die frage ist nur MUSS ich die domains die ich in der "virtual_alias_domains" angeführt habe auch unter "mydestination" anführen?
 

oc2pus

Ultimate Guru
komaii schrieb:
danke aber das hab ich ja schon.
ich habe ja bereits alle "user" in der "virtual" und die domains dazu in der "virtual_alias_domains".

die frage ist nur MUSS ich die domains die ich in der "virtual_alias_domains" angeführt habe auch unter "mydestination" anführen?

auch das steht in dem angegeben Link drin:
Code:
myhostname, mydomain, myorigin, mydestination: Confused!

    * myhostname is used to set the hostname of the mailer, in case its hostname is not fully-qualified. Type "hostname", and check whether the name returned includes the name of the host and its DNS domain.
    * mydomain includes just the DNS domain. If myhostname = linux.acme.com, mydomain = acme.com
    * mydestination must includes all the tokens that can be found in the part right of the @ sign, so that the mailer knows that those emails must be delivered locally instead of being routed to another mailer by querying the DNS for an MX record
    * myorigin, if defined, will always rewrite the TO and FROM fields if they contain no domain; Those fields are left as is if they contain $myhostname. If myorigin is undefined, any domain-less field has myhostname appended to it (eg. TO = ffaure becomes ffaure@mylinux.acme.com)
 
OP
K

komaii

Member
ups :) vllt sollt ich mir ne brille kaufen :eek:)

stimmt steht ja da:
mydestination must includes all the tokens that can be found in the part right of the @ sign, so that the mailer knows that those emails must be delivered locally instead of being routed to another mailer by querying the DNS for an MX record.

danke manchmal ist man einfach blind, also werd ich das mal schleunigst eintragen :eek:)
 
Status
Für weitere Antworten geschlossen.
Oben