Sunday, September 8, 2013

Mozilla Thunderbird and Yahoo! Mail settings on Debian Linux

Somebody uses Yahoo! Mail with Mozilla Thunderbird, an email application.

If you do and if you need to set up the firewall called iptables, here are some things useful:

To get the IP address of imap.mail.yahoo.com and smtp.mail.yahoo.com, do:

$ ping  imap.mail.yahoo.com
PING imap.mail.apac.gm0.yahoodns.net (xx.xxx.xxx.xxx) 56(84) bytes of data.
64 bytes from imap4.mail.vip.tw1.yahoo.com (xx.xxx.xxx.xxx): icmp_req=1 ttl=55 time=25.4 ms
64 bytes from imap4.mail.vip.tw1.yahoo.com (xx.xxx.xxx.xxx): icmp_req=2 ttl=55 time=25.5 ms
Ctrl + c
$


$ ping smtp.mail.yahoo.com
PING smtp.mail.apac.gm0.yahoodns.net (xxx.xx.xxx.xxx) 56(84) bytes of data.
64 bytes from vcs-s-myc.mail.vip.sg3.yahoo.com (xxx.xx.xxx.xxx): icmp_req=1 ttl=52 time=34.1 ms
64 bytes from vcs-s-myc.mail.vip.sg3.yahoo.com (xxx.xx.xxx.xxx): icmp_req=2 ttl=52 time=33.9 ms
Ctrl + c
$



To allow connection, do:

# imap.mail.yahoo.com
iptables -A INPUT -p tcp \
  -s xx.xxx.xxx.xxx \
  --dport 993 \
  -j ACCEPT
iptables -A INPUT -p tcp \
  -d xx.xxx.xxx.xxx \
  --sport 993 \
  -j ACCEPT

# smtp.mail.yahoo.com
iptables -A INPUT -p tcp \
  -s xxx.xx.xxx.xxx \
  --dport 465 \
  -j ACCEPT
iptables -A INPUT -p tcp \
  -d xxx.xx.xxx.xxx \
  --sport 465 \
  -j ACCEPT



If you need Mozilla Thunderbird, visit:
http://www.mozilla.org/en-US/thunderbird/

or

ftp://ftp.mozilla.org/pub/thunderbird/releases/
.

No comments: