====== exim ====== ip address 192.168.10.30\\ **Exim** systemctl status exim4 systemctl restart exim4 **Useful commands**\\ Test mail address routing: exim -bt iraxecoco@gmail.com Print a listing of the messages in the queue (time queued, size, message-id, sender, recipient): exim -bp Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals): exim -bp | exiqsumm Display all of Exim's configuration settings: exim -bP I've always used the cheatsheet from brad the mad [[https://bradthemad.org/tech/notes/exim_cheatsheet.php|Exim cheatsheet]] also [[:exim cheat sheet|here]] for just in case it disappears **Files:**\\ exim config\\ nano /etc/exim4/exim4/conf user configuration files ( domain users and aliases )\\ cd /etc/mail/virtual exim filter file ( filtering and actions based on email addresses or contents )\\ nano /etc/mail/exim.filter exim whitelist ( allow domains to bypass ACL checks )\\ nano /etc/mail/whitelist exim black list( domains block )\\ nano /etc/mail/black.list exim dkim certs( generated by portal system when adding new domain/user)\\ cd /etc/mail/dkim ---- **Apache2** systemctl restart apache2 **Files:**\\ Apache config file for wsgi\\ nano /etc/apache2/sites-enabled/ipmanagement.conf Git repo for python flask SMTP Service Manager: cd /var/Smtp_service_manger [[SMTP Service Manager|SMTP Service Manager]]