Differences between revisions 12 and 13
Revision 12 as of 2023-06-03 22:34:42
Size: 1482
Editor: PieterSmit
Comment:
Revision 13 as of 2023-06-03 22:42:26
Size: 1548
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
 * (./) 2023-06 https://spfbl.net/en/delist/  * (./) 2023-06 Fixed [[https://spfbl.net/en/delist/]] ==> check [[https://matrix.spfbl.net/103.252.118.112]]

SMTP Simple mail transfer protocol

SMTP / Email spoof tests

Check / Removal spam lists

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:

...

smtp (last edited 2024-02-08 09:50:04 by PieterSmit)