{"id":2748,"date":"2018-11-29T12:00:14","date_gmt":"2018-11-29T06:30:14","guid":{"rendered":"https:\/\/www.nettigritty.com\/kb\/?p=2748"},"modified":"2018-11-29T12:00:14","modified_gmt":"2018-11-29T06:30:14","slug":"testing-my-mail-server","status":"publish","type":"post","link":"https:\/\/www.nettigritty.com\/kb\/antispam-cloud\/testing-my-mail-server\/","title":{"rendered":"Testing my mail-server"},"content":{"rendered":"<p><strong>Incoming<\/strong><\/p>\n<p>Using telnet you can manually test if the destination server is correctly accepting the email. To do so, you have to lookup the destination route in the SpamExperts Control Panel set for a domain, and try delivery:<\/p>\n<blockquote><p><code>demo1.spambrand.com:~$ telnet destinationserver 25<br \/>\nTrying x.x.x.x...<br \/>\nConnected to destinationserver.<br \/>\nEscape character is '^]'. 220 destinationserver ESMTP<br \/>\nhelo demo1.spambrand.com<br \/>\n250 destinationserver at your service<br \/>\nmail from:<><br \/>\n250 2.1.0 OK<br \/>\nrcpt to: user@domain.tld<br \/>\n250 2.1.5 OK<br \/>\nquit<br \/>\n221 2.0.0 closing connection Connection closed by foreign host. demo1.spambrand.com:~$<\/code><\/p><\/blockquote>\n<p>Please note that for the recipient callout we always use an empty &#8220;mail from:<>&#8221;<\/p>\n<p><strong>cPanel<\/strong><\/p>\n<p>Please make sure that when manually changing your domain MX records, the cPanel Email Routing settings are always set to &#8220;Local Mail Exchanger&#8221; instead of &#8220;Automatically Detect Configuration&#8221;. Otherwise the cPanel server will reject all email to this domain, this will show in the log search as &#8220;Recipient Rejected by destination server&#8221;. Since it is a permanent reject at the destination server, the mail will be permanently rejected. Permanent failures, including failed Recipient Callouts, are being cached up to two hours.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.nettigritty.com\/kb\/wp-content\/uploads\/2018\/11\/9.png\" alt=\"\" width=\"759\" height=\"329\" class=\"aligncenter size-full wp-image-2749\" srcset=\"https:\/\/www.nettigritty.com\/kb\/wp-content\/uploads\/2018\/11\/9.png 759w, https:\/\/www.nettigritty.com\/kb\/wp-content\/uploads\/2018\/11\/9-300x130.png 300w\" sizes=\"auto, (max-width: 759px) 100vw, 759px\" \/><\/p>\n<p><strong>Outgoing<\/strong><br \/>\nUsing telnet you can manually test if a destination domain is correctly accepting the email. To do so, you have to lookup the destination MX record of the domain, and try a delivery:<\/p>\n<blockquote><p><code>demo1.spambrand.com:~$ host destinationdomain<br \/>\ndestinationdomain has address x.x.x.x<br \/>\ndestinationdomain mail is handled by 10 destinationserver.<br \/>\ndemo1.spambrand.com:~$ telnet destinationserver 25<br \/>\nTrying x.x.x.x...<br \/>\nConnected to destinationserver.<br \/>\nEscape character is '^]'.<br \/>\n220 destinationserver ESMTP<br \/>\nhelo demo1.spambrand.com<br \/>\n250 destinationserver at your service<br \/>\nmail from: <><br \/>\n250 2.1.0 OK<br \/>\nrcpt to: <user @domain.tld><br \/>\n250 2.1.5 OK<br \/>\nquit<br \/>\n221 2.0.0 closing connection Connection closed by foreign host. demo1.spambrand.com:~$<\/user><\/code><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Incoming Using telnet you can manually test if the destination server is correctly accepting the email. To do so, you have to lookup the destination route in the SpamExperts Control Panel set for a domain, and try delivery: demo1.spambrand.com:~$ telnet destinationserver 25 Trying x.x.x.x&#8230; Connected to destinationserver. Escape character is &#8216;^]&#8217;. 220 destinationserver ESMTP helo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[102],"tags":[],"class_list":["post-2748","post","type-post","status-publish","format-standard","hentry","category-antispam-cloud"],"_links":{"self":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/2748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/comments?post=2748"}],"version-history":[{"count":1,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/2748\/revisions"}],"predecessor-version":[{"id":2750,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/2748\/revisions\/2750"}],"wp:attachment":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/media?parent=2748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/categories?post=2748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/tags?post=2748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}