Nospam install
Aus HS Syswiki
Version vom 15. Oktober 2015, 11:55 Uhr von Dna (Diskussion | Beiträge)
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"