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
(Die Seite wurde neu angelegt: „Category:ServerAdmin requirements: :- additional ip adress, it's also possible to use an ip from a customer with ssl cert. :- set the dns on tux1 (nospam.…“)
 
Zeile 7: Zeile 7:
 
from bkp001
 
from bkp001
  
<pre>
+
<syntaxhighlight lang="bash" style="font-size:9pt;">
 
ssh tuxXX "mkdir ~/sysadmin/nospam"
 
ssh tuxXX "mkdir ~/sysadmin/nospam"
 
cd ~/tch/nospam/clean
 
cd ~/tch/nospam/clean
 
scp * tuxXX:~/sysadmin/nospam
 
scp * tuxXX:~/sysadmin/nospam
</pre>
+
</syntaxhighlight>
  
 
on target server stop sendmail
 
on target server stop sendmail
<pre>
+
<syntaxhighlight lang="bash" style="font-size:9pt;">
 
/etc/init.d/sendmail stop
 
/etc/init.d/sendmail stop
 
killall -9 sendmail
 
killall -9 sendmail
 
ps faux | grep sendmail
 
ps faux | grep sendmail
</pre>
+
</syntaxhighlight>
  
 
run the bash script with the following arguments.
 
run the bash script with the following arguments.
Zeile 26: Zeile 26:
 
:argument 3: hostname of the nospam installation (nospam.login-X.hoststar.ch)
 
:argument 3: hostname of the nospam installation (nospam.login-X.hoststar.ch)
  
<pre>
+
<syntaxhighlight lang="bash" style="font-size:9pt;">
 
cd ~/sysadmin/nospam
 
cd ~/sysadmin/nospam
 
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
</pre>
+
</syntaxhighlight>
  
 
start sendmail and check if it is working
 
start sendmail and check if it is working
<pre>
+
<syntaxhighlight lang="bash" style="font-size:9pt;">
 
/etc/init.d/sendmail start
 
/etc/init.d/sendmail start
</pre>
+
</syntaxhighlight>
  
 
telnet on port 25
 
telnet on port 25

Version vom 21. August 2015, 17:02 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

start sendmail and check if it is working

/etc/init.d/sendmail start

telnet on port 25

Meine Werkzeuge
Namensräume

Varianten
Aktionen
Navigation
Werkzeuge