Solved

OPTIONS="-4" in /etc/sysconfig/named

Posted on 2013-06-26
11
1,017 Views
Last Modified: 2013-06-26
I'm having some issues with spam overwhelming my server.

I contacting my hosting company. After look over things, they sent me a message saying:

-------------
I set OPTIONS="-4" in /etc/sysconfig/named and restarted named service.
------------

and that they would be monitoring the logs.

What does setting OPTIONS="-4" in named do?

Chris
0
Comment
Question by:St_Aug_Beach_Bum
  • 7
  • 4
11 Comments
 
LVL 28

Accepted Solution

by:
Jan Springer earned 500 total points
ID: 39278992
It tells named to run in IPv4 only (no IPv6).

And which doesn't have a darn thing to do with spam.

Are you running an MTA?
0
 

Author Comment

by:St_Aug_Beach_Bum
ID: 39279035
Yes, postfix.

Hmmm, I'm monitoring the logs and nothing has changed, but you suspected that :)

I'm getting thousands of what look like fake 'to' email address in maillog. My server passes all the 'relay check' tests I can find, I don't think this is a relay issue... not positive though.

I don't know if these 'to' addresses have bcc addresses that are going to users on my server, or if one of my users has a virus on their desktop and is sending these out unknowingly. I don't know enough about reading these to understand - but it would appear we are sending these out.

Here's an example:

(my-ip-was-here) 26 17:51:59 julia postfix/smtp[11660]: 2E38C8C09D: host mx00.gmx.net[213.165.67.114] refused to talk to me: 421-gmx.net (mxgmx006) Nemesis ESMTP Service not available 421-Service unavailable 421-Reject due to policy violations. 421 For explanation visit http://postmaster.gmx.com/en/error-messages?ip=216.119.158.65
(my-ip-was-here) 26 17:51:59 julia postfix/smtp[11486]: 1D21866B04: host mta5.am0.yahoodns.net[66.196.118.36] refused to talk to me: 421 4.7.0 [TS01] Messages from 216.119.158.65 temporarily deferred - 4.16.55.1; see http://postmaster.yahoo.com/errors/421-ts01.html
(my-ip-was-here) 26 17:51:59 julia postfix/error[11571]: 2D5F5D4A69: to=<carlosmay17@yahoo.com>, relay=none, delay=118080, delays=118080/0.05/0/0.04, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mta5.am0.yahoodns.net[98.138.112.37] refused to talk to me: 421 4.7.0 [TS01] Messages from 216.119.158.65 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html)
(my-ip-was-here) 26 17:51:59 julia postfix/qmgr[11330]: 40C7416F5C5: from=<>, size=4164, nrcpt=1 (queue active)
(my-ip-was-here) 26 17:51:59 julia postfix/error[11571]: 2D5F5D4A69: to=<okinyisikinisamuel@yahoo.com>, relay=none, delay=118080, delays=118080/0.05/0/0.08, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mta5.am0.yahoodns.net[98.138.112.37] refused to talk to me: 421 4.7.0 [TS01] Messages from 216.119.158.65 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html)
(my-ip-was-here) 26 17:51:59 julia postfix/qmgr[11330]: 9B4C51FEF8C: removed
(my-ip-was-here) 26 17:51:59 julia postfix/error[11571]: 2D5F5D4A69: to=<t.bean252@yahoo.com>, relay=none, delay=118080, delays=118080/0.05/0/0.1, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mta5.am0.yahoodns.net[98.138.112.37] refused to talk to me: 421 4.7.0 [TS01] Messages from 216.119.158.65 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html)
(my-ip-was-here) 26 17:51:59 julia postfix/error[11529]: 1347776C2B: to=<geauxk@yahoo.com>, relay=none, delay=132611, delays=132610/0.11/0/0.05, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mta5.am0.yahoodns.net[98.138.112.37] refused to talk to me: 421 4.7.0 [TS01] Messages from 216.119.158.65 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html)
(my-ip-was-here) 26 17:51:59 julia postfix/qmgr[11330]: 1518D379BD: from=<tami@mysite.org>, size=685, nrcpt=9 (queue active)
(my-ip-was-here) 26 17:51:59 julia postfix/qmgr[11330]: 259C1110392: from=<tami@mysite.org>, size=805, nrcpt=4 (queue active)
(my-ip-was-here) 26 17:51:59 julia postfix/error[11570]: 2E47A8714B: to=<blake.cuny@yahoo.com>, relay=none, delay=129357, delays=129356/0.07/0/1.2, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mta5.am0.yahoodns.net[98.138.112.37] refused to talk to me: 421 4.7.0 [TS01] Messages from 216.119.158.65 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html)
(my-ip-was-here) 26 17:51:59 julia postfix/error[11570]: 2E47A8714B: to=<k8steveog0817@yahoo.com>, relay=none, delay=129357, delays=129356/0.07/0/1.2, dsn=4.7.0, status=deferred (delivery temporarily suspended: host mta5.am0.yahoodns.net[98.138.112.37] refused to talk to me: 421 4.7.0 [TS01] Messages from 216.119.158.65 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html)
(my-ip-was-here) 26 17:51:59 julia postfix/error[11392]: 40C7416F5C5: to=<piju@mysite.org>, relay=none, delay=8020, delays=8020/0.14/0/0.05, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
(my-ip-was-here) 26 17:51:59 julia postfix/qmgr[11330]: 1F25FB3D50: from=<myvet@mysite.org>, size=660, nrcpt=9 (queue active)
(my-ip-was-here) 26 17:51:59 julia postfix/smtp[11486]: 1D21866B04: host mta5.am0.yahoodns.net[63.250.192.45] refused to talk to me: 421 4.7.0 [TS01] Messages from 216.119.158.65 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html

Open in new window

0
 

Author Comment

by:St_Aug_Beach_Bum
ID: 39279038
(mysite.org) being where our domain name was.
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 28

Expert Comment

by:Jan Springer
ID: 39279074
So, two ways to lock down smtp relaying:  by IP/subnet and SMTP AUTH.  Are you doing one or both?

If by IP, a customer has to be infected.  If by auth, then someone's credentials are compromised (and are probably also infected).

If you go through your maillog for yesterday, you should be able to see a pattern of who is sending a lot of email or who is sending from multiple foreign addresses.
0
 

Author Comment

by:St_Aug_Beach_Bum
ID: 39279315
SMTP AUTH.

I do have one particular user sending mail - but I deleted that user account from the server, and still it's showing in the log that she's sending........  odd.
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 39279360
You need to stop Postfix, kill all the connections and restart it.
0
 

Author Comment

by:St_Aug_Beach_Bum
ID: 39279384
Ok, I did restart postfix, even rebooted the server, would that have killed all the connections or could something have persisted, seems like that would have killed it.

The hosting company is running a maldet scan on it now...
0
 

Author Comment

by:St_Aug_Beach_Bum
ID: 39279395
(and in the meantime, I'm setting up a new server)
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 39279422
I see compromised credentials get used to send spam on a regular basis.  It doesn't mean that your server is compromised (unless your accounts have shell access -- that can be a game changer), it just means that a user has a compromised machine.

If Postfix is like Sendmail in that any existing connections get pushed to PID 1 on a restart, then that won't do any good.  A reboot, on the other hand, will take care of any existing open channels.
0
 

Author Comment

by:St_Aug_Beach_Bum
ID: 39279463
Ok, thank you. They don't have shell access, just email. I don't even host any websites on the server, we just use it for email.

So after the reboot, that should have killed all connections, if I understand you correctly..

I'll let them finish the scan and see what that does, I don't want to try another reboot while they are running the scan, and I'm setting up a vps as a backup just in case they find something and I have to move users to another - hopefully leaving any issues behind.

Thank you, it has been great to have someone to staff this with a bit -

Chris
0
 

Author Closing Comment

by:St_Aug_Beach_Bum
ID: 39279465
Thank you for the original answer and ongoing help!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question