| Linode Forum https://forum.linode.com/ |
|
| Postfix Connections lost (inbound) https://forum.linode.com/viewtopic.php?f=11&t=10418 |
Page 1 of 1 |
| Author: | jgjh151 [ Wed Sep 11, 2013 9:02 am ] |
| Post subject: | Postfix Connections lost (inbound) |
Should I be concerned with the info below? I have 3 email accounts on this server, two are barely used. 3178 Connections 3019 Connections lost (inbound) 3178 Disconnections "96 Sent via LMTP" seems odd, I only sent about 20 emails yesterday. Seems from info, thats about 145 connections per hour or 2.5 per minute. My phone is set to check email every 15 mins. I didn't send any attachments, I did receive a few, but no more than 2mb total. Logwatch info: Code: Postfix |
|
| Author: | hoopycat [ Wed Sep 11, 2013 9:27 pm ] |
| Post subject: | Re: Postfix Connections lost (inbound) |
What shows up in your log file for those lost connections? Might be anything from spammers pre-emptively blocked to static electricity on your antenna. |
|
| Author: | jgjh151 [ Fri Oct 11, 2013 4:36 pm ] |
| Post subject: | Re: Postfix Connections lost (inbound), plus misc postfix it |
On my other Linode, it is set to only have postfix to enable sending of php forms on a few sites. All forms send email fine. This Linode doesn't handle any inbound email, port 25 is closed. I'm not sure what all the deferrals and connection failures are coming from. I've followed info on postfix settings for null client. Is it the system trying to send notices failing? I've set root to have a real email alias and ran newaliases, but I still don't get any email notifications at that email Flushed postfix que and deferrred que, ran logwatch and got almost same info as below. Sample from mail log: Code: Oct 11 16:21:59 linode123 postfix/smtp[9760]: connect to linode123.mydomain.com[4321:3c03::f03c:91ff:fe69:4321]:25: Connection refused Code:
|
|
| Author: | obs [ Fri Oct 11, 2013 4:59 pm ] |
| Post subject: | Re: Postfix Connections lost (inbound) |
Sounds like a problem with your postfix configuration. Can you post the contents of /etc/postfix/main.cnf and don't omit your real domain, it doesn't help us. |
|
| Author: | jgjh151 [ Fri Oct 11, 2013 9:54 pm ] |
| Post subject: | Re: Postfix Connections lost (inbound) |
/etc/postfix/main.cf Quote: myhostname = linode334443.eliteventuremedia.com mydomain = eliteventuremedia.com myorigin = $myhostname inet_interfaces = loopback-only mydestination = smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no append_dot_mydomain = no readme_directory = no relayhost = relay_domains = mynetworks_style = host local_transport = error:local delivery is disabled smtp_tls_security_level = may Note - "mydomain = eliteventuremedia.com" value is not correct, thats actually the value used on my other linode. This linode has several domains, so should this be an empty value? |
|
| Author: | jgjh151 [ Fri Oct 11, 2013 10:07 pm ] |
| Post subject: | Re: Postfix Connections lost (inbound) |
Sample mail log Quote: Oct 11 22:05:55 linode334443 postfix/qmgr[12144]: 99EBB21F10: from=<root@linode334443.eliteventuremedia.com>, size=870, nrcpt=1 (queue active)
Oct 11 22:05:55 linode334443 postfix/smtp[12991]: connect to linode334443.eliteventuremedia.com[2600:3c03::f03c:91ff:fe69:65db]:25: Connection refused Oct 11 22:05:55 linode334443 postfix/smtp[12991]: connect to linode334443.eliteventuremedia.com[192.155.91.26]:25: Connection refused Oct 11 22:05:55 linode334443 postfix/smtp[12991]: 99EBB21F10: to=<root@linode334443.eliteventuremedia.com>, orig_to=<root>, relay=none, delay=8814, delays=8814/0.02/0.19/0, dsn=4.4.1, status=deferred (connect to linode334443.eliteventuremedia.com[192.155.91.26]:25: Connection refused) |
|
| Author: | jgjh151 [ Thu Oct 17, 2013 6:10 am ] |
| Post subject: | Re: Postfix Connections lost (inbound) |
It's now up to 5081 Deferrals. |
|
| Author: | obs [ Thu Oct 17, 2013 9:32 am ] |
| Post subject: | Re: Postfix Connections lost (inbound) |
Code: mydestination =is probably your problem. Postfix doesn't know that it should send mail to your linode using lmtp instead of smtp. Also your missing a mynetworks line which normally looks like this Code: mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128. This Code: local_transport = error:local delivery is disabledalso looks wrong. Just delete the line so it returns to the default local. To be honest your main.cf looks a bit weird, this is one of mine Code: myhostname = mail.rwky.net |
|
| Author: | jgjh151 [ Sat Oct 19, 2013 8:44 pm ] |
| Post subject: | Re: Postfix Connections lost (inbound) |
Code: 3293 Deferrals From the logs, I can see that the deferrals are happening when an email is being sent to anything @ eliteventuremedia.com, as in this example: Code: Oct 19 20:17:05 linode334443 postfix/pickup[5563]: B97D921F0F: uid=0 from=<root> eliteventuremedia.com (fqdn = linode321621.eliteventuremedia.com) is a different linode/ip than linode334443.eliteventuremedia.com, but there is a DNS record for linode334443.eliteventuremedia.com pointing to the ip of the linode with all the deferrals. From what I found, when an email from linode334443 is being sent to anything@eliteventuremedia.com, it looks up the MX record for linode334443.eliteventuremedia.com, doesn't find one, so then goes to the mx record for eliteventuremedia.com, which will not let it connect. eliteventuremedia.com has an mx and can send and recieve mail fine. linode334443.eliteventuremedia.com is only used to send from wordpress forms, so there is no mx. It has several domains on it, but they use thirdparty email. Anything I can do to linode334443.eliteventuremedia.com so it can send mail to anything@eliteventuremedia.com? I think it would just be for notifications from the system. root has an alias of hosting @ eliteventuremedia.com for this purpose. Also, why in the logs, do we see emails like root@linode334443.eliteventuremedia.com when they emails at fqdn don't exist? |
|
| Author: | jgjh151 [ Sat Oct 19, 2013 9:21 pm ] |
| Post subject: | Re: Postfix Connections lost (inbound) |
Now that I think of it, linode334443.eliteventuremedia.com was able to send logwatch emails each day to hosting @ eliteventuremedia.com and today it can't. I just manually ran logwatch and I don't get the email and see the error in mail log for: Code: Oct 19 21:14:15 linode334443 postfix/qmgr[7611]: 5E5A221F13: from=<root@linode334443.eliteventuremedia.com>, size=14672, nrcpt=1 (queue active) Can't think of what could have changed to cause this. |
|
| Author: | jgjh151 [ Sun Oct 20, 2013 9:14 am ] |
| Post subject: | Re: Postfix Connections lost (inbound) |
Today, my last message issue is resolved by itself. "Now that I think of it, linode334443.eliteventuremedia.com was able to send logwatch emails each day to hosting @ eliteventuremedia.com and today it can't. " |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|