Архиви на блога

dkim on debian with postfix

This is a guide to installing OpenDKIM for multiple domains on a Postfix-installtion on Debian. I tried some other guides but kept running into problems, so this is how I did it. Among others, Google Gmail and Yahoo mail check

С етикет: , ,
Публикувано в linux

sort output from linux du command

du -h | perl -e ‘sub h{%h=(K=>10,M=>20,G=>30);($n,$u)=shift=~/([0-9.]+)(\D)/;return $n*2**$h{$u}}print sort{h($b)h($a)};’ > dusort.txt

Публикувано в linux

openvpn username password auth

In your config you need to add username-as-common-name auth-user-pass-verify /etc/openvpn/verify.php via-file Then create the file and paste in it #Now add this code into the file #!/usr/bin/php Don’t forget to add users 😉 echo „myfirstuser:password123“ > /etc/openvpn/users

С етикет: , ,
Публикувано в linux


This can be set to false in about:config security.mixed_content.block_active_content

С етикет: ,
Публикувано в linux

idea for id storing of files

If you have some time of id in your database and you want to save file associated with this id it’s not a good idea to make dir with id value and save the file there because on some point

С етикет: , , , , , ,
Публикувано в linux, php