Nospam install
Aus HS Syswiki
(Unterschied zwischen Versionen)
Dna (Diskussion | Beiträge) |
Dna (Diskussion | Beiträge) |
||
(Eine dazwischenliegende Version von einem Benutzer wird nicht angezeigt) | |||
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 | ||
Zeile 42: | Zeile 44: | ||
netstat -neptula | grep LIST | egrep "465|587|25" | netstat -neptula | grep LIST | egrep "465|587|25" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | Add the new IP to the SNDS list of hotmail: | ||
+ | |||
+ | https://postmaster.live.com/snds/addnetwork.aspx |
Aktuelle Version vom 16. Oktober 2015, 13:37 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"
Add the new IP to the SNDS list of hotmail: