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 1 of 2

Author:  ninemedia [ Mon Jan 03, 2011 11:00 pm ]
Post subject:  Email with Postfix, Dovecot and MySQL on Ubuntu 10.04 LTS

I followed the doc as on
http://library.linode.com/email/postfix ... 0.04-lucid

Everything appears to be working thru mailx, added various email accounts which show up in vmail. Send to these new email account from a hotmail account just to see if they get delivered. Use mutt and sure enough mail gets to each account.

Problem comes when i try to add accounts in Outlook. Send / Receive fails for both.
ports 110 / 25
username: prefix@domain.com
incoming / outgoing:mail.my_domain.com
Outgoing Server require auth checked => same as incoming

I can telnet 25 elho localhost shows same values as the doc. So i am wondering why i can not get / send via Outlook. Y tripple checked password finaly made a dummy 123pass as the password and same thing.


Task 'support@ninemedia.ca - 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.'

Any help / tips would be great. First attempt at a server so its all new to me.

Thanks,

Dave

Author:  obs [ Mon Jan 03, 2011 11:03 pm ]
Post subject: 

Try ticking "use secure authentication" in outlook.

Author:  Stever [ Mon Jan 03, 2011 11:04 pm ]
Post subject:  Re: Email with Postfix, Dovecot and MySQL on Ubuntu 10.04 LT

ninemedia wrote:
The server responded: -ERR Plaintext authentication disallowed on non-secure (SSL/TLS) connections.'


You need to enable TLS or SSL in outlook - it's been years since I've used outlook so I can't really help you with exactly where to find that setting.

EDIT: Grrr one minute too slow ;)

Author:  ninemedia [ Mon Jan 03, 2011 11:56 pm ]
Post subject:  Email with Postfix, Dovecot and MySQL on Ubuntu 10.04 LTS

With secure checked / required im still not able to send.


Task 'support@ninemedia.ca - Receiving' reported error (0x80042108) : 'Outlook cannot connect to your incoming (POP3) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).'

I changed in dovecot the setting to no for require_auth (excuse the actual command i had to copy it from somewhere) and i can now send from the account but still no luck actually getting anything.

Author:  ninemedia [ Tue Jan 04, 2011 12:00 am ]
Post subject:  Email with Postfix, Dovecot and MySQL on Ubuntu 10.04 LTS

Sorry...
Sending says Completed but the Outbox still has the message im trying to send so still no in or out from the account

Author:  obs [ Tue Jan 04, 2011 12:12 am ]
Post subject: 

Do you have the ssl firewall ports open? (If you're not sure run iptables -L)

Author:  ninemedia [ Tue Jan 04, 2011 12:15 am ]
Post subject: 

iptables return:

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

Author:  obs [ Tue Jan 04, 2011 1:20 am ]
Post subject: 

Iptables is fine. Not sure why then, I see you can telnet to port 25, can you telnet to port 110?

Author:  ninemedia [ Tue Jan 04, 2011 1:30 am ]
Post subject:  telnet

Yep.

Tried both 25 and 110 using the domain and the ip address and both return + Dovecot Ready.

Author:  obs [ Tue Jan 04, 2011 1:37 am ]
Post subject: 

I just tried connecting with mac mail and it threw an invalid certificate warning, I'd have a nasty suspicion that this may be the problem, download mozilla thunderbird and see if it works in that.

Author:  ninemedia [ Tue Jan 04, 2011 2:00 am ]
Post subject:  Bad Cert?

New to all this so thinking about the bad certificate, when going thru the cert setup it asks for City: and the city I entered "St. John's" has me wondering if the period space apostrophe in the name would screw something up in the certificate? Should I have entered StJohns? Just curious.

Thanks for your help so far.

Dave

Author:  ninemedia [ Tue Jan 04, 2011 4:18 am ]
Post subject:  Now Getting Mail

I am able to get mail now but still no sending.

I got the invalid certificate like you did.


Sending' reported error (0x80042109) : 'Outlook cannot connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).'

Yet i can connect to incoming but "Use same as my incoming" for outgoing selected cant?

Author:  obs [ Tue Jan 04, 2011 1:52 pm ]
Post subject: 

The certificate is "bad" because it is set to the domain "*.hostmonster.com" which mismatches ninemedia.ca

As for the error I've no idea what it means ms products are so vague about what the problem really is. Check your postfix logs and see if there's anything in there.

Author:  ninemedia [ Tue Jan 04, 2011 4:54 pm ]
Post subject:  Type-O

No i typed the ninemedia part in. I only subbed that because i hate typing in the real email / domain since these posts get picked up by engines so i dont want someone looking for site.com to see help questions related to the name thats all. real domain is
j o b i e d . c o m

So i did more testing telnet local / jbd.com 25 and 110 with no problems

did the whole # telnet localhost pop3
user dave@jbd.com
pass password
list
got checked mail i sent to the address so everything appears to working fine server wise.

Grabbed thunderbird (love the autoconfig setup) but it only finds
Incoming IMAP 143
Outgoing never finds anything

So thats where i stand.

Looking over everthing in setup docs what should FQDN be?
hostname.domain.extension?
mail.domain.extension?

Tried both same results but curious.

Thanks again.

Dave

Author:  obs [ Tue Jan 04, 2011 6:45 pm ]
Post subject: 

Well that would explain a lot, using the real domain I did a nmap scan and it brings up this


PORT STATE SERVICE
21/tcp closed ftp
22/tcp open ssh
25/tcp open smtp
43/tcp closed whois
53/tcp closed domain
80/tcp open http
443/tcp closed https
465/tcp closed smtps
587/tcp closed submission
993/tcp closed imaps

Your pop and imap ports are closed.

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