Warning: require() [function.require]: open_basedir restriction in effect. File(/usr/local/php-spez-5.2.17/lib/php/geshi/geshi.php) is not within the allowed path(s): (/usr/local/php/lib/php/:/home/www/:/usr/bin/:/tmp:/usr/local/php52/lib/php/) in /home/www/web25/html/syswiki/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php on line 376
Nospam install – HS Syswiki

Nospam install

Aus HS Syswiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 30: Zeile 30:
 
bash hsinstallnospam 85.10.201.5 85.10.220.46 nospam.login-116.hoststar.ch
 
bash hsinstallnospam 85.10.201.5 85.10.220.46 nospam.login-116.hoststar.ch
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
Check if the file /etc/mail/sendmail.cf has listening on port 465 for server and localhost IP
  
 
start sendmail and check if it is working
 
start sendmail and check if it is working

Version vom 15. Oktober 2015, 11:55 Uhr


requirements:

- additional ip adress, it's also possible to use an ip from a customer with ssl cert.
- set the dns on tux1 (nospam.login-XX.hoststar.ch)

from bkp001

ssh tuxXX "mkdir ~/sysadmin/nospam"
cd ~/tch/nospam/clean
scp * tuxXX:~/sysadmin/nospam

on target server stop sendmail

/etc/init.d/sendmail stop
killall -9 sendmail
ps faux | grep sendmail

run the bash script with the following arguments.

argument 1: ip of the host server
argument 2: ip for the nospam installation
argument 3: hostname of the nospam installation (nospam.login-X.hoststar.ch)
cd ~/sysadmin/nospam
bash hsinstallnospam 85.10.201.5 85.10.220.46 nospam.login-116.hoststar.ch

Check if the file /etc/mail/sendmail.cf has listening on port 465 for server and localhost IP

start sendmail and check if it is working

/etc/init.d/sendmail start

telnet on port 25

Following command must show listenings on server-, localhost- and nospam IP

netstat -neptula | grep LIST | egrep "465|587|25"
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Navigation
Werkzeuge