Current time: 11-06-2024, 10:32 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT] SMTP Timeout
Author Message
neon Offline
Newbie
*

Posts: 5
Joined: Nov 2008
Reputation: 0
Post: #1
[ERLEDIGT] SMTP Timeout
Hallo zusammen,

ich habe da ein kleines Problem mit meinem SMTPD.
Meinen vServer habe ich von Anfang an mit ispCP und debian aufgesetzt und bis vor kurzem lief auch alles mit dem smtpd noch ganz normal. Ich weiß nicht genau wann "es" kaputt gegangen ist weil ich den smtp eigentlich fast nie nutze sondern nur über imap Mails empfange.

Jedenfalls habe ich festgestellt, dass es nicht mehr funktionierte weshalb ich mal einen Blick in die Logs geworfen habe und dabei rausgefunden, dass es ihm offenbar an SSL-Zertifakten mangelte, denn der Fehler war immer in der Art "no certs found". Also habe ich den Guide von http://www.isp-control.net benutzt um openssl zu installieren und den smtpd (postfix) mit entsprechenden Zertifikaten auszustatten. Hat auch soweit alles geklappt.

Dummerweise jedoch, wenn ich nun versuche eine E-Mail zu senden lädt sich jedes E-Mail-Programm tot und kann die Mail nicht versenden.



Die Logs sagen dazu:

Nov 16 21:48:16 baiji postfix/smtpd[22249]: connect from i577AC117.versanet.de[87.122.193.23]
Nov 16 21:48:16 baiji postfix/smtpd[22249]: setting up TLS connection from i577AC117.versanet.de[87.122.193.23]
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:before/accept initialization
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:error in SSLv2/v3 read client hello A
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:error in SSLv3 read client hello B
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:error in SSLv3 read client hello B
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:SSLv3 read client hello B
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:SSLv3 write server hello A
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:SSLv3 write certificate A
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:SSLv3 write server done A
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:SSLv3 flush data
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:error in SSLv3 read client certificate A
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:error in SSLv3 read client certificate A
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:SSLv3 read client key exchange A
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:error in SSLv3 read certificate verify A
Nov 16 21:48:16 baiji last message repeated 3 times
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:SSLv3 read finished A
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:SSLv3 write change cipher spec A
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:SSLv3 write finished A
Nov 16 21:48:16 baiji postfix/smtpd[22249]: SSL_accept:SSLv3 flush data
Nov 16 21:48:16 baiji postfix/smtpd[22249]: TLS connection established from i577AC117.versanet.de[87.122.193.23]: TLSv1 with cipher AES128-SHA (128/128 bits)
Nov 16 21:48:16 baiji postfix/smtpd[22249]: lost connection after EHLO from i577AC117.versanet.de[87.122.193.23]
Nov 16 21:48:16 baiji postfix/smtpd[22249]: disconnect from i577AC117.versanet.de[87.122.193.23]
Nov 16 21:48:16 baiji postfix/smtpd[22263]: connect from i577AC117.versanet.de[87.122.193.23]
Nov 16 21:48:16 baiji postfix/smtpd[22263]: setting up TLS connection from i577AC117.versanet.de[87.122.193.23]
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:before/accept initialization
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:error in SSLv2/v3 read client hello A
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:error in SSLv3 read client hello B
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:error in SSLv3 read client hello B
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:SSLv3 read client hello B
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:SSLv3 write server hello A
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:SSLv3 write certificate A
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:SSLv3 write server done A
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:SSLv3 flush data
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:error in SSLv3 read client certificate A
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:error in SSLv3 read client certificate A
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:SSLv3 read client key exchange A
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:error in SSLv3 read certificate verify A
Nov 16 21:48:16 baiji last message repeated 3 times
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:SSLv3 read finished A
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:SSLv3 write change cipher spec A
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:SSLv3 write finished A
Nov 16 21:48:16 baiji postfix/smtpd[22263]: SSL_accept:SSLv3 flush data
Nov 16 21:48:16 baiji postfix/smtpd[22263]: TLS connection established from i577AC117.versanet.de[87.122.193.23]: TLSv1 with cipher AES128-SHA (128/128 bits)
Nov 16 21:48:16 baiji postfix/smtpd[22263]: lost connection after EHLO from i577AC117.versanet.de[87.122.193.23]
Nov 16 21:48:16 baiji postfix/smtpd[22263]: disconnect from i577AC117.versanet.de[87.122.193.23]


Kommentiere ich die TLS-Konfiguration aus, beschränkt sich das Log auf:

Nov 16 21:39:00 baiji postfix/smtpd[15597]: connect from i577AC117.versanet.de[87.122.193.23]
Nov 16 21:39:00 baiji postfix/smtpd[15597]: lost connection after EHLO from i577AC117.versanet.de[87.122.193.23]
Nov 16 21:39:00 baiji postfix/smtpd[15597]: disconnect from i577AC117.versanet.de[87.122.193.23]
Nov 16 21:39:00 baiji postfix/smtpd[15597]: connect from i577AC117.versanet.de[87.122.193.23]


Leider habe ich keine Ahnung was ich nun tun soll bzw. warum dieser Fehler auftritt. Ich hoffe, dass mir jemand von euch helfen kann.
Da das MyBB meine Attachments irgendwie nicht mag, könnt ihr die main.cf hier einsehen: http://baiji.eu/main.cf



VG,
neon
(This post was last modified: 11-18-2008 12:54 AM by BeNe.)
11-17-2008 07:56 AM
Find all posts by this user
Kotty Offline
Junior Member
*

Posts: 167
Joined: Mar 2008
Reputation: 3
Post: #2
RE: SMTP Timeout
ehm hab ich des richtig gelesen du hast noch nen RC3 am laufen?

Achso noch was Wink

ich hab grad mal versucht mit deinem Server smtp zu sprechen des mag der irgendwie garnet. Steht bei dir irgendwas in der error.log?
(This post was last modified: 11-17-2008 06:41 PM by Kotty.)
11-17-2008 06:28 PM
Find all posts by this user
neon Offline
Newbie
*

Posts: 5
Joined: Nov 2008
Reputation: 0
Post: #3
RE: SMTP Timeout
hey,

nein nein es läuft schon RC6, aber die erste Installation ist halt von RC3-Zeiten und daher steht das wohl noch in der main.cf als "banner" Wink

Also in der mail.err steht zu deinem Test-Versuch gar nichts. Der letzte Eintrag dadrin ist schon mehr als eine Woche alt und ist noch von den Zeiten der fehlenden Zertifikate.

In der mail.log steht allerdings folgendes:

Nov 17 06:26:24 baiji postfix/pickup[28428]: CB1E018234494: uid=0 from=<root>
Nov 17 06:26:24 baiji postfix/cleanup[8095]: CB1E018234494: message-id=<20081117062624.CB1E018234494@mail.baiji.eu>
Nov 17 06:26:24 baiji postfix/qmgr[22238]: CB1E018234494: from=<root@mail.baiji.eu>, size=672, nrcpt=1 (queue active)
Nov 17 06:26:25 baiji postfix/local[8097]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Nov 17 06:26:25 baiji postfix/local[8097]: CB1E018234494: to=<root@mail.baiji.eu>, orig_to=<root>, relay=local, delay=31, delays=31/0.03/0/0.05, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Nov 17 06:26:25 baiji postfix/qmgr[22238]: CB1E018234494: removed
Nov 17 08:34:36 baiji postfix/smtpd[25896]: initializing the server-side TLS engine
Nov 17 08:34:36 baiji postfix/smtpd[25896]: connect from p5798882B.dip.t-dialin.net[87.152.136.43]
Nov 17 08:35:51 baiji postfix/smtpd[25896]: warning: SASL authentication failure: Couldn't find mech logi????user
Nov 17 08:35:51 baiji postfix/smtpd[25896]: warning: p5798882B.dip.t-dialin.net[87.152.136.43]: SASL logi????user authentication failed: no mechanism available
Nov 17 08:36:01 baiji postfix/smtpd[25896]: warning: SASL authentication failure: Couldn't find mech u?login
Nov 17 08:36:01 baiji postfix/smtpd[25896]: warning: p5798882B.dip.t-dialin.net[87.152.136.43]: SASL u?login authentication failed: no mechanism available
Nov 17 08:36:10 baiji postfix/smtpd[25896]: warning: p5798882B.dip.t-dialin.net[87.152.136.43]: SASL login authentication failed: encryption needed to use mechanism
Nov 17 08:36:40 baiji postfix/smtpd[25896]: warning: p5798882B.dip.t-dialin.net[87.152.136.43]: SASL login authentication failed: encryption needed to use mechanism
Nov 17 08:36:50 baiji postfix/smtpd[25896]: disconnect from p5798882B.dip.t-dialin.net[87.152.136.43]
Nov 17 08:36:52 baiji postfix/smtpd[25896]: connect from p5798882B.dip.t-dialin.net[87.152.136.43]
Nov 17 08:37:10 baiji postfix/smtpd[25896]: warning: p5798882B.dip.t-dialin.net[87.152.136.43]: SASL login authentication failed: encryption needed to use mechanism
Nov 17 08:40:32 baiji postfix/smtpd[25896]: disconnect from p5798882B.dip.t-dialin.net[87.152.136.43]
Nov 17 08:43:52 baiji postfix/anvil[25897]: statistics: max connection rate 1/60s for (smtp:87.152.136.43) at Nov 17 08:34:36
Nov 17 08:43:52 baiji postfix/anvil[25897]: statistics: max connection count 1 for (smtp:87.152.136.43) at Nov 17 08:34:36
Nov 17 08:43:52 baiji postfix/anvil[25897]: statistics: max cache size 1 at Nov 17 08:34:36


vielleicht hilft das ja weiter.

Gruß,
Christopher
11-17-2008 07:03 PM
Find all posts by this user
Kotty Offline
Junior Member
*

Posts: 167
Joined: Mar 2008
Reputation: 3
Post: #4
RE: SMTP Timeout
kannst du mal testweise bei
smtpd_sasl_security_options = noanonymous, noplaintext

des noplaintext rausnehmen?
11-17-2008 07:07 PM
Find all posts by this user
neon Offline
Newbie
*

Posts: 5
Joined: Nov 2008
Reputation: 0
Post: #5
RE: SMTP Timeout
hey wow, du bist echt gut. Smile Nun kann ich emails versenden.
Apple Mail lädt sich jedoch weiterhin tot, obwohl ich die Mail bereits erhalten habe Oo

das sagt das log:

Nov 17 09:08:27 baiji postfix/master[22235]: terminating on signal 15
Nov 17 09:08:28 baiji postfix/master[18105]: daemon started -- version 2.3.8, configuration /etc/postfix
Nov 17 09:08:43 baiji postfix/smtpd[18158]: initializing the server-side TLS engine
Nov 17 09:08:43 baiji postfix/smtpd[18158]: connect from i577AC117.versanet.de[87.122.193.23]
Nov 17 09:08:43 baiji postfix/smtpd[18158]: setting up TLS connection from i577AC117.versanet.de[87.122.193.23]
Nov 17 09:08:43 baiji postfix/smtpd[18158]: SSL_accept:before/accept initialization
Nov 17 09:08:43 baiji postfix/smtpd[18158]: SSL_accept:error in SSLv2/v3 read client hello A
Nov 17 09:08:43 baiji postfix/smtpd[18158]: SSL_accept:error in SSLv3 read client hello B
Nov 17 09:08:43 baiji postfix/smtpd[18158]: SSL_accept:error in SSLv3 read client hello B
Nov 17 09:08:43 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 read client hello B
Nov 17 09:08:43 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 write server hello A
Nov 17 09:08:43 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 write certificate A
Nov 17 09:08:43 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 write server done A
Nov 17 09:08:43 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 flush data
Nov 17 09:08:43 baiji postfix/smtpd[18158]: SSL_accept:error in SSLv3 read client certificate A
Nov 17 09:08:43 baiji postfix/smtpd[18158]: SSL_accept error from i577AC117.versanet.de[87.122.193.23]: -1
Nov 17 09:08:43 baiji postfix/smtpd[18158]: lost connection after STARTTLS from i577AC117.versanet.de[87.122.193.23]
Nov 17 09:08:43 baiji postfix/smtpd[18158]: disconnect from i577AC117.versanet.de[87.122.193.23]
Nov 17 09:08:45 baiji postfix/smtpd[18158]: connect from i577AC117.versanet.de[87.122.193.23]
Nov 17 09:08:45 baiji postfix/smtpd[18158]: setting up TLS connection from i577AC117.versanet.de[87.122.193.23]
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:before/accept initialization
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:error in SSLv2/v3 read client hello A
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:error in SSLv3 read client hello B
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:error in SSLv3 read client hello B
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 read client hello B
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 write server hello A
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 write certificate A
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 write server done A
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 flush data
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:error in SSLv3 read client certificate A
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:error in SSLv3 read client certificate A
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 read client key exchange A
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:error in SSLv3 read certificate verify A
Nov 17 09:08:45 baiji last message repeated 3 times
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 read finished A
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 write change cipher spec A
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 write finished A
Nov 17 09:08:45 baiji postfix/smtpd[18158]: SSL_accept:SSLv3 flush data
Nov 17 09:08:45 baiji postfix/smtpd[18158]: TLS connection established from i577AC117.versanet.de[87.122.193.23]: TLSv1 with cipher AES128-SHA (128/128 bits)
Nov 17 09:08:46 baiji postfix/smtpd[18158]: 179C618234492: client=i577AC117.versanet.de[87.122.193.23], sasl_method=PLAIN, sasl_username=cspeer@baiji.eu
Nov 17 09:08:46 baiji postfix/cleanup[18174]: 179C618234492: message-id=<18DE149C-50A8-4242-A109-0F2CC1E2A58E@baiji.eu>
Nov 17 09:08:46 baiji postfix/qmgr[18108]: 179C618234492: from=<cspeer@baiji.eu>, size=667, nrcpt=1 (queue active)
Nov 17 09:08:46 baiji postfix/smtp[18175]: 179C618234492: to=<cspeer@gmail.com>, relay=gmail-smtp-in.l.google.com[72.14.221.114]:25, delay=0.44, delays=0.12/0.07/0.05/0.2, dsn=2.0.0, status=sent (250 2.0.0 OK 1226912926 l12si3820962fgb.6)
Nov 17 09:08:46 baiji postfix/qmgr[18108]: 179C618234492: removed
Nov 17 09:09:46 baiji postfix/smtpd[18158]: disconnect from i577AC117.versanet.de[87.122.193.23]
11-17-2008 07:12 PM
Find all posts by this user
Kotty Offline
Junior Member
*

Posts: 167
Joined: Mar 2008
Reputation: 3
Post: #6
RE: SMTP Timeout
es Sieht so aus als versucht apple mail über SMPTS (secure) zu versenden Check mal deine Config am client ob es da aktiviert ist und wenn ja deaktvieren wenns hilft hat dein Apple Mail evtl. probleme mim self signed certifikat oder ähnliches.
11-17-2008 07:14 PM
Find all posts by this user
neon Offline
Newbie
*

Posts: 5
Joined: Nov 2008
Reputation: 0
Post: #7
RE: SMTP Timeout
Nun, ich habe eigentlich nichts geändert an Apple Mail, aber nun funktioniert es anstandslos...
Herzlichen Dank!!!!! :-)

Eine Frage/Problem habe ich dann aber nun dennoch wegen des noplaintext. Im Grunde ist mir das ein bisschen unsicher. Gibt's ne Lösung dafür?

Gruß
11-17-2008 07:22 PM
Find all posts by this user
Kotty Offline
Junior Member
*

Posts: 167
Joined: Mar 2008
Reputation: 3
Post: #8
RE: SMTP Timeout
(11-17-2008 07:22 PM)neon Wrote:  Nun, ich habe eigentlich nichts geändert an Apple Mail, aber nun funktioniert es anstandslos...
Herzlichen Dank!!!!! :-)

Eine Frage/Problem habe ich dann aber nun dennoch wegen des noplaintext. Im Grunde ist mir das ein bisschen unsicher. Gibt's ne Lösung dafür?

Gruß

Alles nur über SSL / TLS erlauben Big Grin

Des Problem is das es leider noch viele MUAs aufm Markt gibt die wohl nur Plaintext sprechen können -.-
11-17-2008 07:39 PM
Find all posts by this user
neon Offline
Newbie
*

Posts: 5
Joined: Nov 2008
Reputation: 0
Post: #9
RE: SMTP Timeout
Achso, also müsste ich es erstmal so laufen lassen...
Naja gut, aber tausend Dank jedenfalls!! :-)


Grüße,
Christopher
11-17-2008 10:04 PM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)