Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th January 2013, 23:14
BobSD BobSD is offline
Junior Member
 
Join Date: Jan 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default trouble with postfix install (timing out from client)

I have just outfitted a basic server (Ubuntu 12.04 LTS /Precise Pangolin) and have installed Postfix and Dovecot, based on the Ubuntu manuals.

https://help.ubuntu.com/community/Dovecot
https://help.ubuntu.com/community/Postfix

Postfix gets mail out of the box to my gmail account, e.g.:

Code:
sendmail [redacted]@gmail.com < /etc/motd
Testing remote access with the open source client for Eudora, I can successfully download email, so Dovecot/POP3 seems to be functioning.

However, I cannot seem to get Eudora to successfully get mail from the client to the box or beyond. Depending on the security/port config I use, it generally times out.

I seem to be able to get access via the local terminal, and remote shells, such as:

Code:
$ telnet lists.teachers.net 25
Trying 50.56.184.186...
Connected to lists.teachers.net.
Escape character is '^]'.
220 lists.teachers.net ESMTP Postfix (Ubuntu)
ehlo lists.teachers.net
250-lists.teachers.net
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.
When Eudora tries to connect, i don't see any activity in the /var/log/mail/log or /var/log/mail.err , which I guess means those aren't the relevant logs or there is no activity to report.

I tried setting Eudora to use STARTTLS, SSL/TLS, and none, but they all time out. How would I go about troubleshooting this? I haven't set up any firewall rules:

Code:
$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Code:
$ sudo netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:submission            *:*                     LISTEN      4112/master
tcp        0      0 *:pop3                  *:*                     LISTEN      3210/dovecot
tcp        0      0 *:imap2                 *:*                     LISTEN      3210/dovecot
tcp        0      0 *:ssh                   *:*                     LISTEN      564/sshd
tcp        0      0 *:smtp                  *:*                     LISTEN      4112/master
tcp        0      0 *:imaps                 *:*                     LISTEN      3210/dovecot
tcp        0      0 *:pop3s                 *:*                     LISTEN      3210/dovecot
tcp        0    300 lists.teachers.net:ssh  99-95-169-159.lig:55464 ESTABLISHED 1433/sshd: listman
tcp6       0      0 [::]:submission         [::]:*                  LISTEN      4112/master
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      3210/dovecot
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      3210/dovecot
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      564/sshd
tcp6       0      0 [::]:smtp               [::]:*                  LISTEN      4112/master
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      3210/dovecot
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      3210/dovecot
Code:
$ dig mx lists.teachers.net

; <<>> DiG 9.8.1-P1 <<>> mx lists.teachers.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22244
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;lists.teachers.net.            IN      MX

;; ANSWER SECTION:
lists.teachers.net.     300     IN      MX      100 lists.teachers.net.

;; AUTHORITY SECTION:
teachers.net.           2057    IN      NS      dns1.stabletransit.com.
teachers.net.           2057    IN      NS      dns2.stabletransit.com.

;; ADDITIONAL SECTION:
lists.teachers.net.     300     IN      A       50.56.184.186
dns1.stabletransit.com. 77665   IN      A       69.20.95.4
dns2.stabletransit.com. 77741   IN      A       65.61.188.4

;; Query time: 830 msec
;; SERVER: 72.3.128.241#53(72.3.128.241)
;; WHEN: Thu Jan 10 14:08:34 2013
;; MSG SIZE  rcvd: 155
How can I troubleshoot this, maybe from a remote machine? What logs might shed light? What other info would be helpful here? Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 11th January 2013, 17:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Are there any other firewalls or routers that might block access on POP3 or IMAP?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
BobSD (11th January 2013)
  #3  
Old 11th January 2013, 19:17
BobSD BobSD is offline
Junior Member
 
Join Date: Jan 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

I figured it out, apparently SBC blocks port 25 on outgoing u-verse traffic. I enabled port 587 and immediately was able to access to smtp service from Eudora. Thanks for your help! (Do I mark this "solved" or something?)
Reply With Quote
Reply

Bookmarks

Tags
email, firewall, linux, postfix, ubuntu 12.04 lts

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail recipient linux_red Installation/Configuration 6 9th March 2012 14:24
link my domain to my server, impossible! 007007 Installation/Configuration 7 17th January 2012 13:59
Maia MailGuard in ISPC3 warlock Tips/Tricks/Mods 7 23rd December 2010 05:51
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 14:49
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 14:42


All times are GMT +2. The time now is 03:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.