Serveradministration

DKIM mit Ubuntu und Postfix

Kopie von: 

Guide to Install OpenDKIM for multiple domains with Postfix and Debian

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 your email for a DKIM signature.

Install and Configure OpenDKIM

1. Install OpenDKIM

apt-get install opendkim
 

Comment: This will install the latest available stable Debian packaged version of OpenDKIM which is currently 2.0.1. This version is already a couple of years old (2010).
If you know how/want to compile sources yourself, then the latest version is 2.4.3 (and 2.5.0 is right around the corner)

Continue reading
Linux-Befehle zur Verwaltung vom Server

Starten des DNS

/etc/init.d/bind9 start 
/etc/init.d/bind9 restart

 

Mail-Queue

ansehen:

mailq | less 

postqueue -p

einzelne Mail ansehen:

postcat -q MAILID

Anzahl der Mails in der Queue:

mailq | egrep '^--' 

gesamte Mail-Queue löschen:

postsuper -d ALL
Continue reading
Einrichtung von ISPConf

 

Fail2Ban anpassen

MANUAL 0 8 - Fail2ban

Dort speziell:

Mit Fail2ban monitoring Fail2ban - Whyscream den Skriptkiddies das Leben schwer machen.

 

Upload Speicher begrenzt auf 128k bzw. 131071b:

https://www.howtoforge.com/apache2-mod_fcgid-http-request-length-exceeds-maxrequestlen

nano /etc/apache2/mods-available/fcgid.conf
FcgidMaxRequestLen  2097152 # netspricht 2M

service apache2 restart

 

 

 

Continue reading
Fehler im Logging, Link falsch

Die Timezone für ISPConf ist per default UTC. Wenn der Server / Ubuntu-Linux anders konfiguriert ist muss die Timezone geändert werden. 

Prüfen mit:

date +%Z # timezone name
Continue reading
Joomla und fail2ban

Als regexpression funltioniert:
^\[.*]* \[client <HOST>:[0-9]+\] mod_fcgid: stderr: user .* joomla authentication failure, referer: .*

Testen:

fail2ban-regex /var/log/ispconf/httpd/uwhh.de/error.log /etc/fail2ban/filter.d/joomla-error.conf

fail2ban-client reload
Continue reading
Suchen&Finden

lade modul:

Continue reading
Erster Post

Test eines ersten Posts

Continue reading