Page 1 of 1

I can compose and send emails as well as receive them from localhost, but cannot receive them externally.

Posted: Wed Apr 05, 2017 8:34 pm
by yobadujif
Hi,

I can receive messages that are being sent via the contact form on my webserver, as well as compose and send emails to external hosts, however; I cannot receive any emails that are being sent.

This is the error that I'm receiving in the logs:
2017-04-05 22:11:52 no IP address found for host dedic869.hidehost.net (during SMTP connection from [IPADDRESS])
2017-04-05 22:11:55 dovecot_login authenticator failed for (User) [IPADDRESS]: 535 Incorrect authentication data (set_id=postmaster)
2017-04-05 22:15:38 no IP address found for host dedic878.hidehost.net (during SMTP connection from [IPADDRESS])
2017-04-05 22:15:40 dovecot_login authenticator failed for (User) [IPADDRESS]: 535 Incorrect authentication data (set_id=buddy)
2017-04-05 22:17:25 no host name found for IP address IPADDRESS
2017-04-05 22:17:26 no host name found for IP address IPADDRESS
2017-04-05 22:18:44 1cvrO8-0000wF-4h <= [email protected] U=admin P=local S=488
2017-04-05 22:18:44 1cvrO8-0000wF-4h => contact <[email protected]> R=localuser T=local_delivery
2017-04-05 22:18:44 1cvrO8-0000wF-4h Completed
2017-04-05 22:18:47 no IP address found for host dedic869.hidehost.net (during SMTP connection from [IPADDRESS])
2017-04-05 22:19:00 dovecot_login authenticator failed for (User) [IPADDRESS]: 535 Incorrect authentication data (set_id=internet)
2017-04-05 22:20:48 no host name found for IP address IPADDRESS
2017-04-05 22:20:49 no host name found for IP address IPADDRESS
2017-04-05 22:22:02 1cvrRK-00010W-Tn <= [email protected] U=admin P=local S=631 id=[email protected]
2017-04-05 22:22:04 1cvrRK-00010W-Tn => INCOMING-EMAILADDRESS-REDACTED R=dnslookup T=remote_smtp H=mx.yandex.net [IPADDRESS] X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 C="250 2.0.0 Ok: queued on mxfront10m.mail.yandex.net as 1491423724-BrcNY87XXN-M4jaiwNR"
2017-04-05 22:22:04 1cvrRK-00010W-Tn Completed
2017-04-05 22:23:16 dovecot_login authenticator failed for (User) [IPADDRESS]: 535 Incorrect authentication data (set_id=[email protected]) <- note that info@mydomain doesn't exist?
Please post suggestions below, thanks.

Re: I can compose and send emails as well as receive them from localhost, but cannot receive them externally.

Posted: Thu Apr 06, 2017 5:42 am
by mehargags
Do you have MX records setup properly for your domain ?

secondly
you may want to enable lookup for local domains in your Exim

Code: Select all

nano /etc/exim4/exim4.conf.template
goto line that says

Code: Select all

dnslookup:
		  driver = dnslookup
		  domains = *
		  domains = !+local_domains
		  transport = remote_smtp
		  no_more
change domains = !+local_domains to domains = *

Finally Test how exim will route a given address

Code: Select all

exim -bt <email ID>