| Linode Forum https://forum.linode.com/ |
|
| New Email Setup not working https://forum.linode.com/viewtopic.php?f=11&t=10126 |
Page 1 of 1 |
| Author: | movepixels [ Fri May 31, 2013 6:02 am ] |
| Post subject: | New Email Setup not working |
I have setup a new server (LEMP) on Ubuntu 12.04 LTS 64bit following this guide https://library.linode.com/email/postfix/postfix2.9.6-dovecot2.0.19-mysql But email results in error when using Outlook / Thunderbird (unable to connect to POP) The /var/mail/logs show no activity at all. Empty file. Going thru the guide twice, double checking the settings, config files. When I check Dovecot Step 15, 20 both return 1 (The command should return 1 if it is successful) Step 25 returns the email address as expected. Not sure where to go from here or where to look. PHP info for the server as of now can be found here http://jobied.com/ Any ideas would be great. Thanks, Dave |
|
| Author: | Main Street James [ Fri May 31, 2013 7:59 am ] |
| Post subject: | Re: New Email Setup not working |
Are the email ports open on your VPS? A quick scan of your domain returned no response on the following ports: - 25 (smtp) - 110 (pop) - 143 (imap) - 465 (smtp secure) - 587 (alt smtp) - 993 (imap secure) - 995 (pop secure) |
|
| Author: | movepixels [ Fri May 31, 2013 9:18 am ] |
| Post subject: | Re: New Email Setup not working |
I followed all the steps in the guide. Copied the iptable setup as noted in the guide. https://library.linode.com/securing-your-server#sph_creating-a-firewall that all looks Greek to me so no idea what I may have done there. |
|
| Author: | Main Street James [ Fri May 31, 2013 9:33 am ] |
| Post subject: | Re: New Email Setup not working |
Code: # Allow HTTP and HTTPS connections from anywhere (the normal ports for websites and SSL). That looks like it confirms my port scans. You're allowing incoming traffic on ports 80 (http) & 443 (https), as well as 22 (ssh). You've blocked all other ports (including email ports). I'm not very experienced with iptables so someone else will need to verify this before you take it as gospel, but the following should allow incoming SMTP & POP3 traffic (based on the previous line for port 80): -A INPUT -p tcp --dport 25 -j ACCEPT -A INPUT -p tcp --dport 110 -j ACCEPT # Allow secure pop3 if you're using a an ssl on your email connections -A INPUT -p tcp --dport 995 -j ACCEPT You should also verify that your smtp server can't be used as an open relay (you'll need to search for the steps based on your email server of choice). MSJ |
|
| Author: | movepixels [ Fri May 31, 2013 10:43 am ] |
| Post subject: | Re: New Email Setup not working |
These are the ports that I need for this set up anyways. Made sure that your firewall is not blocking any of the standard mail ports (25, 465, 587, 110, 995, 143, and 993) |
|
| Author: | movepixels [ Fri May 31, 2013 11:39 am ] |
| Post subject: | Re: New Email Setup not working |
I set the iptable rules as follows: Code: *filter And reboot server, netstat -ntl results with $ netstat -ntl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 :::25 :::* LISTEN tcp6 0 0 :::993 :::* LISTEN tcp6 0 0 :::995 :::* LISTEN I have no idea what to do. Any other ideas? Thanks all Dave |
|
| Author: | Main Street James [ Fri May 31, 2013 6:05 pm ] |
| Post subject: | Re: New Email Setup not working |
Port 110 (your POP3 mail port) is not in your list of listening ports. Are you sure your mail service is running? |
|
| Author: | movepixels [ Fri May 31, 2013 8:57 pm ] |
| Post subject: | Re: New Email Setup not working |
At this point I am not sure of anything. POP3 as in the guide says its using secure only so 110 is not even need since the Dovecot / Postfix is set to secure only. |
|
| Author: | Main Street James [ Fri May 31, 2013 11:09 pm ] |
| Post subject: | Re: New Email Setup not working |
movepixels wrote: POP3 as in the guide says its using secure only so 110 is not even need since the Dovecot / Postfix is set to secure only. So your email client is set to use secure pop on port 995? |
|
| Author: | movepixels [ Sat Jun 01, 2013 6:22 am ] |
| Post subject: | Re: New Email Setup not working |
Correct. I can receive emails to the address now but sending I get the connect to SMTP error. |
|
| Author: | kyhwana [ Sat Jun 01, 2013 6:24 am ] |
| Post subject: | Re: New Email Setup not working |
Tried port 465 (ssmtp). Most residential ISPs block port 25 outgoing to SMTP servers that aren't their own (in general) to stop spam. |
|
| Author: | movepixels [ Sat Jun 01, 2013 6:44 am ] |
| Post subject: | Re: New Email Setup not working |
Yes I currently have it set to 465. Outlook does the send and receive and no issues but sending from the account just sits there. Says success but outbox still has the message. Nothing gets sent but it does not throw errors now. So getting closer but still no sending. Will check the mail.log see if anything there stands out. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|