Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ubuntu postfix SMTP relay

Empfohlene Antworten

Veröffentlicht

Servus Leute,

ich möchte über SMTP relay und postfix Mails von meinem Ubuntu Server über mx.freenet.de verschicken.

In der mail.log steht:


Feb 20 12:01:14 schell-srvubu postfix/qmgr[927]: 98CCFC27B0: from=<>, size=3963, nrcpt=1 (queue active)

Feb 20 12:01:14 schell-srvubu postfix/qmgr[927]: 942F0C20F4: removed

Feb 20 12:01:14 schell-srvubu postfix/local[1501]: 98CCFC27B0: to=<root@schell-srvubu.reneschell.no-ip.biz>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)

Feb 20 12:01:14 schell-srvubu postfix/qmgr[927]: 98CCFC27B0: removed

Feb 20 12:01:22 schell-srvubu postfix/pickup[926]: 37373C20F4: uid=1000 from=<srvoperator>

Feb 20 12:01:22 schell-srvubu postfix/cleanup[1487]: 37373C20F4: message-id=<20140220110122.37373C20F4@schell-srvubu.reneschell.no-ip.biz>

Feb 20 12:01:22 schell-srvubu postfix/qmgr[927]: 37373C20F4: from=<srvoperator@schell-srvubu.reneschell.no-ip.biz>, size=410, nrcpt=1 (queue active)

Feb 20 12:01:22 schell-srvubu postfix/smtp[1506]: connect to mx.freenet.de[2001:748:100:40::8:110]:25: Network is unreachable

Feb 20 12:01:22 schell-srvubu postfix/smtp[1506]: 37373C20F4: to=<info@riensartwork.de>, relay=mx.freenet.de[195.4.92.9]:25, delay=0.38, delays=0.04/0/0.28/0.06, dsn=5.0.0, status=bounced (host mx.freenet.de[195.4.92.9] said: 550-Verification failed for <srvoperator@schell-srvubu.reneschell.no-ip.biz> 550-unrouteable mail domain "schell-srvubu.reneschell.no-ip.biz" 550 verifying srvoperator@schell-srvubu.reneschell.no-ip.biz failed (in reply to RCPT TO command))

Feb 20 12:01:22 schell-srvubu postfix/cleanup[1487]: 8FF98C27B0: message-id=<20140220110122.8FF98C27B0@schell-srvubu.reneschell.no-ip.biz>

Feb 20 12:01:22 schell-srvubu postfix/qmgr[927]: 8FF98C27B0: from=<>, size=2900, nrcpt=1 (queue active)

Feb 20 12:01:22 schell-srvubu postfix/bounce[1491]: 37373C20F4: sender non-delivery notification: 8FF98C27B0

Feb 20 12:01:22 schell-srvubu postfix/qmgr[927]: 37373C20F4: removed

Feb 20 12:01:22 schell-srvubu postfix/local[1504]: 8FF98C27B0: to=<srvoperator@schell-srvubu.reneschell.no-ip.biz>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)

Feb 20 12:01:22 schell-srvubu postfix/qmgr[927]: 8FF98C27B0: removed

Ich nutze eine dynamische DNS für meinen Router, daher reneschell.no-ip.biz. Mein Server hostname ist schell-srvubu.reneschell.no-ip.biz. Das Problem was ich nicht gelöst bekomme ist die Meldung: (mal davon abgesehen, dass mx.freenet.de gerade nicht erreichbar ist)
Feb 20 12:01:22 schell-srvubu postfix/smtp[1506]: 37373C20F4: to=<info@riensartwork.de>, relay=mx.freenet.de[195.4.92.9]:25, delay=0.38, delays=0.04/0/0.28/0.06, dsn=5.0.0, status=bounced (host mx.freenet.de[195.4.92.9] said: 550-Verification failed for <srvoperator@schell-srvubu.reneschell.no-ip.biz> 550-unrouteable mail domain "schell-srvubu.reneschell.no-ip.biz" 550 verifying srvoperator@schell-srvubu.reneschell.no-ip.biz failed (in reply to RCPT TO command))
Die main.cf hat folgenden Inhalt:


# See /usr/share/postfix/main.cf.dist for a commented, more complete version



# Debian specific:  Specifying a file name will cause the first

# line of that file to be used as the name.  The Debian default

# is /etc/mailname.

#myorigin = /etc/mailname


smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)

biff = no


# appending .domain is the MUA's job.

append_dot_mydomain = no


# Uncomment the next line to generate "delayed mail" warnings

#delay_warning_time = 4h


readme_directory = no


# TLS parameters

smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem

smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key

smtpd_use_tls= yes

smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache

smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

smtp_sasl_auth_enable = yes

smtp_sasl_security_options =

smtp_sasl_password_maps = hash:/etc/postfix/sasl_password

smtp_tls_CAfile = /etc/postfix/cacert.pem

smtp_use_tls = yes


# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for

# information on enabling SSL in the smtp client.


myhostname = schell-srvubu.reneschell.no-ip.biz

mydomain = reneschell.no-ip.biz

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

mydestination = schell-srvubu.reneschell.no-ip.biz, reneschell.no-ip.biz, localhost.localdomain, localhost

relayhost = mx.freenet.de

mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128

mailbox_size_limit = 0

recipient_delimiter = +

inet_interfaces = loopback-only

Irgendwas muss ich ja übersehen, oder falsch gemacht haben.

BTW: In der Konsole wird mir, wenn ich als Root (oder ein anderer Nutzer) angemeldet bin, es wie folgt angezeigt:

root@schell-srvubu:~#

In der hostname-Datei steht aber schell-srvubu.reneschell.no-ip.biz. Woran liegt das?

Bedanke mich schonmal für konstruktive Kritik oder Tipps

Gruß

Rien

schell-srvubu.reneschell.no-ip.biz ist zwar "eigentlich" dein full qualified Hostname (rot=Hostname, grün=Subdomain-Teil, blau=Hauptdomain-Teil), aber anscheinend wird reneschell.no-ip.biz bereits als FQDN genutzt und nicht als Subdomain.

Keine Ahnung, ob das bei no-ip.biz überhaupt möglich ist, oder ob du als hostname dann die DynDNS-Adresse angeben musst einfach nur.

Sollte es möglich sein, benötigst du auf jeden Fall noch einen DNS-Server, der es korrekt auflöst.

Von aussen her kann der Hostname schell-srvubu.reneschell.no-ip.biz nicht aufgelöst werden, was jedoch vermutlich notwendig ist, damit der Mailserver die Mail annimmt.

Bearbeitet von Crash2001

  • Autor

Hi, der PC ist wieder an. Aber anpingen mit schell-srvubu.reneschell.no-ip.biz ist nicht möglich. Geht nur über reneschell.no-ip.biz

Gruß

Rien

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.