620
Comment:
|
922
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
== SMTP / Email spoof tests == * https://emailspooftest.com/ * Basic server test 2023 - https://ssl-tools.net/mailservers |
|
Line 26: | Line 30: |
* Check tls certificate on smtp server {{{ # echo "quit" | openssl s_client -starttls smtp -crlf -connect <smtp.host>:25 | openssl x509 -noout -text | grep DNS: }}} |
SMTP Simple mail transfer protocol
SMTP / Email spoof tests
Basic server test 2023 - https://ssl-tools.net/mailservers
Debug smtp sasl starttls authentication
Connect and move to tls protected channel
$ openssl s_client -starttls smtp -crlf -connect vigor.nz:25 ehlo testconnection auth plain (base64encodedstring)
test sasl (/etc/sasldb2 )with
# sasldblistusers2 # testsaslauthd -u user -p password -f /var/spool/postfix/var/run/saslauthd/mux
add user to sasl
saslpasswd -c -u mail.example.com -a smtpauth test
view postfix smtp logs using journalctl
journalctl -u postfix@-.service -f
Check tls certificate on smtp server
# echo "quit" | openssl s_client -starttls smtp -crlf -connect <smtp.host>:25 | openssl x509 -noout -text | grep DNS:
...