Linode Forum
https://forum.linode.com/

Email with Postfix, Dovecot and MySQL on Ubuntu 10.04 LTS
https://forum.linode.com/viewtopic.php?f=11&t=6492
Page 2 of 2

Author:  ninemedia [ Tue Jan 04, 2011 7:02 pm ]
Post subject:  Well now.

Im just going reboot the whole thing and start over. Thanks nmap is nice little tool just grabbed it.

Back in a bit after fresh install and after scan.

Author:  ninemedia [ Tue Jan 04, 2011 7:26 pm ]
Post subject:  Port Scan

On my end I see: (NOW)

Not shown: 993 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
110/tcp open pop3
143/tcp open imap
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql
Device type: general purpose
Running: Linux 2.6.X
OS details: Linux 2.6.19 - 2.6.26
Network Distance: 0 hops

Author:  sweh [ Tue Jan 04, 2011 7:38 pm ]
Post subject: 

Are the imap services only bound to localhost ?

As root,
netstat -anp | grep LISTEN

Author:  ninemedia [ Tue Jan 04, 2011 7:43 pm ]
Post subject:  Results

the command returns:

tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 9988/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 9988/dovecot
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 9702/mysqld
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 9988/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 9988/dovecot
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 6071/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 10086/master
tcp6 0 0 :::22 :::* LISTEN 6071/sshd

Author:  sweh [ Tue Jan 04, 2011 7:51 pm ]
Post subject: 

OK, I can telnet to the pop3 (11) and imap (143) ports OK.

I can use "openssl s_client -connect your_domain_name:pop3s" (995) and ...:imaps (993) properly. Both the SSL versions report a self-signed certificate.

I can see an SMTP server on port 25.

So all the services are listening and responding.

Author:  ninemedia [ Tue Jan 04, 2011 8:07 pm ]
Post subject:  Cert

Yeah its just the self signed postfix cert. Im the only one who will have access to the email so not a big deal right now. But i still get the same s#!t with outlook and thunderbird. Am i a complete idiot? LOL ok you dont have to answer that question :)


Task 'dave@jobied.com - Receiving' reported error (0x800CCC92) : 'Your e-mail server rejected your login. Verify your user name and password in your account properties. Under Tools, click E-mail accounts. The server responded: -ERR Plaintext authentication disallowed on non-secure (SSL/TLS) connections.'

If i use SSL -> Cert Pop Up ->Yes check the mail logs and get
....

Jan 5 00:01:04 li224-54 dovecot: imap-login: Disconnected (no auth attempts): rip=24.222.152.22, lip=173.255.214.54, TLS: Disconnected

Jan 5 00:01:04 li224-54 dovecot: imap-login: Disconnected (no auth attempts): rip=24.222.152.22, lip=173.255.214.54

Jan 5 00:01:30 li224-54 dovecot: pop3-login: Disconnected (tried to use disabled plaintext auth): rip=24.222.152.22, lip=173.255.214.54

....

Author:  obs [ Tue Jan 04, 2011 8:16 pm ]
Post subject: 

tried to use disabled plaintext auth <-- that one means you need to enable secure authentication.

Author:  ninemedia [ Tue Jan 04, 2011 8:21 pm ]
Post subject:  Auth

/etc/dovecot/dovecot.conf
...
disable_plaintext_auth = no
...

Author:  ninemedia [ Tue Jan 04, 2011 8:48 pm ]
Post subject:  Update:

AS of now sending from the email account in outlook sends to any address so thats good. Sill no recieving in outlook.

Thru the shell sending to another one of my emails (different domain) does not come thru but it can recieve. Each is acting the opposite of the other........1 can send but not recieve the other can recieve but not send.

Just about to give up and use the US Postal System good ol fashion stamps.

Author:  obs [ Tue Jan 04, 2011 9:11 pm ]
Post subject: 

This may seem like a silly question..have you looked at google apps? http://www.google.com/apps/intl/en/group/index.html

Author:  ninemedia [ Tue Jan 04, 2011 9:24 pm ]
Post subject:  Final Step maybe?

Ok good news is using IMAP i can send and receive perfectly with ports 143 / 587.

So for now thats good enough for me. Not sure (...well thats obvious) why IMAP connects fine pop says not a chance loser get out of here! So as long as i can send and receive is the important thing for now.

Thanks for all your input. New to Linode and this was my first question so I appreciate your time and support.

Dave

Author:  ninemedia [ Tue Jan 04, 2011 9:26 pm ]
Post subject:  Nix that! - Mard as Closed

To the amazement of all it works! Dont know how, why and for how long bit pop / smtp like me now.

Thanks again guys!

Dave

Author:  obs [ Tue Jan 04, 2011 10:00 pm ]
Post subject: 

Awesome. Let's hope it stays working.

Page 2 of 2 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/