How to reopen a blocked port?

groefie

Active Member
May 30, 2003
31
0
156
Ok guys,

today I've blocked a bunch of ports on our servers with the command

iptables -A INPUT -p tcp --dport 23:24 -j DROP
iptables -A INPUT -p tcp --dport 26:36 -j DROP

etc...

Too bad I've blocked port 26 (exim) and the port of spamd too. :rolleyes:

Any idea how to reopen them? :cool:

Thanks in advance
 

groefie

Active Member
May 30, 2003
31
0
156
Thanks, that works like a charm :p

But now I'm having another problem. When sending a mail to an account on that server I get the following error:

host superfm.be[193.151.74.85] said:
550-astra.telenet-ops.be [195.130.132.58] is currently not permitted to
relay 550-through this server. Perhaps you have not logged into the
pop/imap server 550-in the last 30 minutes or do not have SMTP
Authentication turned on in your 550 email client. (in reply to RCPT TO
command)


What happens and how to solve this?

Thanks! :)