Difference between revisions of "Mail notater"

From Teknologisk videncenter
Jump to: navigation, search
m
m (Curing)
Line 38: Line 38:
 
Trying again
 
Trying again
 
<source lang=cli>
 
<source lang=cli>
heth@heth-desktop:~/bin$ telnet 193.163.33.237 25
+
heth@heth-desktop:~/bin$ <input>telnet 193.163.33.237 25</input>
 
Trying 193.163.33.237...
 
Trying 193.163.33.237...
 
Connected to 193.163.33.237.
 
Connected to 193.163.33.237.
 
Escape character is '^]'.
 
Escape character is '^]'.
 
220 spa01.mercantec.dk ESMTP (793039d8cf351cb2d25552ec1fbcb273)
 
220 spa01.mercantec.dk ESMTP (793039d8cf351cb2d25552ec1fbcb273)
HELO mars.tekkom.dk
+
<input>HELO mars.tekkom.dk</input>
 
250 spa01.mercantec.dk Hello uvisa.eucmidt.dk [195.181.54.2], pleased to meet yo                                  u
 
250 spa01.mercantec.dk Hello uvisa.eucmidt.dk [195.181.54.2], pleased to meet yo                                  u
MAIL FROM:<heth@mars.tekkom.dk>
+
<input>MAIL FROM:<heth@mars.tekkom.dk></input>
 
250 Sender <heth@mars.tekkom.dk> OK
 
250 Sender <heth@mars.tekkom.dk> OK
RCPT TO:<heth@mars.tekkom.dk>
+
<input>RCPT TO:<heth@mars.tekkom.dk></input>
 
550 No such domain at this location (heth@mars.tekkom.dk)
 
550 No such domain at this location (heth@mars.tekkom.dk)
RCPT TO:<heth@mercantec.dk>
+
<input>RCPT TO:<heth@mercantec.dk></input>
 
250 Recipient <heth@mercantec.dk> OK
 
250 Recipient <heth@mercantec.dk> OK
DATA
+
<input>DATA</input>
 
354 Start mail input; end with <CRLF>.<CRLF>
 
354 Start mail input; end with <CRLF>.<CRLF>
Date: 15 may 2010 07:43:54
+
<input>Date: 15 may 2010 07:43:54
 
From: Henrik Thomsen <heth@mars.tekkom.dk>
 
From: Henrik Thomsen <heth@mars.tekkom.dk>
 
Subject: Vigtigt
 
Subject: Vigtigt
Line 59: Line 59:
 
BLAB
 
BLAB
 
BLAB
 
BLAB
.
+
.</input>
 
250 Ok: queued as 7EEF81E9E8D
 
250 Ok: queued as 7EEF81E9E8D
QUIT
+
<input>QUIT</input>
 
221 spa01.mercantec.dk Goodbye uvisa.eucmidt.dk, closing connection
 
221 spa01.mercantec.dk Goodbye uvisa.eucmidt.dk, closing connection
 
Connection closed by foreign host.
 
Connection closed by foreign host.

Revision as of 06:53, 15 May 2010

blocking of server

Suddenly I couldn't send mail from mars.tekkom.dk to mercantec.dk. To figure out why I used telnet

Finding mailserver

[root@mars etc]#<input>dig -t MX mercantec.dk</input>

; <<>> DiG 9.4.2-P2 <<>> -t MX mercantec.dk
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47863
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 0

;; QUESTION SECTION:
;mercantec.dk.                  IN      MX

;; ANSWER SECTION:
mercantec.dk.           86400   IN      MX      10 <notice>spa01.mercantec.dk</notice>.

Finding reason

[heth@mars ~]$<input> telnet spa01.mercantec.dk 25</input>
Trying 193.163.33.237...
Connected to spa01.mercantec.dk.
Escape character is '^]'.
220 spa01.mercantec.dk ESMTP (793039d8cf351cb2d25552ec1fbcb273)
<input>HELO mars.tekkom.dk</input>
250 spa01.mercantec.dk Hello cpe.atm2-0-75146.vgnxx2.customer.tele.dk [83.90.47.30], pleased to meet you
<input>MAIL FROM:<heht@mars.tekkom.dk></input>
250 Sender <heht@mars.tekkom.dk> OK
<input>RCPT TO:<heth@mercantec.dk></input>
554 Service unavailable; Client host [cpe.atm2-0-75146.vgnxx2.customer.tele.dk] 
<notice>blocked using Barracuda Reputation; http://bbl.barracudacentral.com/q.cgi?ip=83.90.47.30</notice>
Connection closed by foreign host.

Curing

Filled out form Barracuda removal form and wait one hour as they notet. It took 12 hours before the IP address was removed from the black list.

Trying again

heth@heth-desktop:~/bin$ <input>telnet 193.163.33.237 25</input>
Trying 193.163.33.237...
Connected to 193.163.33.237.
Escape character is '^]'.
220 spa01.mercantec.dk ESMTP (793039d8cf351cb2d25552ec1fbcb273)
<input>HELO mars.tekkom.dk</input>
250 spa01.mercantec.dk Hello uvisa.eucmidt.dk [195.181.54.2], pleased to meet yo                                  u
<input>MAIL FROM:<heth@mars.tekkom.dk></input>
250 Sender <heth@mars.tekkom.dk> OK
<input>RCPT TO:<heth@mars.tekkom.dk></input>
550 No such domain at this location (heth@mars.tekkom.dk)
<input>RCPT TO:<heth@mercantec.dk></input>
250 Recipient <heth@mercantec.dk> OK
<input>DATA</input>
354 Start mail input; end with <CRLF>.<CRLF>
<input>Date: 15 may 2010 07:43:54
From: Henrik Thomsen <heth@mars.tekkom.dk>
Subject: Vigtigt
To: <heth@mercantec.dk>
BLAB
BLAB
.</input>
250 Ok: queued as 7EEF81E9E8D
<input>QUIT</input>
221 spa01.mercantec.dk Goodbye uvisa.eucmidt.dk, closing connection
Connection closed by foreign host.