how to check which mail server is running in linux code example
Example: linux show mail server
#you can see what mail servers process is listening to mail port
lsof -i :25
#you can see what mail servers process is listening to mail port
lsof -i :25