Jun 21
|
Run:
dumpe2fs -h /dev/sda1
or
tune2fs -l /dev/sda1
where /dev/sda1 is you partition, and search for Block size:
|
Run: dumpe2fs -h /dev/sda1 or tune2fs -l /dev/sda1 where /dev/sda1 is you partition, and search for Block size:
First locate simcontrol file at /var/qmail/control The default file looked like this: :clam=yes,spam=yes,spam_hits=10,attach=.mp3:.src:.bat:.pif:.exe If you want to just stop spam processing for a single user you have to put: user@domain.com:clam=yes,spam=no,spam_hits=10 in front of existing line, result: user@domain.com:clam=yes,spam=no,spam_hits=10 for an entire domain just put: domain.com:clam=yes,spam=no,spam_hits=10 Save an run #qmailctl cdb
qmail + SPAMD +FC12 error: error: Can’t locate Crypt/OpenSSL/Bignum.pm in @INC (@INC contains: /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/ solution: run cpan and install Crypt::OpenSSL::Bignum module. > cpan >install Crypt::OpenSSL::Bignum
if you want to modify qmailadmin to check if new password is strong you can do like this: edit qmailadmin.c and: add: #include <ctype.h> I wrote a function to check if new password contains at least 1 alphachar and 1 digit. add it before int main(argc,argv)
#!/bin/bash # check if directory exits NOTE: -maxdepth 0 is for directories in curent dir. If you want to rename in depth use -depth instead
problem: ./load ezmlm-gate subdb.a getconf.o slurpclose.o slurp.o \ check if you have: /usr/lib64/mysql if not, make a link : ln -s /usr/lib/mysql/ /usr/lib64/ in /usr/lib/mysql/ you must have something like this: libmysqlclient.a
Error: /download/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function ‘zif_ffmpeg_frame_toGDImage’: Solution: 1. Open the file “/ffmpeg-php-0.5.0/ffmpeg_frame.c” 1. Replace all PIX_FMT_RGBA32 with PIX_FMT_RGB32 |
Recent Comments