Avatar of pramod1
pramod1
Flag for United States of America asked on

centOS

I have a CentOS 4/5/6 (32-bit) Linux box, my emails with pdf are getting quarantined everytime.

is there any way I can run any command to put in some safe list or remove from quarantine for ever
LinuxLinux OS DevUnix OSLinux Security

Avatar of undefined
Last Comment
pramod1

8/22/2022 - Mon
Jan Bacher

What are you using for anti-spam?
pramod1

ASKER
this is our internal smtp gateway
pramod1

ASKER
I don't know much about Linux, our emails with pdf attachments are getting quarantines, I have to manually release it each time
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Scott Silva

So what are you using on your smtp gateway? Centos by itself doesn't have everything for a proper gateway. You must have some add on software doing the spam and/or anti-virus scanning.
Jan Bacher

Exactly.  What URL do you put into your browser to reach your quarantine?

Is it labeled?

Linux is not going to quarantine anything.
pramod1

ASKER
I generally log into my Linux box (name of my server) and open Linux log in with root and password
and release message id
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
pramod1

ASKER
I don't use any url
omarfarid

Where do you check your emails? It could be the anti-virus/anti-spam client on your PC mail client
Scott Silva

CentOS by itself shouldn't have anything that does any spam filtering... Unless the PDF files make the message go over the size limits in Sendmail... But that should bounce, not hold...

But lets start over...

Did you build this smart host or was it someone else?

Do you have any docs?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
pramod1

ASKER
someone  else , it holds until I release
omarfarid

Is this happening on server without accessing emails by mail clients?
pramod1

ASKER
I just want to release pdf files from that internal smtp , any commands please that will help
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
omarfarid

first we need to know where the emails get identified and quarantined. Do you know if anti-spam / anti-virus is configured / installed along with your mail server.

Please run below command and post output:

netstat -pat | grep smtp
Scott Silva

Your question is almost like going to the doctor and saying " I hurt, but I can't tell you where it hurts".
We are trying to help you, but without identifying WHY the pdf files are getting held, it is almost impossible to tell you how to release them.
pramod1

ASKER
there is no anti spam/anti virus installed , I ran the command

one needs to go to quarantine folder and release them , can you give m ethe path

ls /alt?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
pramod1

ASKER
we have external SMTP gateway which is stripping java script from pdf and then releasing the email which hits internal smtp gateway and gets held up there.

we then manually release those pdf files. we wants that each time it gets held up in quarantine of internal SMTP should not happen
Scott Silva

Then your internal SMTP has some sort of filtering involved. As we said, most SMTP servers, whether linux OR windows based have filtering by default. It would be difficult to figure this out without inspecting the systems involved if you don't know what processes are involved.
pramod1

ASKER
how can we check filtering
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Scott Silva

The above command  netstat -pat | grep smtp  is a start. Then it will most likely lead to other questions.
arnold

everyone is seeking information that might help identify your setup.

How are you logining into the Linux box? Are you sshing? Are you using a web browser to access webmin, cpanel, or the like.
If you ssh, what commands do you run to list the quarantined messages, to release?

you have to have some settings that deal with the criteria on the basis of which emails/attachments are quarantined. Do they only quarantine the attachment or the entire email?
Scott Silva

I am assuming you gave up or went elsewhere to get answers... Because I doubt I helped you in fixing this...
Your help has saved me hundreds of hours of internet surfing.
fblack61
Jan Bacher

The solution may not have been the answer however the expert assisting asked all of the right questions that should have pointed the author in the correct direction.

I would leave the points as is because the assistance provided here may help someone else.
omarfarid

All experts asked valid questions and wanted to help. Points should be split then or a solution should be given.
pramod1

ASKER
I now manually release each pdf files from quarantine  , by typing command release message id,

I wanted to know if I can over come that. it is a Linux server and I log in with user name : root and password
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Jan Bacher

pramod1, you seriously need a professional to look over your server, tell you what is running and the best steps to take to manage it.
omarfarid

pramod1, if you have root access to the server then run the command given and post the output.
pramod1

ASKER
I don't know which command to run, to permanently release message id from quarantine.

can you give me some Linux commands, as to how to go to ls directory or quarantine directory in Linux
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
omarfarid

can you run below command and post output so we can help?

netstat -pat | grep smtp
pramod1

ASKER
there lot of smtp domains listed and I can't post it
Jan Bacher

I would recommend doing a "ps awx" and send that output via a private message in EE to the expert assisting.  You can always followup here if you find something worth noting.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
arnold

Are you using a WEB Based (access the management interface using a web browser)?
If you have a web based interface, you need to look at the available settings for each domain to see what the classification rules are and then see if you can exempt if you want PDF from this or if the option exist on lassification value adjust the value assigned when PDf is the attachment to lower the probability of a PDf being quarantined.........

The interface will often tell you what it is. You may need to contact those who manage/provided this to see what your options are available to streamline.
pramod1

ASKER
I am taking professional help who manages on site  so would like to close this question
arnold

you can choose responses that helped you, or get further information on what you should ask and expect from those with whom you are speaking.
note, whether in this forum or in face to face, you should provide as much information as you can, ambiguity will mean that it might take longer to get to the bottom of what your setup is and will likely increase the costs. The other option those with whom you are speaking will propose a completely new solution............... under the presumption that it will be more cost effective which often is likely.
the problem however, is that there does not seem to be a clear picture of what you have so a new solution might not fully replicate/replace the existing and will only be noticed down the line.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
pramod1

ASKER
thanks Arnold  

expert on site is checking your below statement which helped

If you ssh, what commands do you run to list the quarantined messages, to release?
Scott Silva

Again... Without knowing what is quarantining the messages we CANNOT give you the commands to release them... Mail programs do not usually quarantine on their own, it takes other programs/scripts to do this...

We are trying to help you, but asking the same question again doesn't make it easier to answer it...
ASKER CERTIFIED SOLUTION
pramod1

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
arnold

My Comment, http:a#41756582 seems to have helped. But I'll let it go.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
pramod1

ASKER
I got an expert at my site and got corrected