Postfix telnet localhost oder IP klappt nicht

david191186

Member
Hey Leute. Habe jetzt ähnlich wieder Zeit an meinem Mailserver zu basteln. Postfix + Dovecot + Mysql
Irgendwie lauscht Postfix nicht richtig:
Code:
# telnet localhost
Trying 127.0.0.1...
Trying ::1...
telnet: Unable to connect to remote host: Connection refused
Das gleiche Ergebnis habe ich wenn die Öffentliche IP des Servers verwende.

Aber das sieht doch gut aus:
Code:
root@mail1:/etc/postfix# netstat -tlanp | grep :25
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      7849/master
root@mail1:/etc/postfix#
Code:
root@mail1:/etc/postfix# netstat -tlanp | grep :465
tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN      7849/master
root@mail1:/etc/postfix#
Code:
root@mail1:/etc/postfix# netstat -tlanp | grep :993
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      724/dovecot
tcp        0      0 49.13.7#.##:993         91.35.53.156:44268      ESTABLISHED 6518/dovecot/imap-l
tcp        0      0 49.13.7#.##:993         91.35.53.156:59850      ESTABLISHED 7546/dovecot/imap-l
tcp        0      0 49.13.7#.##:993         91.35.53.156:37012      ESTABLISHED 7897/dovecot/imap-l
tcp6       0      0 :::993                  :::*                    LISTEN      724/dovecot
root@mail1:/etc/postfix#

/etc/postfix/main.cf
Code:
myhostname = mail1.example.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydomain = example.com
myorigin = $mydomain
mydestination = localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
inet_interfaces = all
inet_protocols = all

Leider finde seit 1 Tag nicht den Fehler.:giggle:
Achso und telnet 25 funktioniert, sowie 587. Seltsam.
 
Versuch mal:
Code:
telnet 127.0.0.1 25
oder:
Code:
telnet localhost 25
Ja das klappt beides.
Code:
root@mail1:/etc/postfix# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail1.example.com ESMTP Postfix (Ubuntu)
ehlo mail1.example.com
250-mail1.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250-SMTPUTF8
250 CHUNKING
mail from:<mail1-admin@example.com>
250 2.1.0 Ok
rcpt to:<david@example.com>
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
test
.
250 2.0.0 Ok: queued as 5748E7F92D
 
Last edited:
Das komische ist noch, das ich mit "mailutils" eine Mail zu Gmail senden kann, welche auch ankommt. Allerdings kam nichts zurück. Mit Thunderbird kann ich mich einloggen, aber nichts versenden, sowie nichts empfangen. Daraufhin habe ich mit telnet versucht, und gesehen das etwas nicht stimmt.
 
Erstmal danke für die Hilfe. Versuchen wir erstmal Mails zu empfangen.
IMAPS 993
SMTPS 465
Also wenn ich mich in Thunderbird einlogge bekomme ich keinen Fehler in Thunderbird. Trotzdem hier das Log beim login:
Code:
Jan 15 15:22:54 mail1 postfix/smtps/smtpd[12901]: connect from p200300C87712FaFb9495A1c3cFC16804.dip0.t-ipconnect.de[2003:c8:7712:fafb:9495:a1c3:cfc1:6804]
Jan 15 15:22:54 mail1 dovecot: imap-login: Disconnected: Aborted login by logging out (no auth attempts in 1 secs): user=<>, rip=2003:c8:7712:fafb:9495:a1c3:cfc1:6804, lip=2a01:4f8:c012:c65a::1, TLS, session=<xC91lv0Oes0gAwDIdxL6+5SV>
Jan 15 15:22:54 mail1 postfix/smtps/smtpd[12901]: improper command pipelining after EHLO from p200300C87712FaFb9495A1c3cFC16804.dip0.t-ipconnect.de[2003:c8:7712:fafb:9495:a1c3:cfc1:6804]: QUIT\r\n
Jan 15 15:22:54 mail1 postfix/smtps/smtpd[12901]: disconnect from p200300C87712FaFb9495A1c3cFC16804.dip0.t-ipconnect.de[2003:c8:7712:fafb:9495:a1c3:cfc1:6804] ehlo=1 quit=1 commands=2
Jan 15 15:22:57 mail1 dovecot: imap-login: Login: user=<mail1-admin@example.com>, method=PLAIN, rip=2003:c8:7712:fafb:9495:a1c3:cfc1:6804, lip=2a01:4f8:c012:c65a::1, mpid=12909, TLS, session=<k8iNlv0O+tUgAwDIdxL6+5SVocPPwWgE>
Jan 15 15:22:57 mail1 dovecot: imap(mail1-admin@example.com)<12909><k8iNlv0O+tUgAwDIdxL6+5SVocPPwWgE>: Disconnected: Logged out in=10 out=483 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 15 15:23:00 mail1 dovecot: imap-login: Login: user=<mail1-admin@example.com>, method=PLAIN, rip=2003:c8:7712:fafb:9495:a1c3:cfc1:6804, lip=2a01:4f8:c012:c65a::1, mpid=12911, TLS, session=<yiaxlv0O/NUgAwDIdxL6+5SVocPPwWgE>

Und jetzt sende ich eine Email von Gmail zu mir. Die kommt leider nicht an. Hier das Log:
Code:
Jan 15 15:25:07 mail1 postfix/smtpd[12924]: connect from mail-ed1-x530.google.com[2a00:1450:4864:20::530]
Jan 15 15:25:07 mail1 postfix/smtpd[12924]: 5C0377F933: client=mail-ed1-x530.google.com[2a00:1450:4864:20::530]
Jan 15 15:25:07 mail1 postfix/cleanup[12927]: 5C0377F933: message-id=<CAPE=6TxZrVFV2=EZO-Sj=JABw42wrNF6FNsgaVo2mS0aJ3OHkA@mail.gmail.com>
Jan 15 15:25:07 mail1 postfix/qmgr[12882]: 5C0377F933: from=<example@gmail.com>, size=2798, nrcpt=1 (queue active)
Jan 15 15:25:07 mail1 postfix/smtpd[12924]: disconnect from mail-ed1-x530.google.com[2a00:1450:4864:20::530] ehlo=2 starttls=1 mail=1 rcpt=1 bdat=1 quit=1 commands=7
Jan 15 15:25:07 mail1 dovecot: lmtp(12929): Connect from local
Jan 15 15:25:07 mail1 dovecot: lmtp(david@example.com)<12929><2bXjGlNOpWWBMgAAt7SBXQ>: msgid=<CAPE=6TxZrVFV2=EZO-Sj=JABw42wrNF6FNsgaVo2mS0aJ3OHkA@mail.gmail.com>: saved mail to INBOX
Jan 15 15:25:07 mail1 postfix/lmtp[12928]: 5C0377F933: to=<david@example.com>, orig_to=<mail1-admin@example.com>, relay=mail1.example.com[private/dovecot-lmtp], delay=0.16, delays=0.09/0.01/0.01/0.05, dsn=2.0.0, status=se>
Jan 15 15:25:07 mail1 postfix/qmgr[12882]: 5C0377F933: removed
Jan 15 15:25:07 mail1 dovecot: lmtp(12929): Disconnect from local: Logged out (state=READY)
 
Last edited:
Das "saved mail to INBOX" sagt doch aus, dass die Mail von dovecot in die INBOX sortiert wurde.
Ahh, das bedeutet die Mail ist doch angekommen. Ich muss mich bei den Log Meldungen erstmal rein arbeiten.
Also muss der Fehler woanders liegen. In Thunderbird sehe ich nämlich keine Email. Obwohl ich eingeloggt bin.
 
Ich habe in Mysql 3 Tabellen erstellt, da ich später die Mailboxen über Laravel API steuern möchte. Nutze also vhost Mailboxen.
Code:
root@mail1:/var/mail# postconf -fn ; echo ; doveconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
compatibility_level = 2
inet_interfaces = all
inet_protocols = all
invalid_hostname_reject_code = 550
mailbox_size_limit = 0
maximal_backoff_time = 3h
minimal_backoff_time = 180s
mydestination = localhost
mydomain = example.com
myhostname = mail1.example.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = $mydomain
non_fqdn_reject_code = 550
readme_directory = no
recipient_delimiter = +
smtp_always_send_ehlo = yes
smtp_helo_timeout = 15s
smtp_rcpt_timeout = 15s
smtp_tls_security_level = may
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_delay_reject = yes
smtpd_hard_error_limit = 1
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated,
    reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname
smtpd_recipient_limit = 40
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
    reject_non_fqdn_recipient, reject_unknown_recipient_domain,
    reject_unlisted_recipient, reject_unauth_destination
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated,
    defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated,
    reject_non_fqdn_sender, reject_unknown_sender_domain
smtpd_timeout = 30s
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/nginx/ssl/mail1.example.com/2038822/server.crt
smtpd_tls_key_file = /etc/nginx/ssl/mail1.example.com/2038822/server.key
smtpd_tls_security_level = may
smtpd_use_tls = yes
unknown_address_reject_code = 550
unknown_client_reject_code = 550
unknown_hostname_reject_code = 550
unverified_recipient_reject_code = 550
unverified_sender_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,
    mysql:/etc/postfix/mysql-virtual-email2email.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = lmtp:unix:private/dovecot-lmtp

# 2.3.16 (7e2e900c1a): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.16 (09c29328)
# OS: Linux 5.15.0-91-generic aarch64 Ubuntu 22.04.3 LTS ext4
# Hostname: mail1.example.com
auth_mechanisms = plain login
mail_location = maildir:/var/mail/vhosts/%d/%n/
mail_privileged_group = mail
namespace {
  inbox = yes
  location =
  mailbox {
    special_use = \Drafts
    name = Drafts
  }
  mailbox {
    special_use = \Junk
    name = Junk
  }
  mailbox {
    special_use = \Sent
    name = Sent
  }
  mailbox {
    special_use = \Sent
    name = Sent Messages
  }
  mailbox {
    special_use = \Trash
    name = Trash
  }
  prefix =
  name = inbox
}
passdb {
  driver = pam
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
postmaster_address = postmaster at example.com
protocols = imap pop3 lmtp
service replication-notify-fifo {
  name = aggregator
}
service anvil-auth-penalty {
  name = anvil
}
service auth-worker {
  user = vmail
  name = auth-worker
}
service {
  unix_listener {
    group = postfix
    mode = 0660
    user = postfix
    path = /var/spool/postfix/private/auth
  }
  unix_listener {
    mode = 0600
    user = vmail
    path = auth-userdb
  }
  user = dovecot
  name = auth
}
service config {
  name = config
}
service dict-async {
  name = dict-async
}
service dict {
  name = dict
}
service login/proxy-notify {
  name = director
}
service dns-client {
  name = dns-client
}
service doveadm-server {
  name = doveadm
}
service imap-hibernate {
  name = imap-hibernate
}
service {
  inet_listener {
    port = 0
    name = imap
  }
  inet_listener {
    port = 993
    ssl = yes
    name = imaps
  }
  name = imap-login
}
service imap-urlauth {
  name = imap-urlauth-login
}
service imap-urlauth-worker {
  name = imap-urlauth-worker
}
service token-login/imap-urlauth {
  name = imap-urlauth
}
service imap-master {
  name = imap
}
service indexer-worker {
  name = indexer-worker
}
service indexer {
  name = indexer
}
service ipc {
  name = ipc
}
service {
  unix_listener {
    group = postfix
    mode = 0600
    user = postfix
    path = /var/spool/postfix/private/dovecot-lmtp
  }
  name = lmtp
}
service log-errors {
  name = log
}
service old-stats-mail {
  name = old-stats
}
service {
  inet_listener {
    port = 0
    name = pop3
  }
  inet_listener {
    port = 995
    ssl = yes
    name = pop3s
  }
  name = pop3-login
}
service login/pop3 {
  name = pop3
}
service replicator-doveadm {
  name = replicator
}
service stats-reader {
  name = stats
}
service submission {
  name = submission-login
}
service login/submission {
  name = submission
}
ssl = required
ssl_cert = </etc/nginx/ssl/mail1.example.com/2038822/server.crt
ssl_client_ca_dir = /etc/ssl/certs
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
userdb {
  driver = passwd
}
userdb {
  args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n
  driver = static
}
protocol lmtp {
  service replication-notify-fifo {
    name = aggregator
  }
  service anvil-auth-penalty {
    name = anvil
  }
  service auth-worker {
    name = auth-worker
  }
  service auth-client {
    name = auth
  }
  service config {
    name = config
  }
  service dict-async {
    name = dict-async
  }
  service dict {
    name = dict
  }
  service login/proxy-notify {
    name = director
  }
  service dns-client {
    name = dns-client
  }
  service doveadm-server {
    name = doveadm
  }
  service imap-hibernate {
    name = imap-hibernate
  }
  service imap {
    name = imap-login
  }
  service imap-urlauth {
    name = imap-urlauth-login
  }
  service imap-urlauth-worker {
    name = imap-urlauth-worker
  }
  service token-login/imap-urlauth {
    name = imap-urlauth
  }
  service imap-master {
    name = imap
  }
  service indexer-worker {
    name = indexer-worker
  }
  service indexer {
    name = indexer
  }
  service ipc {
    name = ipc
  }
  service lmtp {
    name = lmtp
  }
  service log-errors {
    name = log
  }
  service old-stats-mail {
    name = old-stats
  }
  service pop3 {
    name = pop3-login
  }
  service login/pop3 {
    name = pop3
  }
  service replicator-doveadm {
    name = replicator
  }
  service stats-reader {
    name = stats
  }
  service submission {
    name = submission-login
  }
  service login/submission {
    name = submission
  }
}
protocol !indexer-worker {
  service replication-notify-fifo {
    name = aggregator
  }
  service anvil-auth-penalty {
    name = anvil
  }
  service auth-worker {
    name = auth-worker
  }
  service auth-client {
    name = auth
  }
  service config {
    name = config
  }
  service dict-async {
    name = dict-async
  }
  service dict {
    name = dict
  }
  service login/proxy-notify {
    name = director
  }
  service dns-client {
    name = dns-client
  }
  service doveadm-server {
    name = doveadm
  }
  service imap-hibernate {
    name = imap-hibernate
  }
  service imap {
    name = imap-login
  }
  service imap-urlauth {
    name = imap-urlauth-login
  }
  service imap-urlauth-worker {
    name = imap-urlauth-worker
  }
  service token-login/imap-urlauth {
    name = imap-urlauth
  }
  service imap-master {
    name = imap
  }
  service indexer-worker {
    name = indexer-worker
  }
  service indexer {
    name = indexer
  }
  service ipc {
    name = ipc
  }
  service lmtp {
    name = lmtp
  }
  service log-errors {
    name = log
  }
  service old-stats-mail {
    name = old-stats
  }
  service pop3 {
    name = pop3-login
  }
  service login/pop3 {
    name = pop3
  }
  service replicator-doveadm {
    name = replicator
  }
  service stats-reader {
    name = stats
  }
  service submission {
    name = submission-login
  }
  service login/submission {
    name = submission
  }
}
protocol lda {
  service replication-notify-fifo {
    name = aggregator
  }
  service anvil-auth-penalty {
    name = anvil
  }
  service auth-worker {
    name = auth-worker
  }
  service auth-client {
    name = auth
  }
  service config {
    name = config
  }
  service dict-async {
    name = dict-async
  }
  service dict {
    name = dict
  }
  service login/proxy-notify {
    name = director
  }
  service dns-client {
    name = dns-client
  }
  service doveadm-server {
    name = doveadm
  }
  service imap-hibernate {
    name = imap-hibernate
  }
  service imap {
    name = imap-login
  }
  service imap-urlauth {
    name = imap-urlauth-login
  }
  service imap-urlauth-worker {
    name = imap-urlauth-worker
  }
  service token-login/imap-urlauth {
    name = imap-urlauth
  }
  service imap-master {
    name = imap
  }
  service indexer-worker {
    name = indexer-worker
  }
  service indexer {
    name = indexer
  }
  service ipc {
    name = ipc
  }
  service lmtp {
    name = lmtp
  }
  service log-errors {
    name = log
  }
  service old-stats-mail {
    name = old-stats
  }
  service pop3 {
    name = pop3-login
  }
  service login/pop3 {
    name = pop3
  }
  service replicator-doveadm {
    name = replicator
  }
  service stats-reader {
    name = stats
  }
  service submission {
    name = submission-login
  }
  service login/submission {
    name = submission
  }
}
protocol imap {
  service replication-notify-fifo {
    name = aggregator
  }
  service anvil-auth-penalty {
    name = anvil
  }
  service auth-worker {
    name = auth-worker
  }
  service auth-client {
    name = auth
  }
  service config {
    name = config
  }
  service dict-async {
    name = dict-async
  }
  service dict {
    name = dict
  }
  service login/proxy-notify {
    name = director
  }
  service dns-client {
    name = dns-client
  }
  service doveadm-server {
    name = doveadm
  }
  service imap-hibernate {
    name = imap-hibernate
  }
  service imap {
    name = imap-login
  }
  service imap-urlauth {
    name = imap-urlauth-login
  }
  service imap-urlauth-worker {
    name = imap-urlauth-worker
  }
  service token-login/imap-urlauth {
    name = imap-urlauth
  }
  service imap-master {
    name = imap
  }
  service indexer-worker {
    name = indexer-worker
  }
  service indexer {
    name = indexer
  }
  service ipc {
    name = ipc
  }
  service lmtp {
    name = lmtp
  }
  service log-errors {
    name = log
  }
  service old-stats-mail {
    name = old-stats
  }
  service pop3 {
    name = pop3-login
  }
  service login/pop3 {
    name = pop3
  }
  service replicator-doveadm {
    name = replicator
  }
  service stats-reader {
    name = stats
  }
  service submission {
    name = submission-login
  }
  service login/submission {
    name = submission
  }
}
protocol pop3 {
  service replication-notify-fifo {
    name = aggregator
  }
  service anvil-auth-penalty {
    name = anvil
  }
  service auth-worker {
    name = auth-worker
  }
  service auth-client {
    name = auth
  }
  service config {
    name = config
  }
  service dict-async {
    name = dict-async
  }
  service dict {
    name = dict
  }
  service login/proxy-notify {
    name = director
  }
  service dns-client {
    name = dns-client
  }
  service doveadm-server {
    name = doveadm
  }
  service imap-hibernate {
    name = imap-hibernate
  }
  service imap {
    name = imap-login
  }
  service imap-urlauth {
    name = imap-urlauth-login
  }
  service imap-urlauth-worker {
    name = imap-urlauth-worker
  }
  service token-login/imap-urlauth {
    name = imap-urlauth
  }
  service imap-master {
    name = imap
  }
  service indexer-worker {
    name = indexer-worker
  }
  service indexer {
    name = indexer
  }
  service ipc {
    name = ipc
  }
  service lmtp {
    name = lmtp
  }
  service log-errors {
    name = log
  }
  service old-stats-mail {
    name = old-stats
  }
  service pop3 {
    name = pop3-login
  }
  service login/pop3 {
    name = pop3
  }
  service replicator-doveadm {
    name = replicator
  }
  service stats-reader {
    name = stats
  }
  service submission {
    name = submission-login
  }
  service login/submission {
    name = submission
  }
}
 
Dann schau mal auf deinem Server, wo die Datei bei deinem Dovectot mail-Ordnern unter Maildir/cur/ oder Maildir/new/ liegt.
Jap, das sollte passen:
Code:
/var/mail/vhosts/example.com/mail1-admin# ls
cur                     dovecot-uidlist               maildirfolder
dovecot.index.log       dovecot-uidvalidity           new
dovecot.list.index.log  dovecot-uidvalidity.65a54dd4  tmp
 
Ich sehe nicht, dass du die Inhalte der Ordner cur und new listest ;-)
Da wird dein Mail drin sein, schau halt zum Zeitpunkt des angeblichen Empfangs "Jan 15 15:25:07".
 
Ich sehe nicht, dass du die Inhalte der Ordner cur und new listest ;-)
Da wird dein Mail drin sein, schau halt zum Zeitpunkt des angeblichen Empfangs "Jan 15 15:25:07".
Du hast recht. Die Ordner sind leer. "new,cur":unsure:
Code:
root@mail1:/var/mail/vhosts/example.com/mail1-admin/new# ls -l
total 0

root@mail1:/var/mail/vhosts/example.com/mail1-admin/cur# ls -l
total 0
 
Es muss ja in einer INBOX gelandet sein laut maillog.
Such mal:
grep -lir 'david@example.com' /var/mail/vhosts
oder nach dem Message-Id:
grep -lir 'CAPE=6TxZrVFV2=EZO-Sj=JABw42wrNF6FNsgaVo2mS0aJ3OHkA@mail.gmail.com' /var/mail/vhosts

Dovecot wirft doch nix einfach so weg.
 
Last edited:
Es muss ja in einer INBOX gelandet sein laut maillog.
Such mal:
grep -ir 'david@example.com' /var/mail/vhosts
oder nach dem Message-Id:
grep -ir 'CAPE=6TxZrVFV2=EZO-Sj=JABw42wrNF6FNsgaVo2mS0aJ3OHkA@mail.gmail.com' /var/mail/vhosts
Du hast recht, ich habe mich gerade mit Thunderbird in die andere Mailbox eingeloggt. david@example.com. Und ich konnte die Mail im Thunderbird lesen. Habe jetzt noch eine von Gmail an david geschickt, und sie kam auch an:)

Wenn ich aber jetzt von David eine Mail an Gmail senden möchte bekomme ich einen Fehler von Thunderbird.
Code:
Senden der Nachricht fehlgeschlagen.
Fehler beim Senden der Nachricht: Der Mail-Server antwortete:
<example1811@gmail.com>: Relay access denied.
 Bitte überprüfen Sie die E-Mail-Adresse des Empfängers "example@gmail.com" und wiederholen Sie den Vorgang.

Ich durchsuche mal das log:
Code:
Jan 15 17:45:16 mail1 postfix/smtpd[14587]: NOQUEUE: reject: RCPT from p200300C87712fAfb9495a1C3cFc16804.dip0.t-ipconnect.de[2003:c8:7712:fafb:9495:a1c3:cfc1:6804]: 554 5.7.1 <example@gmail.com>: Relay access denied; from=<david@>
Jan 15 17:45:16 mail1 postfix/smtpd[14587]: using backwards-compatible default setting smtpd_relay_before_recipient_restrictions=no to reject recipient "example@gmail.com" from client "p200300C87712fAfb9495a1C3cFc16804.dip0.t-ipc>
Jan 15 17:45:16 mail1 postfix/smtpd[14587]: too many errors after RCPT from p200300C87712fAfb9495a1C3cFc16804.dip0.t-ipconnect.de[2003:c8:7712:fafb:9495:a1c3:cfc1:6804]
Jan 15 17:45:16 mail1 postfix/smtpd[14587]: disconnect from p200300C87712fAfb9495a1C3cFc16804.dip0.t-ipconnect.de[2003:c8:7712:fafb:9495:a1c3:cfc1:6804] ehlo=2 starttls=1 mail=1 rcpt=0/1 commands=4/5

smtpd_relay_before_recipient_restrictions scheint was falsch zu sein.
 
Schon den Postausgangsserver für das Konto in deinem Mailclient per Mailadresse und Passwort authentifiziert?
Absendermail sollte schon zum richtigen Server passen, damit es kein Relaying ist.
 
Schon den Postausgangsserver für das Konto in deinem Mailclient per Mailadresse und Passwort authentifiziert?
Absendermail sollte schon zum richtigen Server passen, damit es kein Relaying ist.
Genau, das war der Fehler. Also folgender stand:
Wenn ich den Postausgangsserver auf 587 STARTLS stelle, dann kann ich emails versenden mit Thunderbird.
Nutze ich 465 SSL bekomme ich einen Timeout. Es passiert lange nichts bis es zum Timeout kommt.
 
Back
Top