Previously, I have set up the Qmail + MySQL + Vpopmail + ClamAV server platform. Only attachments in rar format cannot be scanned.
With the help of Cu altar friends, we found a solution.
Next, I will repeat the posts of my friends. For your reference
1. Modify TCP. SMTP127.: Allow, relayclient = "", rblsmtpd = "", qmailqueue = "/var/Qmail/bin/qmail-scanner-queue.pl": Allow, qmailqueue = "/var/Qmail/bin/qmail-scanner-queue.pl"
Then # tcprules T
When I sent an email to a friend this morning, I found that Gmail was not allowed to send a zip attachment with executable files. See:
The mp3.zip I sent to him is an MP3 player (an EXE file) I wrote myself ). Since Gmail does not allow ZIP files to contain executable files, it is certainly not acceptable to directly send the EXE without compression (but I have not tried it), so it is depressing ......Suddenly, what about RAR? Replace winrararchive
Import os,fnmatch,datetime,timedef all_files (root,pattern= ' * ', single_level=false,yield_folders=false): Patterns = Pattern.split (';') For path,subirs,files in Os.walk (root): if yield_folders: files.extend (subirs) files.sort () for Name in Files: for pattern in patterns: if Fnmatch.fnmatch (name,pattern): yield Os.path.join (path,name) break if single_level: breakfor path
In Linux, decompress the tar. xz format file and compress the new laptop system a few days ago. You want to re-compile the kernel ...... Dumb's head is that tar-xvjf linux-*** cannot be used to decompress the package. After a close look, we found that the kernel package downloaded on the official kernel website is not bz2 !!! Instead, tar. xz ...... What the fuck! Amount ...... When can I change the format!
in the 3.8.0 version, for example, if it is a 64-bit platform, execute the following command, or go to the official website:) Download the latest version: wget http://www.rarlab.com/rar/rarlinux-x64-4.2.0.tar.gz RAR software does not need to install, extract directly to/usr/local, the following operations need to have root permissions. #tar zxvf rarlinux-x64-4.2.0.tar.gz-c/usr/local At this point, the
Install Mysql decompress version
-- @ Liang WP
1. Decompress mysql to a proper location
2. Right-click computer-properties-advanced system settings-advanced-environment variables. In the displayed "environment variables" dialog box, modify the following system variables.
3. New MYSQL_HOME variable, the value is the decompression path just now, such as D: \ mysql-5.6.15
4. Edit the Path variable and add
I have installed redhat5.4 on a virtual machine. Now I want to install oracle10g to decompress the package and find out how to free up space-Linux general technology-Linux technology and application information. For more information, see the following. I have installed redhat5.4 on a virtual machine. The virtual machine is set to 20 GB, I have not installed other things, but now I want to install oracle10g for decompression. I found that the space is
Decompress the taz file-the Linux Release Technology-Debian information. For more information, see. In debian linux, there is a compressed file named a. taz ending with taz.
If tar xvf a. taz is directly used for decompression, the following error occurs:
Tar: compress: Cannot exec: No such file or directory
Tar: Error is not recoverable: exiting now
Tar: Child returned status 2
Tar: Error exit delayed from previous errors
I searched for h
C #. NET uses the third-party class library DotNetZip to decompress/compress the Zip rarfile,
DotNetZip on CodePlex: http://dotnetzip.codeplex.com/
For details, see the source code ...... In short, it feels better than SharpZipLib. In addition, DotNetZip supports VB, C #, and any. NET language.
Compression:
// Define the file path string filename = @ "d:/test.rar"; using (ZipFile zip = new ZipFile () {zip. addFile (@ "C:/text.txt", "txt"); // store th
Link: http://blog.sina.com.cn/s/blog_5e1ec7060101c4m7.html
201305028 add to favorites
WinRAR supports decompression of the 7z package, but does not support decompression of the 7z file. If you use WinRAR to open the 7z file, an error is returned.
The original cause is that the 7z file is actually a large file, such as abc.7z, which is directly cut into multiple file shards:
Abc.7z. 001Abc.7z. 002...Abc.7z. 010
You can use the copy command in DOS to merge the split files and
WebApi series ~ Decompress the HttpClient response stream, webapihttpclient
Back to directory
Sometimes our request header is compressed by adding gzip to ContentEncoding, and the server will also perform gzip compression on the returned data. In this case, the response stream of your direct connection will be garbled, but compression must be performed first. Uncle extracts the logic of this piece, and it extracts it into the method to automatically u
Decompress the package and use it in a cross-Linux PHP7 package environment: 64-bit Linux
(18 MB): http://pan.baidu.com/s/1ntsrU8x
Md5sum php-7.0.0-dev-20150502.tar.xz
5a4897aedc5ccf02da1f0340ac6013cb
PHP is developed in version 7.0.0 and downloaded from Github in May 2, 2015.
Https://github.com/php/php-src/archive/master.zip
Create a user:
Sudo groupadd-r png
Sudo useradd-r-g png-s/usr/sbin/nologin-d/png/nonexistent-c "png user" png
Create a
Today, I encountered a problem. After running the python 2.7 installed in the/opt directory, I found that an error occurred while using the zlib library. After searching online, I got the answer,
You need to install the alib1g-dev before compiling python2.7, and then compile python2.7 so that zlib can be compiled into python together.
Zlib1g-dev
Error message:
Zipimport. ZipImportError: can't decompress data; zlib not available
You need to
For details about how to use the linux tar command to compress, view, decompress, and use the tar command
Command prototype:
Tar [Option…] [FILE]…
New
-C,--create creates a new compressed file
View
-T,-list: list archived content
Extract
-X,-extract,-get to extract files from the archive
Auxiliary options
-F filename: file name followed by file
-Z use bzip2 for compression and decompression. The suffix is commonly used * .tar.bz2
-J. Commo
How to decompress the iso image file in linux. the iso file format is iso9660, and iso9660 is a file system on cd, that is, www.2cto.com is the form of Data Organization on cd. Some of its restrictions are: 1. A maximum of 8 sub-directories (you can use RockRidge Extension to increase the limit) 2. A file name with a maximum of 32 characters 3. After copying the iso file to a linux machine, we can decompress
Sometimes we need a file in the RPM package. How can we decompress the RPM package?
Rpm is packaged in the cpio format, so you can convert it to cpio and decompress it, as shown below:Rpm2cpio XXX. RPM | cpio-Div
For example:
[Root @ localhost Oracle] # rpm2cpi oracle-instantclient11.2-basic-11.2.0.2.0.i386.rpm | cpio-Div./Usr/lib/Oracle/11.2/client/bin/adrci./Usr/lib/Oracle/11.2/client/bin/genezi./Usr
Tags: Android style blog color Io ar file SP DivTarXaf cmakelists.Tar. Bz2-C heroThese cmake files are previously written.Here is a rough summary, and then I will study it and make a detailed summary.
Orchestrate cmake files based on the principle of minimal relevance
Library is a third-party Lib. Only lzmalib needs to write the cmake file. This is easy to rewrite. You can refer to the makefile of Android in the jni directory.
There are two parts under dev_head, HP and new3d, which a
Previously, I wrote a script to automatically decompress the compressed file to the folder where the compressed file is located.
And then write the other two according to your needs. Same principle
Both use WinRAR commands
The first script is not considerate. You can only decompress the rarfile.
Improved support for various files supported by WinRAR
Save the files in the specified folder to the specified
page, then compile and install [[email protected] arrix] # tar-XF xz-5.0.3.tar [[email protected] arrix] # cd xz-5.0.3 [[email protected] arrix] #. /configure [[email protected] arrix] # Make [[email protected] arrix] # make install can also be installed using the yum source in fedora, [email protected] arrix] # Yum search xz [[email protected] arrix] # Yum install xz. i686 Sometimes there is no need to reinstall the system, and the system will use commands directly. In this way, you can use th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.