Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
However recently I noticed that my server stopped sending me emails and then after looking at the log file, I found an unknown relay server which was being used (i.e., mx.b-io.co.):
This is not the relay server that I have in sendmail.cf file, I cannot find why my server is using mx.b-io.co. as a relay and when that changed I've checked all the configuration files and can't find that hostname anywhere but still don't understand why sendmail is using that, does that mean my server is hacked? how can I track down this issue further and how can I fix the relay issue?
Are you sure the sendmail that is running is using the /etc/mail/sendmail.cf? (That is have you checked to see if possibly the one running isn't the one you think is running.)
Other things can setup different relays. Do you have any *.db files in /etc/mail (e.g smarttable.db).
I mention smarttable because if it is enabled it allows you to use different relays based on the sender domain. (We use smarttable here to direct some email via our MS Exchange relay but for one domain we relay via a separate sendmail server.)
Look in your /usr/share/sendmail-cf directory holds the m4 files for features. The sendmail.mc file (usually in /etc/mail) determines which features are enabled.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.