| Linode Forum https://forum.linode.com/ |
|
| Can send Mail but cannot recieve anything https://forum.linode.com/viewtopic.php?f=11&t=10742 |
Page 1 of 1 |
| Author: | SSharp_Admin [ Wed Jan 01, 2014 5:20 pm ] |
| Post subject: | Can send Mail but cannot recieve anything |
Hi All As part of my school of webmastership I am trying to run a webserver also. To simplify matters I followed the recommended setup of Postfix, Dovecot, and MySQL. Sooooo I am now at the last step where you are supposed up a mail client and send email to and from the account. I was able to execute all the steps proceding this successfully. My problem is when I send email to myself I get the following activity in the log Jan 2 11:50:15 www postfix/qmgr[3517]: 4712016DA7: from=<b0072933a00SSharp_Admin=stemsharp.com@bounce.twitter.com>, size=12204, nrcpt=1 (queue$ Jan 2 11:50:15 www postfix/qmgr[3517]: 633F116DA8: from=<b0072933a00SSharp_Admin=stemsharp.com@bounce.twitter.com>, size=15002, nrcpt=1 (queue$ Jan 2 11:50:15 www postfix/lmtp[4784]: 4712016DA7: to=<SSHarp_Admin@stemsharp.com>, relay=none, delay=345, delays=345/0.04/0/0, dsn=4.4.1, sta$ Jan 2 11:50:15 www postfix/lmtp[4785]: 633F116DA8: to=<SSHarp_Admin@stemsharp.com>, relay=none, delay=345, delays=345/0.03/0/0, dsn=4.4.1, sta$ Jan 2 11:50:41 www postfix/anvil[4749]: statistics: max connection rate 1/60s for (smtp:199.59.150.97) at Jan 2 11:44:29 Jan 2 11:50:41 www postfix/anvil[4749]: statistics: max connection count 1 for (smtp:199.59.150.97) at Jan 2 11:44:29 Jan 2 11:50:41 www postfix/anvil[4749]: statistics: max cache size 2 at Jan 2 11:44:30 The email is setup on Ubuntu 12.04 LTS-> Thunderbird. I am using my laptop for the client setup to connect to the mail server I am using the following settings server type IMAP Server mail.STEMSharp.com Username SSharp_Admin port 993 Security Setting SSL/TLS Outgoing server mail.STEMSharp.com Username SSharp_Admin I am pretty sure I have the ports opened properly any ideas? |
|
| Author: | Vance [ Thu Jan 02, 2014 3:03 pm ] |
| Post subject: | Re: Can send Mail but cannot recieve anything |
One problem I can see is you have an MX entry in your DNS pointing to mailserver.stemsharp.com, which does not resolve to an IP address. You should remove this entry. The other MX, mail.stemsharp.com, is fine. Unfortunately, the log you posted has the end of the lines cut off which provide vital information. Use less to view it and copy/paste. I tried sending mail to SSHarp_Admin@stemsharp.com and it seemed to go through OK; in addition, connecting directly to mail.stemsharp.com and sending mail succeeded: Code: $ nc mail.stemsharp.com 25 |
|
| Author: | SSharp_Admin [ Thu Jan 02, 2014 3:28 pm ] |
| Post subject: | Re: Can send Mail but cannot recieve anything |
thanks for taking a look Code: Jan 2 11:50:15 www postfix/qmgr[3517]: 4712016DA7: from=<b0072933a00SSharp_Admin=stemsharp.com@bounce.twitter.com>, size=12204, nrcpt=1 (queue above is that same section viewed in less I also just swtiched my port from 143 to 993 so it is secured reviewing the log at this point Code: Jan 2 14:23:01 www dovecot: auth-worker: mysql(127.0.0.1): Connected to database mailserver i think its taht no such file or directory is the issue not sure what it means or how to fix Thanks in advance. |
|
| Author: | SSharp_Admin [ Thu Jan 02, 2014 6:09 pm ] |
| Post subject: | Re: Can send Mail but cannot recieve anything |
I turned on verbose output and it gives the following Code: Jan 2 17:04:51 www postfix/qmgr[6481]: 1CD0216DB3: from=<mjrich79@gmail.com>, size=2567, nrcpt=1 (queue active) |
|
| Author: | sweh [ Thu Jan 02, 2014 6:33 pm ] |
| Post subject: | Re: Can send Mail but cannot recieve anything |
Quote: Jan 2 17:05:35 www postfix/error[6528]: D9A3816DEE: to=<SSHarp_Admin@stemsharp.com>, relay=none, delay=0.44, delays=0.43/0.01/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to www.STEMSharp.com[private/dovecot-lmtp]: No such file or directory) You've configured postfix to use dovecot for local delivery but haven't configured it properly. |
|
| Author: | SSharp_Admin [ Fri Jan 03, 2014 12:29 pm ] |
| Post subject: | Re: Can send Mail but cannot recieve anything |
I redid some of the config files again and it appears to be working now. I do have one follow up question. How do I get the postfix and dovecot logs to output to the same file. I was comparing the output of both systems in two seperate logs postfix /var/log/mail.log dovecot /var/log/dovecot.log what a chore! thanks for all that contributed to the thread! |
|
| Author: | audiotecnicality [ Fri Dec 11, 2015 2:56 pm ] |
| Post subject: | Re: Can send Mail but cannot recieve anything |
I found this thread searching for a solution to the exact same problem. I poked around some more in 10-master.cf and figured out that I had set up the unix_listener for lmtp incorrectly. Mine was: Code: service lmtp {When it should have been: Code: service lmtp {The error codes started changing after that, and I ran into the issue described in the Linode guide (https://www.linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mysql) regarding the Postmaster address. Hope this helps someone! |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|