Search

smyles tools

GetWebsiteIP.com

Recent GitHub Activity

@tripflex tripflex starred ostris/ai-toolkit · May 5, 2025 19:29
ostris/ai-toolkit

The ultimate training toolkit for finetuning diffusion models

Python 4.7k Updated May 7

@tripflex tripflex commented on stackblitz-labs/bolt.diy#1575 · April 14, 2025 22:58
@tripflex tripflex commented Apr 14, 2025

Still getting this error after fresh pull and running in docker app-dev-1 | ★═══════════════════════════════════════★ app-dev-1 | B O L T . D I Y a…

@tripflex tripflex starred coleam00/local-ai-packaged · April 11, 2025 13:04
coleam00/local-ai-packaged

Run all your local AI together in one package - Ollama, Supabase, n8n, Open WebUI, and more!

Python 995 Updated Apr 27

@tripflex tripflex starred apappascs/mcp-servers-hub · April 10, 2025 21:35
apappascs/mcp-servers-hub

Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an ex…

211 Updated May 7

@tripflex tripflex starred modelcontextprotocol/servers · April 10, 2025 21:34
modelcontextprotocol/servers

Model Context Protocol Servers

JavaScript 44.6k 1 issue needs help Updated May 8

Featured Downloads

  • TransCore Cloud 1.5.2 (4026 downloads)
  • Samsung Galaxy III (S3) GT-I9300 SDCard Head (74818 downloads)
  • WHMCS Affiliate Coupons Addon Module (3945 downloads)
  • Android 4.4 KitKat Default Email and Exchange APK (132875 downloads)
  • Skrillex TomorrowWorld 2014 Full Set (4574 downloads)

Recent Comments

PressRelease.cc

Wow, exceptional and complete

keshav gaur

What if the target machine requries port?

Just Facts

One snag with the docker install of plex. For

Popular Posts

Ubuntu End of Life Package Repository
21 Jul , 2014

How to fix Ubuntu/Debian apt-get 404 Not Found Package Repository Errors (Saucy, Raring, Quantal, Oneiric, Natty…)

Ajenti V
14 Feb , 2014

How to setup a WordPress PHP site with Nginx, PHP5-FPM, and MySQL using Ajenti V with working Permalinks

Plex Media Server
18 Nov , 2013

How to move Plex metadata and index data to new drive/partition and/or directory location

Bunch of Flash Drives
28 Mar , 2013

Tutorial How to build the Ultimate Bootable Custom USB Flash Drive with Multiple ISOs for Windows, Linux, Etc, and PortableApps for Windows Desktop.

D-Link Boxee Box
05 Dec , 2013

How to obtain root, install and run XBMC on D-Link Boxee Box

16 Oct , 2012

Samsung Galaxy III (S3) GT-I9300 JTAG Leaked Document. How to repair soft bricked Galaxy S3.

Git’n Busy

  • Github
  • GitTip

Tags

Android apache apt-get backup bash Container cPanel Database debian DNS Download email Errors files footer ftp Git install jQuery linux mac Mail MySQL node open source OpenVZ output php Plex plugin Popup proxmox Remove s3 script server ssh suphp Ubuntu Unmount Update upgrade whmcs Windows wordpress
Code and Tech Junkie
  • Menu
  • About
  • Plugins
  • Downloads
  • Contact
  • Github
  • GitTip

How to solve email problems using exim and cPanel command line

19 May , 2012 No Comments Standard Post

If you’re having a problem with your emails being sent or received on a cPanel or any server with exim installed there is a quick and dirty way to test it using a few commands under SSH. 

The first thing to do is to check your DNS and MX records to make sure they are all setup correctly.  You can use the website http://www.mxtoolbox.com which I have had good results with.

mxtoolboxCheck MX records from MX Toolbox

As you can see in the image to the right, smyl.es is only showing one MX record which is set at 0.  If you were using multiple mail servers you would normally have something similar to the first server using 10, second server using 20, and so on.  Since I’m only using one mail server there is no need for anything higher than 0.  If my mail server was hosted on a server different than the one the website is hosted on the hostname should be the hostname of the mail server.

Check DNS and MX records from WHM

whmdnsNow that we have verified our MX records are correct from another server we need to check inside WHM for cPanel to make sure everything else is correct.  If you found any errors above you can correct them through WHM.  If you’re using exim separately from cPanel you will need to manually edit these records via SSH or use something like webmin. 

Inside WHM go to DNS Functions >> Edit DNS Zone
(for just MX DNS Functions >> Edit MX Entry)

As you can see from the image on the left we have verified that the MX record is as it showed from MX toolbox, this is where you can change it if you had the wrong details above. 

Make sure you put a trailing period after the domain, view the image on the left to see what I’m talking about.  You should also verify the A record for whatever hostname your using for your MX record is setup correct as well.  You may see a CNAME record for the mail subdomain if you’re using the same server for hosting and email.

Also check to make sure cPanel has "Email Routing for.." set at either Automatically Detect Configuration: Local, or Local Mail Exchanger. If the account is set as Automatically Detect Configuration but does not say Local change it to Local Mail Exchanger.

Email Trace Test from cPanelemailtrace

You can also try running a trace from inside cPanel itself.  Login to the cPanel account that is having email problems and click on the "Email Trace" icon.  This will bring you to a page similar to the image on the right, as you can see the trace shows a success as "virtual_user to local delivery" … you can use this page as another tool in diagnosing the email problem.

Run Exim test via SSH

After checking to make sure DNS and MX settings are setup correctly lets run a test via SSH using Exim and some debug arguments to see if we can find any errors.

Shell
1
exim -d -bt im@smyl.es

As you can see above we’re running exim with the -d and -bt arguments to test email for im@smyl.es

You can see the full linux man page on Exim here: http://linux.die.net/man/8/exim

-bt is for running exim in address testing mode for recipient address deliverability.

-d is for debug information…you can filter this information but I prefer to output everything to track down the problem.

Due to the amount of debug information that is output I wont post the entire debug information from this example but I did run the test and changed the Y to an I in the email to simulate an error and this is what I found in the debug output:

Shell
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
exim -d -bt im@smil.es
--------> fail_remote_domains router <--------
local_part=im domain=smyi.es
checking domains
cached no match for +local_domains
cached lookup data = NULL
smyi.es in "! +local_domains : ! localhost : ! localhost.localdomain"? yes (end of list)
calling fail_remote_domains router
rda_interpret (string): :fail: The mail server could not deliver mail to $local_part@$domain.  The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
expanded: :fail: The mail server could not deliver mail to im@smyi.es.  The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
file is not a filter file
parse_forward_list: :fail: The mail server could not deliver mail to im@smyi.es.  The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
extract item: :fail: The mail server could not deliver mail to im@smyi.es.  The account or domain may not exist
fail_remote_domains router forced address failure
im@smyi.es is undeliverable: The mail server could not deliver mail to im@smyi.es.  The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=4754 terminating with rc=2 >>>>>>>>>>>>>>>>

If you look in the small debug info above we can determine that the problem is in fact a domain problem. Now this will always be different depending on the problem but use this to track it down.

If you’re still having problems you can try some of these commands below:

Add allow_mx_to_ip to Exim configuration

You can add "allow_mx_to_ip = yes" configuration to the /etc/exim.conf file in the off chance that the MX record has an IP set instead of the hostname. This is not recommend by Exim but will allow you to specify an IP in the MX record instead of a hostname. More information: http://www.exim.org/exim-html-3.30/doc/html/spec_11.html#SEC190

Shell
1
nano /etc/exim.conf

The following is specific for cPanel scripts:

Update cPanel User Domains

Shell
1
/scripts/updateuserdomains

Update cPanel User Mail Permissions

Shell
1
/scripts/mailperm

Guided Mail Troubleshooting

Shell
1
/scripts/mailtroubleshoot

Fix Common Problems and Quotas

Shell
1
/scripts/fixeverything

Force Exim Update and Default Settings

Shell
1
/scripts/eximup --force

#DNS #email #Errors #exim #how to check exim mail issues in linux server and cpanel #linux #mxtoolbox #the account or domain may not exist, they may be blacklisted, or > missing the proper dns entries. #undeliverable #virtual_user to local delivery cpanel
Share

Myles

Orlando, FL

Did this post help you?

Give back and rate it for me!

Related Posts

22 Dec , 2017

Setting ArduinoJson value from C++ STL Containers (std::vector, std::array, etc)

CloudFlare EasyApache4 Problems
07 Nov , 2017

CloudFlare mod_cloudflare WHM EasyApache4 CloudLinux Cannot load modules/mod_cloudflare.so

WordPress Login Form wp-login.php
19 Jan , 2017

How to block wp-login.php brute logins with cPanel, mod security, and ConfigServer Firewall

16 Dec , 2016

How to fix Mac OSX stuck/hanging on progress bar after login

expert-button

(C) 2014 Myles McNamara