Postfix/SMTP Conection Refused

Locked
Styla
Posts: 3
Joined: Mon 8. Oct 2018, 20:29

Postfix/SMTP Conection Refused

Post by Styla »

Hallo zusammen,

ich komme einfach nicht weiter wegen diesem Fehler. Ich habe KH auf einem frischen System (VServer von IP-Projects) installiert, der Installation gesagt sie soll mir ne Mail schicken doch nicht einmal die kommt an. Hab jetzt die 4. Installation hinter mir, vorher habe ich die Software ISPConfig versucht und da kommt genau das gleiche.

Code: Select all

mail.log - gleiche steht in mail.info
Oct  9 07:33:34 srv postfix/postfix-script[16960]: starting the Postfix mail system
Oct  9 07:33:34 srv postfix/master[16962]: daemon started -- version 3.1.8, configuration /etc/postfix
Oct  9 07:35:04 srv dovecot: master: Dovecot v2.2.27 (c0f36b0) starting up for imap, pop3, lmtp, sieve (core dumps disabled)
Oct  9 07:35:04 srv dovecot: ssl-params: Generating SSL parameters
Oct  9 07:35:25 srv dovecot: ssl-params: SSL parameters regeneration completed
Oct  9 07:38:53 srv postfix/smtpd[27990]: warning: hostname zg-0906c-31.stretchoid.com does not resolve to address 107.170.204.138
Oct  9 07:38:53 srv postfix/smtpd[27990]: connect from unknown[107.170.204.138]
Oct  9 07:38:53 srv postfix/smtpd[27990]: disconnect from unknown[107.170.204.138] ehlo=1 quit=1 commands=2
Oct  9 07:39:41 srv postfix/smtpd[27990]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.162.145
Oct  9 07:39:41 srv postfix/smtpd[27990]: connect from unknown[89.248.162.145]
Oct  9 07:39:41 srv postfix/smtpd[27990]: disconnect from unknown[89.248.162.145] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Oct  9 07:39:45 srv spamd[28407]: logger: removing stderr method
Oct  9 07:39:51 srv spamd[28410]: zoom: able to use 353/353 'body_0' compiled rules (100%)
Oct  9 07:39:54 srv spamd[28410]: spamd: server started on IO::Socket::IP [127.0.0.1]:783 (running version 3.4.1)
Oct  9 07:39:54 srv spamd[28410]: spamd: server pid: 28410
Oct  9 07:39:54 srv spamd[28410]: spamd: server successfully spawned child process, pid 28412
Oct  9 07:39:54 srv spamd[28410]: spamd: server successfully spawned child process, pid 28413
Oct  9 07:39:54 srv spamd[28410]: prefork: child states: IS
Oct  9 07:39:54 srv spamd[28410]: prefork: child states: II
Oct  9 07:43:01 srv postfix/anvil[27993]: statistics: max connection rate 1/60s for (smtp:107.170.204.138) at Oct  9 07:38:53
Oct  9 07:43:01 srv postfix/anvil[27993]: statistics: max connection count 1 for (smtp:107.170.204.138) at Oct  9 07:38:53
Oct  9 07:43:01 srv postfix/anvil[27993]: statistics: max cache size 2 at Oct  9 07:39:41
Oct  9 07:46:25 srv postfix/pickup[16963]: 88739164E864: uid=0 from=<keyhelp@srv.insanity-esports.eu>
Oct  9 07:46:25 srv postfix/cleanup[32274]: 88739164E864: message-id=<aeff1013be7f1e6be516904645c4e792@srv.insanity-esports.eu>
Oct  9 07:46:25 srv postfix/qmgr[16964]: 88739164E864: from=<keyhelp@srv.insanity-esports.eu>, size=1796, nrcpt=1 (queue active)
Oct  9 07:46:25 srv postfix/smtp[32280]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Oct  9 07:46:25 srv postfix/smtp[32280]: 88739164E864: to=<dragun@t-online.de>, relay=none, delay=1, delays=1/0.04/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Oct  9 07:48:02 srv dovecot: master: Dovecot v2.2.27 (c0f36b0) starting up for imap, pop3, lmtp, sieve (core dumps disabled)
Oct  9 07:48:18 srv spamd[521]: logger: removing stderr method
Oct  9 07:48:22 srv postfix/postfix-script[1981]: starting the Postfix mail system
Oct  9 07:48:22 srv postfix/master[1983]: daemon started -- version 3.1.8, configuration /etc/postfix
Oct  9 07:48:27 srv spamd[1549]: zoom: able to use 353/353 'body_0' compiled rules (100%)
Oct  9 07:48:30 srv spamd[1549]: spamd: server started on IO::Socket::IP [127.0.0.1]:783 (running version 3.4.1)
Oct  9 07:48:30 srv spamd[1549]: spamd: server pid: 1549
Oct  9 07:48:30 srv spamd[1549]: spamd: server successfully spawned child process, pid 2004
Oct  9 07:48:30 srv spamd[1549]: spamd: server successfully spawned child process, pid 2005
Oct  9 07:48:30 srv spamd[1549]: prefork: child states: IS
Oct  9 07:48:30 srv spamd[1549]: prefork: child states: II
Oct  9 07:50:03 srv dovecot: master: Warning: SIGHUP received - reloading configuration
Oct  9 07:50:04 srv postfix/postfix-script[2235]: refreshing the Postfix mail system
Oct  9 07:50:04 srv postfix/master[1983]: reload -- version 3.1.8, configuration /etc/postfix
Oct  9 07:55:04 srv postfix/qmgr[2244]: 88739164E864: from=<keyhelp@srv.insanity-esports.eu>, size=1796, nrcpt=1 (queue active)
Oct  9 07:55:04 srv postfix/smtp[2635]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Oct  9 07:55:04 srv postfix/smtp[2635]: 88739164E864: to=<dragun@t-online.de>, relay=none, delay=520, delays=519/0.43/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Oct  9 07:55:44 srv postfix/smtpd[2640]: connect from unknown[45.125.66.190]
Oct  9 07:55:44 srv postfix/smtpd[2640]: disconnect from unknown[45.125.66.190] ehlo=1 auth=0/1 quit=1 commands=2/3
Oct  9 07:59:04 srv postfix/anvil[2642]: statistics: max connection rate 1/60s for (smtp:45.125.66.190) at Oct  9 07:55:44
Oct  9 07:59:04 srv postfix/anvil[2642]: statistics: max connection count 1 for (smtp:45.125.66.190) at Oct  9 07:55:44
Oct  9 07:59:04 srv postfix/anvil[2642]: statistics: max cache size 1 at Oct  9 07:55:44
Oct  9 08:00:28 srv postfix/smtpd[2823]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.162.145
Oct  9 08:00:28 srv postfix/smtpd[2823]: connect from unknown[89.248.162.145]
Oct  9 08:00:28 srv postfix/smtpd[2823]: disconnect from unknown[89.248.162.145] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Oct  9 08:01:13 srv postfix/smtpd[2823]: connect from mail.tsviewer.com[94.23.235.222]
Oct  9 08:01:13 srv postfix/smtpd[2823]: NOQUEUE: reject: RCPT from mail.tsviewer.com[94.23.235.222]: 554 5.7.1 <styla@insanity-esports.eu>: Relay access denied; from=<info@tsviewer.com> to=<styla@insanity-esports.eu> proto=ESMTP helo=<mail.tsviewer.com>
Oct  9 08:01:13 srv postfix/smtpd[2823]: disconnect from mail.tsviewer.com[94.23.235.222] ehlo=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=4/6
Oct  9 08:03:39 srv spamd[1549]: spamd: server killed by SIGTERM, shutting down
Oct  9 08:03:40 srv spamd[2982]: logger: removing stderr method
Oct  9 08:03:45 srv spamd[2984]: zoom: able to use 353/353 'body_0' compiled rules (100%)
Oct  9 08:03:48 srv spamd[2984]: spamd: server started on IO::Socket::IP [127.0.0.1]:783 (running version 3.4.1)
Oct  9 08:03:48 srv spamd[2984]: spamd: server pid: 2984
Oct  9 08:03:48 srv spamd[2984]: spamd: server successfully spawned child process, pid 2986
Oct  9 08:03:48 srv spamd[2984]: spamd: server successfully spawned child process, pid 2987
Oct  9 08:03:48 srv spamd[2984]: prefork: child states: IS
Oct  9 08:03:48 srv spamd[2984]: prefork: child states: II
Oct  9 08:04:34 srv postfix/anvil[2825]: statistics: max connection rate 1/60s for (smtp:89.248.162.145) at Oct  9 08:00:28
Oct  9 08:04:34 srv postfix/anvil[2825]: statistics: max connection count 1 for (smtp:89.248.162.145) at Oct  9 08:00:28
Oct  9 08:04:34 srv postfix/anvil[2825]: statistics: max cache size 2 at Oct  9 08:01:13
Oct  9 08:05:04 srv postfix/qmgr[2244]: 88739164E864: from=<keyhelp@srv.insanity-esports.eu>, size=1796, nrcpt=1 (queue active)
Oct  9 08:05:04 srv postfix/smtp[3105]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Oct  9 08:05:04 srv postfix/smtp[3105]: 88739164E864: to=<dragun@t-online.de>, relay=none, delay=1119, delays=1119/0.03/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

Code: Select all

mail.warn
Oct  9 07:38:53 srv postfix/smtpd[27990]: warning: hostname zg-0906c-31.stretchoid.com does not resolve to address 107.170.204.138
Oct  9 07:39:41 srv postfix/smtpd[27990]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.162.145
Oct  9 07:50:03 srv dovecot: master: Warning: SIGHUP received - reloading configuration
Oct  9 08:00:28 srv postfix/smtpd[2823]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.162.145
Oct  9 08:21:19 srv postfix/smtpd[4054]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.162.145

Code: Select all

Postfix master.cf
# 
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
# 
# Do not forget to execute "postfix reload" after editing this file.
# 
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (no)   (never) (100)
# ==========================================================================
smtp       inet  n       -       -       -       -       smtpd
#smtp      inet  n       -       -       -       1       postscreen
#smtpd     pass  -       -       -       -       -       smtpd
#dnsblog   unix  -       -       -       -       0       dnsblog
#tlsproxy  unix  -       -       -       -       0       tlsproxy
#smtps     inet  n       -       -       -       -       smtpd
#  -o syslog_name=postfix/smtps
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
submission inet n      -       -       -       -       smtpd
  -o smtpd_etrn_restrictions=reject
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o smtpd_enforce_tls=yes
#628       inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
retry     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
#   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
#  mailbox_transport = lmtp:inet:localhost
#  virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
# Old example of delivery via Cyrus.
#
#old-cyrus unix  -       n       n       -       -       pipe
#  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}

# Dovecot LDA
dovecot   unix  -   n   n   -   -   pipe
    flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}

# Python SPF Policy
policy  unix  -       n       n       -       -       spawn
        user=nobody argv=/usr/bin/policyd-spf /etc/postfix-policyd-spf-python/policyd-spf.conf
# Amavisd Spam und Virenfilter
amavis     unix    -       -       -       -       2       smtp
        -o smtp_data_done_timeout=1200
        -o smtp_send_xforward_command=yes
        -o disable_dns_lookups=yes
        -o max_use=20

127.0.0.1:10025 inet    n       -       -       -       -       smtpd
        -o content_filter=
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_delay_reject=no
        -o smtpd_client_restrictions=permit_mynetworks,reject
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o smtpd_data_restrictions=reject_unauth_pipelining
        -o smtpd_end_of_data_restrictions=
        -o mynetworks=127.0.0.0/8
        -o smtpd_error_sleep_time=0
        -o smtpd_soft_error_limit=1001
        -o smtpd_hard_error_limit=1000
        -o smtpd_client_connection_count_limit=0
        -o smtpd_client_connection_rate_limit=0
        -o receive_override_options=no_address_mappings

Code: Select all

Postfix main.cf
myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

## Turning off the backwards-compatibility safety net
## http://www.postfix.org/COMPATIBILITY_README.html
compatibility_level = 2

## 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

## max mailsize in byte
message_size_limit = 36700160

## TLS parameters
smtpd_use_tls = yes
smtpd_tls_auth_only = yes

smtpd_tls_cert_file = /etc/ssl/keyhelp/mail.pem
smtpd_tls_key_file = /etc/ssl/keyhelp/mail.pem
smtpd_tls_CAfile = /etc/ssl/keyhelp/mail-ca.crt
smtp_tls_CApath = /etc/ssl/certs
smtpd_tls_CApath = /etc/ssl/certs

smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_mandatory_protocols = !SSLv2 !SSLv3
smtpd_tls_mandatory_protocols = !SSLv2 !SSLv3
smtp_tls_protocols = !SSLv2 !SSLv3
smtpd_tls_protocols = !SSLv2 !SSLv3

smtp_tls_security_level = may
smtpd_tls_security_level = may

## TLS cypher for PFS
smtp_tls_mandatory_ciphers = high
smtpd_tls_mandatory_ciphers = high
## medium for now, otherwise breakes with older SMTP
smtp_tls_ciphers = medium
smtpd_tls_ciphers = medium
smtpd_tls_dh1024_param_file = /etc/postfix/dh2048.pem
smtpd_tls_dh512_param_file = /etc/postfix/dh512.pem

## Dovecot Settings for deliver, SASL Auth and virtual transport
## uncomment those line to use Dovecot
mailbox_command = /usr/lib/dovecot/deliver

#dovecot_destination_recipient_limit = 1
#transport_maps = hash:/etc/postfix/transport
mailbox_transport = dovecot

smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

myhostname = srv.insanity-esports.eu
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = localhost, $myhostname
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = ipv4

## handing off local delivery to Dovecot's LMTP, and telling it where to store mail
virtual_transport = lmtp:unix:private/dovecot-lmtp
#virtual_transport = dovecot

## virtual domains, users, and aliases
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf

## spam filter
content_filter = amavis:127.0.0.1:10024

## concerning the peer
smtpd_soft_error_limit = 5
smtpd_error_sleep_time = 10s

smtpd_helo_required = yes

smtpd_client_restrictions =
 permit_mynetworks,
 permit_sasl_authenticated,
 reject_multi_recipient_bounce,
 reject_unauth_destination

smtpd_helo_restrictions =
 permit_mynetworks,
 permit_sasl_authenticated,
# check_helo_access regexp:/etc/postfix/helo_access,
 reject_invalid_hostname,
 reject_non_fqdn_hostname

## concerning the envelope
smtpd_sender_restrictions =
 permit_mynetworks,
 permit_sasl_authenticated,
 reject_non_fqdn_sender,
 reject_unauth_destination,
 reject_unknown_sender_domain,
 reject_unknown_client,
 reject_non_fqdn_hostname

smtpd_recipient_restrictions =
 permit_mynetworks,
 permit_sasl_authenticated,
 reject_unauth_destination,
 reject_unauth_pipelining,
 reject_non_fqdn_recipient,
 check_policy_service unix:private/policy,
# check_policy_service inet:127.0.0.1:10023

smtpd_recipient_limit = 50
smtpd_recipient_overshoot_limit = 50

## header checks
header_checks = regexp:/etc/postfix/header_checks
Auf Port 10024 läuft ja eigentlich amavis, laut KH Panel sind die Dienste auch alle am laufen.

Code: Select all

service amavis status - Ausgabe
amavis.service - LSB: Starts amavisd-new mailfilter
   Loaded: loaded (/etc/init.d/amavis; generated; vendor preset: enabled)
   Active: active (exited) since Tue 2018-10-09 08:03:11 CEST; 28min ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/amavis.service

Okt 09 08:03:11 srv.insanity-esports.eu systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
Okt 09 08:03:11 srv.insanity-esports.eu amavis[2963]: Starting amavisd:
Okt 09 08:03:11 srv.insanity-esports.eu amavis[2963]: Warning: Fake start-stop-daemon called, doing nothing.
Okt 09 08:03:11 srv.insanity-esports.eu amavis[2963]: amavisd-new.
Okt 09 08:03:11 srv.insanity-esports.eu systemd[1]: Started LSB: Starts amavisd-new mailfilter.

Code: Select all

 service postfix status
● postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled)
   Active: active (exited) since Tue 2018-10-09 07:48:23 CEST; 44min ago
 Main PID: 1986 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/postfix.service

Okt 09 07:48:22 srv.insanity-esports.eu systemd[1]: Starting Postfix Mail Transport Agent...
Okt 09 07:48:23 srv.insanity-esports.eu systemd[1]: Started Postfix Mail Transport Agent.
Okt 09 07:50:04 srv.insanity-esports.eu systemd[1]: Reloading Postfix Mail Transport Agent.
Okt 09 07:50:04 srv.insanity-esports.eu systemd[1]: Reloaded Postfix Mail Transport Agent.
Den install.log des Panels hänge ich als Datei an.
install.log
(348.98 KiB) Downloaded 243 times
Hab über Google schon einiges gesucht über Connection Refused, doch hilft scheinbar bei mir nichts oder ich bin zu doof.

Hoffe es kann mir einer helfen.
nikko
Posts: 914
Joined: Fri 15. Apr 2016, 16:11

Re: Postfix/SMTP Conection Refused

Post by nikko »

Hier ist es doch aus den Logs zu entnehmen:

Code: Select all

warning: hostname zg-0906c-31.stretchoid.com does not resolve to address 107.170.204.138
Mache mal alles schick fertig, dann haben wir auch Hoffnung, dass alles am Ende funktioniert.

1.) FQDN bereitstellen (server.meinedomain.de) und auf die richtige IP routen - genug Zeit geben, dass dieser korrekt auflöst.
2.) OS minimal installieren, FQDN in den Files /etc/hosts und /etc/hostname setzen
3.) KH installieren

Testlauf mit korrekt gesetzter Testdomain.
The software said: Requires Win Vista®, 7®, 8® or better. And so I installed Linux.
nikko
Posts: 914
Joined: Fri 15. Apr 2016, 16:11

Re: Postfix/SMTP Conection Refused

Post by nikko »

Hier gehts ja gleich noch weiter:

Code: Select all

Oct  9 07:38:53 srv postfix/smtpd[27990]: warning: hostname zg-0906c-31.stretchoid.com does not resolve to address 107.170.204.138
Oct  9 07:39:41 srv postfix/smtpd[27990]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.162.145
Nutze bitte, wie oben beschrieben, eigene Domains - keine generischen.
The software said: Requires Win Vista®, 7®, 8® or better. And so I installed Linux.
Styla
Posts: 3
Joined: Mon 8. Oct 2018, 20:29

Re: Postfix/SMTP Conection Refused

Post by Styla »

Code: Select all

/etc/hosts
127.0.0.1 localhost.localdomain localhost
46.251.251.235 srv.insanity-esports.eu srv

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Code: Select all

/etc/hostname
srv.insanity-esports.eu
Steht seit der OS Installation drin.

Woher diese IPs kommen keine Ahnung, die DNS Verwaltung sollte eigentlich auch stimmen vom Hoster wo ich die Domain her habe.
Nameserver sind von ip-projects eingetragen.

Gehen halt keine Mails rein noch raus bleiben alle in der Warteschlange hängen.
nikko
Posts: 914
Joined: Fri 15. Apr 2016, 16:11

Re: Postfix/SMTP Conection Refused

Post by nikko »

Wenn das deine Domain ist, passt es so.

Jetzt muss diese als RDNS gesetzt werden - beim Hoster.

Nebenbei: Welches OS wurde installiert?
The software said: Requires Win Vista®, 7®, 8® or better. And so I installed Linux.
Styla
Posts: 3
Joined: Mon 8. Oct 2018, 20:29

Re: Postfix/SMTP Conection Refused

Post by Styla »

Debian 9 als OS. Der RDNS ist drin. Es geht ja darum das ich keine Mails rein oder raus bekomme.

In der mail.log steht bei jeder Mail die ankommt oder raus soll halt connection refused.
nikko
Posts: 914
Joined: Fri 15. Apr 2016, 16:11

Re: Postfix/SMTP Conection Refused

Post by nikko »

Persönlich setze ich immer noch auf Ubuntu 16.04, notfalls Debian 8. Der Rest ist mir noch nicht stabil genug.

Hilft dir das ggfls. weiter?
viewtopic.php?f=4&t=1352&p=4892#p4892

Auch mal unter var/log in andere Files schauen. (system z.B.)
The software said: Requires Win Vista®, 7®, 8® or better. And so I installed Linux.
Locked