Postfix and AntiSpam Smtp Proxy – ASSP

http://www.howtoforge.com/antispam_smtp_proxy perl -MCPAN -e shell install Compress::Zlib install Digest::MD5 install Email::Valid install File::ReadBackwards install Mail::SPF::Query install Mail::SRS install Net::DNS install Sys::Syslog install Time::HiRes cd /usr/src/ wget http://downloads.sourceforge.net/project/assp/ASSP%20V2%20multithreading/2.4.1%2014085/ASSP_2.4.1_14085_install.zip unzip ASSP_2.4.1_14085_install.zip mkdir -p /usr/share/assp/spam mkdir /usr/share/assp/notspam mkdir /usr/share/assp/errors mkdir /usr/share/assp/errors/spam mkdir /usr/share/assp/errors/notspam mv -f assp/* /usr/share/assp rm -fr ASSP_2.4.1* assp changelog.txt Install.txt MacOSX-launchd.txt quickstart.txt Win32-quickstart-guide.txt chown -R … Read more

Postfix and Greylisting

http://www.howtoforge.com/greylisting_postfix_postgrey apt-get install postgrey /etc/default/postgrey POSTGREY_OPTS="–inet=<ip>:10023 –delay=60" service postgrey start /etc/postfix/main.cf smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, check_policy_service inet:<ip>:10023 service postfix reload

Wake-on-LAN (WOL)

https://wiki.archlinux.org/index.php/Wake-on-LAN http://wiki.xbmc.org/index.php?title=HOW-TO:Set_up_Wake-On-Lan_(Ubuntu) https://fitzcarraldoblog.wordpress.com/2013/02/26/how-to-prevent-a-usb-mouse-auto-suspending-in-linux-when-a-laptops-power-supply-is-disconnected/ First query the driver to see if it’s defaulted to ‘on’ by using ethtool: ethtool eth0 | grep Wake-on To enable the wol feature in the driver, simply run the following: ethtool -s eth0 wol g This command does not last beyond the next reboot. Keep WOL persistent over restarts adding command … Read more

Collectd installation on Debian

apt-get install collectd lighttpd php5-cgi rrdtool perl librrds-perl libconfig-general-perl libcurl3-gnutls libsensors4 librrds-perl librrd4 libhtml-parser-perl default-jre-headless libregexp-common-perl cp -fa /usr/share/doc/collectd/examples/collection3 /var/www/ chown -R www-data:www-data /var/www/collection3/ mkdir /usr/lib/cgi-bin/collectd cp -fa /usr/share/doc/collectd/examples/collection.cgi /usr/lib/cgi-bin/collectd/ configure cpan cpan cpan Config::General cd /etc/lighttpd/conf-enabled ln -s 10-cgi.conf ../conf-available/10-cgi.conf ln -s 10-fastcgi.conf ../conf-available/10-fastcgi.conf ln -s 15-fastcgi-php.conf ../conf-available/15-fastcgi-php.conf ln -s 90-javascript-alias.conf /etc/javascript-common/lighttpd.conf /etc/lighttpd/lighttpd.conf server.modules … Read more

XBMC installation on Debian

XBMC installation: echo "deb http://www.deb-multimedia.org/ jessie main non-free" >> /etc/apt/sources.list echo "deb-src http://www.deb-multimedia.org/ jessie main" >> /etc/apt/sources.list echo "deb http://debian.oppserver.net/xbmc/ jessie main non-free contrib" > /etc/apt/sources.list.d/oppxbmc.sources.list echo "deb-src http://debian.oppserver.net/xbmc/ jessie main non-free contrib" >> /etc/apt/sources.list.d/oppxbmc.sources.list wget http://debian.oppserver.net/gpg-debian.oppserver.net-signing-pubkey.asc -O – | apt-key add – aptitude update aptitude install xserver-xorg-video-intel xserver-xorg-video-vesa xorg-common x11-session-utils xinit alsa-base nfs-common xbmc … Read more

Spamassassin and Postifx configuration

http://www.akadia.com/services/postfix_spamassassin.html aptitude install spamassassin spamc /etc/default/spamassassin ENABLED=1 SAHOME="/var/log/spamassassin/" OPTIONS="–create-prefs –max-children 2 –username debian-spamd -H ${SAHOME} -s ${SAHOME}spamd.log" PIDFILE="/var/run/spamd.pid" CRON=1 /etc/postfix/master.cf smtp inet n – – – – smtpd -o content_filter=spamfilter spamfilter unix – n n – – pipe flags=Rq user=debian-spamd argv=/usr/local/bin/spamfilter.sh -oi -f ${sender} ${recipient} mkdir /var/spamchk chmod 775 /var/spamchk chown debian-spamd:debian-spamd /var/spamchk /usr/local/bin/spamfilter.sh #!/bin/sh # —————————————————————– … Read more

FusionInvoice installation on LAMP

FusionInvoice installation on Linux / Apache / MySQL / PHP (LAMP) with czech language support https://www.fusioninvoice.com/ aptitude install apache2 mysql-server php5 php5-mcrypt php5-mysql mkdir /var/www/fusion cd /var/www/ wget -O fusion.zip https://www.fusioninvoice.com/download_file/15/install unzip fusion.zip rm -f fusion.zip mv FusionInvoice-1.3.5-full/ fusion mkdir /var/www/fusion/application/language/cz_CZ cd /var/www/fusion/application/language/cz_CZ wget -O fusion-translation.zip https://crowdin.net/download/project/fusioninvoice.zip unzip -j fusion-translation.zip cs/application/language/* . rm -f fusion-translation.zip … Read more