IT notes

postfix version

In Postfix there is no -v or --vesion, to find the version run: $ postconf mail_version

sasl_username

Find users sending email: tail -F /var/log/all.log | grep -i sasl_username

smarthost

Smarthost with postfix A smart host is a type of email message transfer agent that allows a Simple Mail Transfer Protocol (SMTP) server to route email to an intermediate mailserver rather than directly to the recipient’s server https://en.wikipedia.org/wiki/Smart_host Setup postfix to forward all emails using an external SMTP server, for example sendgrid.net, main.cf: smtp_sasl_auth_enable = yes smtp_sasl_password_maps = static:username:password smtp_sasl_security_options = noanonymous smtp_tls_security_level = encrypt header_size_limit = 4096000 relayhost = [smtp.