Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
For the past 3 days, from lot of US ip's emails are sent to other domains from our domain as it is sent from our's. But when we check we are not a open relay. But still, we tried a lot to stop it, it is not stopping. Any help will be very thankful.
Below is the out for the above issue:
++++++++++++++++
Jan 16 13:58:29 mail sendmail[31922]: r0G8SSub031922: ruleset=check_rcpt, arg1=<banheirovirtual@catanduva.sescsp.org.br>, relay=67.228.212.186-static.reverse.softlayer.com [67.228.212.186], reject=550 5.7.1 <banheirovirtual@catanduva.sescsp.org.br>... Relaying denied. Proper authentication required.
Jan 16 13:58:29 mail sendmail[31922]: r0G8SSub031922: from=<mbqj@imagine.co.in>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=67.228.212.186-static.reverse.softlayer.com [67.228.212.186]
++++++++++++++++
our secondary domain is imagine.co.in. So, it is trying to send the email, but relaying denied. But immediately the 2nd option is starts working and email comes into queue and the same is happening for lot emails. Can any one help out to fix this issue.
First things would be to temporarily shut down your MTA (or block offenders via the firewall using 'ipset' and the raw table PREROUTING chain), then check for the cause, then restrict who can send email and then add an anti-spam filter before starting the MTA again. If this machine, or machines it receives email from, are web servers there may be a dynamically rendered page (often but not limited to PHP) or script somewhere that allows spammers to inject spam. Enumerate software that runs on top of the web server and check their versions (including any plugins) with what the vendor sees as current, check web server access and error logs for seemingly odd requests (also see Logwatch) and check directories the web server can read from or write to for any anomalous files. Please reply verbosely and add any information you think pertinent.
Listing in the Barracuda Blacklist could indicate any number of issues that need to be addressed in your network including but not limited to: virus-generated spam, poor server configuration, dynamic IP Addresses previously used by spammers, bulk mail sending that does not comply with the CAN-SPAM Act.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.