Mail notater

From Teknologisk videncenter
Revision as of 07:55, 15 May 2010 by Heth (talk | contribs) (Curing)
Jump to: navigation, search

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 1spa01.mercantec.dk 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@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.