Email werden nicht versendet

vikozo

Member
hallo
ich habe in einem KVM folgendes Installiert.
https://www.howtoforge.com/tutorial/perfect-server-debian-8-jessie-apache-bind-dovecot-ispconfig-3/

nun kann ich zwar email empfangen aber nicht versenden an eine externe Email Adresse.
Email adresse mit der gleichen domain klappen

mail.err
ist leer

mail.warn sind das die letzten einträge
Oct 6 21:13:22 memoryalpha postfix/smtpd[12352]: warning: unknown[155.133.19.233]: SASL LOGIN authentication failed: Connection lost to authentication server
Oct 6 21:53:43 memoryalpha postfix/smtpd[13974]: warning: unknown[95.215.0.203]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Oct 7 03:02:15 memoryalpha postfix/smtpd[19222]: warning: unknown[5.136.171.240]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Oct 7 03:02:32 memoryalpha postfix/smtpd[17692]: warning: unknown[5.136.171.240]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Oct 7 03:02:53 memoryalpha postfix/smtpd[19222]: warning: unknown[5.136.171.240]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Oct 7 03:13:13 memoryalpha postfix/smtpd[17692]: warning: unknown[5.136.171.240]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Oct 7 03:13:29 memoryalpha postfix/smtpd[20835]: warning: unknown[5.136.171.240]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Oct 7 03:13:50 memoryalpha postfix/smtpd[17692]: warning: unknown[5.136.171.240]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Oct 7 03:24:10 memoryalpha postfix/smtpd[17692]: warning: unknown[5.136.171.240]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Oct 7 03:24:26 memoryalpha postfix/smtpd[22399]: warning: unknown[5.136.171.240]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Oct 7 03:24:47 memoryalpha postfix/smtpd[17692]: warning: unknown[5.136.171.240]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Oct 7 08:38:04 memoryalpha postfix/smtpd[691]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
Oct 7 09:24:58 memoryalpha postfix/smtpd[13926]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
Oct 7 09:30:49 memoryalpha postfix/smtpd[13926]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
Oct 7 09:30:49 memoryalpha postfix/smtpd[13926]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
Oct 7 09:43:53 memoryalpha postfix/smtpd[13926]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
Oct 7 10:21:46 memoryalpha postfix/smtpd[13926]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
Oct 7 10:22:27 memoryalpha postfix/smtpd[13926]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
Oct 7 11:17:25 memoryalpha postfix/smtpd[31051]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
Oct 7 12:16:52 memoryalpha postfix/smtpd[8889]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
Oct 7 12:40:07 memoryalpha postfix/smtpd[8889]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
 

florian030

Well-Known Member
Und was steht in mail.log, wenn Du eine Mail einlieferst, die dann nach extern versendet werden soll?
 

vikozo

Member
mail.log
Oct 7 21:56:20 memoryalpha dovecot: imap(srv-net@kozo.ch): Disconnected: Logged out in=294 out=5160
Oct 7 21:56:35 memoryalpha postfix/smtpd[4758]: connect from localhost[127.0.0.1]
Oct 7 21:56:35 memoryalpha postfix/smtpd[4758]: 5157A201C04: client=localhost[127.0.0.1]
Oct 7 21:56:35 memoryalpha postfix/cleanup[4748]: 5157A201C04: message-id=<935e01019e6ccccead77654f49c7a06e.squirrel@www.kozo.ch>
Oct 7 21:56:35 memoryalpha postfix/qmgr[1356]: 5157A201C04: from=<srv-net@kozo.ch>, size=1157, nrcpt=1 (queue active)
Oct 7 21:56:35 memoryalpha postfix/smtpd[4758]: disconnect from localhost[127.0.0.1]
Oct 7 21:56:35 memoryalpha amavis[1505]: (01505-13) Passed CLEAN {RelayedOutbound}, LOCAL [::1]:49808 [178.198.34.54] <srv-net@kozo.ch> -> <vkocher@wombat.ch>, Queue-ID: 2CD9E201C03, Message-ID: <935e01019e6ccccead77654f49c7a06e.squirrel@www.kozo.ch>, mail_id: iPnsIAZREGio, Hits: -1, size: 700, queued_as: 5157A201C04, 15102 ms
Oct 7 21:56:35 memoryalpha postfix/smtp[4751]: 2CD9E201C03: to=<vkocher@wombat.ch>, relay=127.0.0.1[127.0.0.1]:10024, delay=15, delays=0.06/0.02/0/15, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5157A201C04)
Oct 7 21:56:35 memoryalpha postfix/qmgr[1356]: 2CD9E201C03: removed
Oct 7 21:56:55 memoryalpha postfix/smtp[4760]: 5157A201C04: to=<vkocher@wombat.ch>, relay=none, delay=20, delays=0.01/0.02/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=wombat.ch type=MX: Host not found, try again)
Oct 7 21:57:01 memoryalpha postfix/smtpd[31702]: connect from localhost[::1]
Oct 7 21:57:01 memoryalpha postfix/smtpd[31702]: lost connection after CONNECT from localhost[::1]
Oct 7 21:57:01 memoryalpha postfix/smtpd[31702]: disconnect from localhost[::1]
Oct 7 21:57:01 memoryalpha dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<2KVbJokhMgAAAAAAAAAAAAAAAAAAAAAB>
Oct 7 21:57:01 memoryalpha dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<Uq1bJokhMAAAAAAAAAAAAAAAAAAAAAAB>
Oct 7 21:58:01 memoryalpha postfix/smtpd[31702]: connect from localhost[::1]
 

florian030

Well-Known Member
"status=deferred (Host or domain name not found. Name service error for name=wombat.ch type=MX: Host not found, try again)"

Und wo ist jetzt Dein Problem. Ist wombat.ch Deine Domain und Du fragst was nicht stimmt? Wenn Du Dir die Mail-Queue ansieht, wirst Du immer mal wieder Mails finden, die nicht sofort rausgehen.
 

florian030

Well-Known Member
Wie die Mails auf den Server kommen, ist erstmal egal. Es macht keinen Unterschied, ob Du die über ein Emall-Progamm oder Squirrel-Mail einlieferst. Hast Du das Problem auch bei anderen Domains oder nur bei dieser?
 

vikozo

Member
Robotto
ich würde sagen ja ein MX record ist das
# dig mx kozo.ch
; <<>> DiG 9.9.5-9+deb8u3-Debian <<>> mx kozo.ch
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21050
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 4
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;kozo.ch. IN MX
;; ANSWER SECTION:
kozo.ch. 86400 IN MX 10 mail.kozo.ch.
kozo.ch. 86400 IN MX 10 pop3.kozo.ch.
;; AUTHORITY SECTION:
kozo.ch. 3600 IN NS ns1.kozo.ch.
kozo.ch. 3600 IN NS ns2.kozo.ch.
;; ADDITIONAL SECTION:
mail.kozo.ch. 3600 IN A 178.198.34.54
ns1.kozo.ch. 86400 IN A 178.198.34.54
ns2.kozo.ch. 86400 IN A 178.198.34.54
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Oct 08 07:26:09 CEST 2015
;; MSG SIZE rcvd: 162
@florian030
es ist die einzige Domaine auf dem Server bisher...
 

vikozo

Member
# dig any kozo.ch
; <<>> DiG 9.9.5-9+deb8u3-Debian <<>> any kozo.ch
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6748
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 4
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;kozo.ch. IN ANY
;; ANSWER SECTION:
kozo.ch. 86400 IN TXT "v=spf1 a mx ptr -all"
kozo.ch. 86400 IN MX 10 mail.kozo.ch.
kozo.ch. 86400 IN MX 10 pop3.kozo.ch.
kozo.ch. 3600 IN NS ns2.kozo.ch.
kozo.ch. 3600 IN NS ns1.kozo.ch.
kozo.ch. 86400 IN PTR 54.34.198.178.in-addr.arpa.
kozo.ch. 3600 IN A 178.198.34.54
kozo.ch. 3600 IN SOA ns1.kozo.ch. vkocher.wombat.ch. 2015100729 7200 540 604800 86400
;; ADDITIONAL SECTION:
mail.kozo.ch. 3600 IN A 178.198.34.54
ns1.kozo.ch. 86400 IN A 178.198.34.54
ns2.kozo.ch. 86400 IN A 178.198.34.54
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Oct 08 07:31:40 CEST 2015
;; MSG SIZE rcvd: 302
 

vikozo

Member
nach einem reboot des Server ;) sind nun alle Testmails eingetroffen :cool:
somit hätte sich das Problem erledigt ohne zu wissen wo das Problem war
Danke für eure Unterstützung beim lösen von Problemen....
 

vikozo

Member
@robotto7831a
ich bin nicht der Meinung das ich Wombat.ch prüfen müsste, weil sonst muss ich auch alle anderen auf der Welt kontrollieren müsste also auch gmail usw.

und Wombat.ch ist eine Domaine die seit über 20 Jahren stabil läuft.
 

florian030

Well-Known Member
Es ging nie darum, ob die Domain einen MX hat (den hatte sie auch schon gestern), sondern darum, ob Dein Server den finden konnte.
 

vikozo

Member
sorry im nachhinein kann ich es nicht sagen, wie erwähnt nach dem reboot hatte ich einen eintrag.
Danke für die Hilfe
 

Werbung

Top