User Tools

Site Tools


sysadmin:training

This is an old revision of the document!


Training per sysadmin

Verifica raggiungibilità host

Prima di tutto si deve verificare se si raggiunge il sistema remoto. Si può fare con il programma `ping <nome host o indirizzo IP>`

Il ping può essere utile per verificare anche la latenza di rete

Verifica raggiungibilità di un servizio

Esempio HTTP

TODO Costin

Esempio SSH

TODO Costin

Esempio SMTP (invio email)

TODO Costin

SMTP (avanzato)

Da non leggere se non si è già amministratori di un server email.

SMTP configuration

In order to have a working SMTP server we have to take care of “some” ;) points:

  • PTR reverse DNS record: dig +short ptr <reverse IP>.in-addr.arpa must give an hostname which DNS A record points to the <IP address> of your server.
  • DNS:
    • MX → who exchange the mail for the domain?
    • SPF → which addresses can be originated from the MX?
    • DKIM → how are signed messages outgoing from the MX?
    • DMARC → what actions do you suggest to mail receivers' providers regarding the conf of SPF/DKIM and where you would like to receive reports from them to tune your mail settings?
  • Furthermore we need working antispam and antivirus
  • And of course SMTP server only relay local or TLS + authenticated connections
  • Need to add DNS entries to the host that receives DMARC reports if domain is different from the one of the DMARC itself

References

SMTP/IMAPs tests

Migrazione di un sistema di posta con soli alias verso Mailcow

  1. [X] Backup e aggiornamento Mailcow
  2. [X] Configurazione Mailcow → aggiungere dominio
  3. [X] Creare un utente admin specifico per il dominio
  4. [X] Trasferire alias (copia da /etc/postfix/virtual_pdp)
  5. [X] Visualizzare tutte le impostazioni necessarie del DNS e si aggiornano i record DNS
  6. Effettuare il test: tra tutti mail-tester e mxtoolbox

Backup e aggiornamento

cd /opt/mailcow-dockerized
helper-scripts/backup_and_restore.sh backup all
./upgrade.sh
./upgrade.sh

Per il changelog v. canale Telegram, oppure git log

sysadmin/training.1612349327.txt.gz · Last modified: 2021/02/03 10:48 by feroda