Email with Postfix, Dovecot and MySQL on Ubuntu 10.04 LTS
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:
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 '
Any help / tips would be great. First attempt at a server so its all new to me.
Thanks,
Dave
27 Replies
@ninemedia:
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
Task '
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.
Sending says Completed but the Outbox still has the message im trying to send so still no in or out from the account
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
Tried both 25 and 110 using the domain and the ip address and both return + Dovecot Ready.
Thanks for your help so far.
Dave
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?
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.
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
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
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.
Back in a bit after fresh install and after scan.
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
As root,
netstat -anp | grep LISTEN
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
I can use "openssl sclient -connect yourdomain_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.
Task '
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
….
…
disableplaintextauth = no
…
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.
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
Thanks again guys!
Dave