Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

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.

[solved] Postfix: Mailen von und nach drau?en

Featured Replies

Ich habe die Kombination Postfix/Dovecot ?ber Froxlor komplett eingerichtet und kann intern wunderbar mails schicken.

Was nicht funktioniert istdas Mailen von und nach drau?en.

 

Wenn ich eine Mail nach drau?en sende passiert folgendes:

Nov 22 18:39:21 domain postfix/smtpd[15986]: connect from unknown[my,own,ip,addr]
Nov 22 18:39:21 domain dovecot: auth-worker(16002): mysql(localhost): Connected to database froxlor
Nov 22 18:39:22 domain postfix/smtpd[15986]: 0BEED6B2207E: client=unknown[my,own,ip,addr], sasl_method=PLAIN, sasl_username=admin@domain.tld
Nov 22 18:39:22 domain postfix/cleanup[16005]: 0BEED6B2207E: message-id=<528F96EC.2080804@domain.tld>
Nov 22 18:39:22 domain postfix/qmgr[15881]: 0BEED6B2207E: from=<admin@domain.tld>, size=528, nrcpt=1 (queue active)
Nov 22 18:39:22 domain postfix/smtp[16007]: fatal: unknown service: smtp/tcp
Nov 22 18:39:22 domain postfix/smtpd[15986]: disconnect from unknown[my,own,ip,addr]
Nov 22 18:39:23 domain postfix/qmgr[15881]: warning: private/smtp socket: malformed response
Nov 22 18:39:23 domain postfix/qmgr[15881]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Nov 22 18:39:23 domain postfix/master[15450]: warning: process /usr/lib/postfix/smtp pid 16007 exit status 1
Nov 22 18:39:23 domain postfix/master[15450]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Nov 22 18:39:23 domain postfix/error[16008]: 0BEED6B2207E: to=<sebastian@other.tld>, relay=none, delay=1.3, delays=0.14/1/0/0.12, dsn=4.3.0, status=deferred (unknown mail trans
port error)                             

Wenn ich eine Mail von au?en bekomme das hier:

Nov 22 18:43:44 slenz postfix/smtpd[16025]: connect from unknown[209.85.215.171]
Nov 22 18:43:44 slenz postfix/smtpd[16025]: NOQUEUE: reject: RCPT from unknown[209.85.215.171]: 450 4.7.1 Client host rejected: cannot find your hostname, [209.85.215.171]; from=<xxx@gmail.com> to=<admin@domain.tld> proto=ESMTP helo=<mail-ea0-f171.google.com>
Nov 22 18:43:44 slenz postfix/smtpd[16025]: disconnect from unknown[209.85.215.171]

Hierbei l?sst sich der host ohne Probleme aufl?sen:

$ dig -x 209.85.215.171 +short
mail-ea0-f171.google.com.

$ dig mail-ea0-f171.google.com +short
209.85.215.171

Was l?uft hier schief? Und was muss ich ?ndern, damit es funktioniert?

Nopaste deine postfix configs (main.cf und master.cf) bitte 

Wie sind die Berechtigungen von /etc/services?

  • Author

-rw-r--r-- 1 root root 19K Mai 14  2012 /etc/services

Nov 22 18:39:22 domain postfix/smtp[16007]: fatal: unknown service: smtp/tcp

Das sagt eigentlich normalerweise, dass dein Postfix in einer chroot-Umgebung l?uft. Steht denn smtp/tcp in der /etc/services? Benutzt du auch wirklich 1:1 die Froxlor-Configs?

  • Author
cat /etc/services | grep smtp

smtp            25/tcp          mail
ssmtp           465/tcp         smtps           # SMTP over SSL

Die einzigen ?nderungen von mir sind:

80: myhostname direkt auf mail.domain.tld  (statt mail.$mydomain)

90: mydomain auf mail.domain.tld   (statt froxlor.domain.tld)

275: hab die IP des Servers hinten angef?gt

 

ansonsten alles 1:1 die Froxlor config

mal mal:

mydomain = deinedomain.tld
myhostname = mail.$mydomain
  • Author
Nov 23 16:01:01 domain postfix/smtpd[27817]: connect from unknown[209.85.215.182]
Nov 23 16:01:01 domain postfix/trivial-rewrite[27822]: warning: do not list domain domain.tld in BOTH mydestination and virtual_mailbox_domains
Nov 23 16:01:01 domain postfix/smtpd[27817]: NOQUEUE: reject: RCPT from unknown[209.85.215.182]: 450 4.7.1 Client host rejected: cannot find your hostname, [209.85.215.182]; fro
m=<xxx@gmail.com> to=<admin@domain.tld> proto=ESMTP helo=<mail-ea0-f182.google.com>                                                                                      Nov 23 16:01:01 domain postfix/smtpd[27817]: disconnect from unknown[209.85.215.182]

Ich hatte mydomain deswegen auf mail.domain.tld gesetzt, da sie ja nicht gleich einer virtuellen Domain sein darf

 

Edit:

Bis auf die Meldung in Zeile zwei ?ndert sich weder von noch nach drau?en etwas

Okay, dann wars das schonmal nicht. Was steht sonst so in den versch. Mail logs?

Das wurde via IRC schon herausgefunden. Genau das war das Problem.

Archived

This topic is now archived and is closed to further replies.

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.