Jump to content
Froxlor Forum
  • 0

Postfix sendet mit mail. Subdomain


epsilon

Question

Hallo,

ich installiere gerade froxlor auf einer Kiste mit Debian 10 mit den Standardpaketen (Apache, Dovecot, Postfix...) und habe ein Problem mit ausgehenden Postfix-Mails

Ich sende eine Mail von hosting2.domain.de (wir neu aufgesetzt) nach hosting1.domain.de (Bestandskiste mit laufender Hostingumgebung) und bekomme die Meldung:

Sep 02 00:54:56 hosting2 postfix/smtp[11206]: 21ACA3D: to=<x@x.x>, relay=hosting1.domain.de[x.x.x.x]:25, delay=378566, delays=378565/0.03/0.06/0.11, dsn=4.7.1, status=deferred (host hosting1.domain.de[x.x.x.x] said: 450 4.7.1 <mail.hosting2.domain.de>: Helo command rejected: Host not found (in reply to RCPT TO command))

Sprich der Postfix auf hosting2.domain.de meldet sich beim Zielserver mit

"HELO mail.hosting2.domain.de"

obwohl dieses "mail." Subdomain da gar nicht hingehört. Richtig wäre

"HELO hosting2.domain.de"

Hat jemand eine Idee, warum Postfix da "mail." selbszständig hinzufügt? Ich habe bereits die Postfix-Config von froxlor erneut übernommen und auch nach "mail.hosting2.domain.de" unter /etc durchgesucht, ohne Ergebnis.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Ah , die Ursache gefunden in postfix/main.cf

# INTERNET HOST AND DOMAIN NAMES
#
# The myhostname parameter specifies the internet hostname of this
# mail system. The default is to use the fully-qualified domain name
# from gethostname(). $myhostname is used as a default value for many
# other configuration parameters.
#
# Froxlor Note: $myhostname can and should be the same as $mydomain as long as
# you don't intend to send mail to it (it will be considered local, not virtual)
# for the case of a subdomain, $mydomain *must* be equal to $myhostname,
# otherwise you cannot use the main domain for virtual transport.
# also check the note about $mydomain below.
myhostname = mail.$mydomain
#myhostname = virtual.domain.tld

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...