General :: CentOS 5.3 - How To Block Attachments
Jul 7, 2011I have centos 5.3 installed with squid server. I want to block attachment in yahoo, google, etc.
View 1 RepliesI have centos 5.3 installed with squid server. I want to block attachment in yahoo, google, etc.
View 1 RepliesI was wondering how to block attachments to gmail. I am running squid 2.7 stab9 with dansguardian 2.10, users authenticated from LDAP. I have configured the POST restrictions in Dansguardian which does block all attachments to hotmail/yahoo etc etc but attachments to gmail continue to upload.
View 1 Replies View RelatedI manage a linux-based network, where some projects are currently under development. Our IT policy states that any email attachment shall be encrypted using GPG. Can I block other attachments using a firewall?
Note: Currently our mail server is not in campus. So I can only use a firewall for this security issue.
Running Postfix 2.6.1 on Slackware 13.0.I noticed that if I send an email with a large attachment(namely more than 500 KB) from another computer using this postfix server as an smtp server, it takes up to an hour to send it.It's almost like postfix is configured to send large emails later with a lower priority.The client computer and postfix server are within a GIGABIT LAN so upload 500 KB isn't an issue.
View 1 Replies View RelatedI'm running SuSE 11 with sendmail and dovecot.I'm sending and receiving mail. But as soon as someone sends me a mail with an attachment over 1mg it seems to fail. I have no problem sending big attachments.
View 7 Replies View RelatedRecently installed debian lenny.Running very well.WM: ratpoison.Suddenly, today, the internet runs much slower.ONLY ON THIS MACHINE - the parallel windows machine, off of which I was successfully weaning myself, is not having this problem, so it's neither the router nor the actual internet connection.Specifically: I can't attach a document in yahoo mail.I tried it in iceweasel, same problem, so it's not the browser.I piped the output of "top" for a minute or so to a text file, which I'm attaching.
View 4 Replies View RelatedI'm using Thunderbird 3.x on Ubuntu (Linux). When I save an attachment to my computer, the file gets saved with only the owner (me) having read/write permissions. In other words, the file gets saved as -rw
Frequently, I want my group to have permission, or to give read permission to everyone. Is there a way to do change Thunderbird's default file permissions so I don't have to do this manually every time?
I'm am not remotely familiar with the linux operating sytem and just need a simple 'cut and paste solution' that will allow me to send .gz files as mail attachments, from the command line.Recently I moved my website to new hosting company, they are using cpanel and I have set up a couple of commands; the cpanel scheduler runs them for me as required.
1.creates an mysql dump and saves it to folder ( in root of my space )Works fine.2. delete the file created above, after 15 mins. Also works fineWhat I really want to do is email the .gz to myself before it is deleted, this is were I am stuck.This is possible ( I believe ) but it is beyond my understanding and ability to write the scipt/command that will make this happen.Please make any instructions really simple and clear as I am really new to this.on the server and this information is provided below and may be helpful to you (but I certainly to not know anything about this type of stuff)
I would like to mount a Xen image, so I can access the files in the Xen guest.
On SLES it is done like this
# open device
xm block-attach 0 tap:aio:/vm/backend.img xvda w
# Discover the attached disk
fdisk -l /dev/xvda
[Code].....
I am trying to do 1Meg IO to one of the block devices but I can only get a maximum of 512K IO size. I can use the corresponding sg device to get 1Meg of IO. I was wondering if anyone knows why 1Meg IO to a block device is being broken down into 2 512K chunks? I have increased the /sys/block/sdg/queue/max_sectors_kb to 16384, but it has made no difference.
My uname is : Linux virgo 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
I've installed centos 5.5. how can i block a particular website?
View 3 Replies View RelatedI want to block/restrict video streaming on my Squid Server(LAN Environment) so no body will able to see live videos. Kindly provide me the solution. I m using CentOS 5.3 Server. squid.conf file is in /etc/squid/squid.conf.
View 1 Replies View RelatedI want to upgrade my current Centos 4.6 to the newer version which is Centos 5.3 without wiping off my current HD, I have an Adaptec Raid Controller on my supermicro server, but strangely enough Centos 5.3 DVD Installer can't do upgrade only full install and dont event recognize my HDs (cause it didnt load the I2O block drivers). Is there any way during installtion procedure to load the I2O block driver via kernel parameter or other switches?
View 5 Replies View RelatedI'm a java developer that must use the official JDK distribution. We tried using the open version and it gave us problems. We run the same java in DEV as we do in PRO.
OpenOffice INSISTS -- CANNOT LIVE WITHOUT -- the openjdk... EVERY TIME I try to update, it wants to install that package!
Is there a way that I can block the system from installing a package? Maybe I could just tell people to do --skip-broken with all their upgrade commands, because I disabled that package somehow? Anyone know how to do this?
I have the requirement that if our website receives 20 or more requests within 60 seconds, to block the offending IP address for 5 minutes, then allow them access again. My only certain mechanism to do this is iptables. I wrote the following series of commands:
iptables -N RATE_CHECK
iptables -N DOSAttack
iptables -N RemoveBlock
[code]...
I am limited in my testing, but the little I have been able to test seems to be having no effect. will the above commands have the desired effect.
I had installed the CENT OS 5.3 it is installed when i rebooted it gives me error continuously.
Buffer I/O Error on device sda, Logical Block 0
ata4.00 : exception Emask 0x0 SAct 0x0 action 0x0 frozen ......
ata4.00 : status: { DRDY }
why it has giving the error.i have Intel based hardware Core II Duo with 1 GB ram check with sata hard drive 120 GB.
I just downloaded an iso of the latest CentOS dist (5.3) and burned it to disk. I booted from the CD and received the following error:
Memory for crash kernel (0x0 to 0x0) not within permissible range
Illegal mode for this track or incompatible medium -- (asc=0x64, ascq-0x00)
The failed "read 10" packet command was:
Buffer I/O error on device hdd, logical block 176935
(This error message repeats for another 9 or 10 times then it says the following)
Red Hat nash version 5.1.19.6 starting
Setting up new root fs
(Then there are some unmounts which are old /dev, /proc, /sys. At this point a series of steps begin).
Setting Clock
Starting udev
Loading default keymap (us)
Setting hostname local host.localdomain
Setting up logical volume management
Checking file systems
These are just some of the steps that appear after the above error is displayed, all of the steps that load have an ok status. After those are completed I get to a text prompt - localhost login: At this point my keyboard does not seem to respond, pressing enter or any of the other keys seems to have no effect. I noticed that during the load process I could toggle the light for caps and num lock, but at the login screen it does'nt work. So at this point I'm not sure if I'm having a technical issue or if its just another case of an user error.
I virtualized a PC with VMware vCenter Converter. But when I boot my virtual PC, I have an error.I found this link but I can't mount /dev, /sys and /proc. I have this error message : mount: /dev is not a block device.
View 2 Replies View Relatedat my work we have upgraded suse to 11.2, thus we also got an upgrade of thunderbird 2 to 3.
When I now save attachments to our network disks it writes them as user=rw (600), and no longer as 644. I do not want to do chmod for every attachment.When creating a file by csh or bash terminal or downloading a file by firefox it does write the file as 644, which is good.
Can someone please give me a suggestion of how I can solve this problem? Is there something I have to change in the prefs.js file?
Is there a setting to make the default in Kmail to save the attachments (or when dragging them into a folder) so they are NOT set to read-only?
View 4 Replies View Relatedhow to send attachments in G2Ipmsg.
View 1 Replies View RelatedI have set up a Sympa list serv server and everything is working fine for the most part. One issue that I am running into is sending files over ~580 KB in size (just a normal .txt file) are not going through. I am getting the following error. Impossible to distribute your message for list 'list-name' because of an internal server error.I have verified that my "Maximum message size (max_size)" setting in Sympa is get to 5 MB so that shouldn't be the problem. If I try sending the same .txt file after taking out a few lines, and the file size is ~530 KB, then it works just fine. Nothing is really jumping out at me in the logs either.
View 1 Replies View RelatedI have Internet access with Verizon Wireless and have a limit of 5 gigs per month but Mozilla Thunderbird 3.1.8 is wasting my data whenever I send large attachments. For example, when I send an attachment to somebody, Thunderbird will upload it okay but when it is finished uploading it, the message in the window then says "copying to the Sent folder" but it does not simply "copy" it, instead, it uploads the attachment all over again to the Sent folder. So the attachment was uploaded twice, once to the recipient and once to my sent folder.I am running Linux Mint 9 Isadora.Is there a way to stop this behavior?
View 2 Replies View Relatedwhen I first started with tbird version 3.0.5, under that version everything worked fine and attachments etc. downloaded, but tbird was automatically upgraded to 3.1 since then attachments don't download and pictures don't appear in emails.What do I need to do to correct this?
View 2 Replies View RelatedI'm at a complete loss on this one.MY version of Firefox 3.6.10 (Ubuntu 10.04 LTS) opens all email attachments with no problem. However, my sister's machine--same 3.6.10 and 10.04 LTS--does not. Instead, she gets the following message: "(PDF or JPEG) could not be opened because the associated helper application does not exist. Change the association in your preferences."I've checked all her preference settings against mine, and they match...but mine works and hers does not. (Also verified that "Document Viewer" and "Image Viewer" are installed properly...)
View 5 Replies View RelatedI'm about to start trying to write a script to backup / with just something like tar, or dd, split into 24mb files and email to myself.What could possibly go wrong? I'm amazed I couldn't find anything in my searches on this specifically.What I want is to go from a Gentoo rescue CD to a restored system as easily as possible.I tried rsync over gmailfs but that just froze. I can't really see that working too well anyway.
View 2 Replies View RelatedI have an interesting job at hand. A client has asked me to generate an email account for him that will block ALL file attachments unless specific email addresses are added to a white list. Cpanel doesn't seem to allow this because of Exim (from what the server techs tell me).So here I am, asking the wise. Please let me know what options there are. I don't mind installing a 3rd party email system on the server just for this client if it's possible and won't interfere with WHM/Cpanel.
View 1 Replies View RelatedI admit to being a starter having recently switched from XP. How do I deliver emails to the remaining XP users that that have attachments thay can read if they are using microsoft packages of various ages especially when they have less computer skills than even me. Should I load word through WINE and send an Word emulating document?
View 3 Replies View RelatedI am trying to filter out attachment emails using procmail. I have tried this:
Code:
#Config:
SHELL=/bin/sh
PATH=/bin:/usr/bin:/usr/bin
MAILDIR="/var/mail/root"
LOGFILE=/var/log/procmail.log
LOGABSTRACT=ALL
VERBOSE=ON
:0
*^Content-Transfer-Encoding: base64$ {
| echo $LASTFOLDER }
[/code]
As you can probably guess, this line "Content-Transfer-Encoding: base64" appears when emails come with attachments, but the result of this filter is:
Code:
procmail: No match on "^Content-Transfer-Encoding: base64"
procmail: Skipped "| echo $LASTFOLDER"
procmail: Assigning "echo"
procmail: Skipped "| $LASTFOLDER"
procmail: Assigning "LASTFOLDER=/var/mail/root/msg.OFT"
procmail: Opening "/var/mail/root/msg.OFT"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "root@0:/var/mail/root/msg.OFT"
From root Mon Apr 11 01:23:37 2011
Subject:
Folder: /var/mail/root/msg.OFT 26051
The result showed as if there was no match, futhermore, the bash code that I am trying to run:
echo "$LASTFOLDER" seemed not to be ran as bash? And does anyone know how I can test my procmail filter on some testing platform sandbox so I don't have to send a bunch of emails everytime I change the file and waste time and disk space testing new filters?
How would one go about reading a mailbox, and detaching the attachment (a csv file) in all unread mails for processing?
I plan to do this in bash or perl. I am looking for ideas or sample code.