MoinQ:

1. s/qmail/DOC/smtpd

https://www.fehcom.de/sqmail/man/qmail-smtpd.html

RBL検査を挟むなら: https://notes.sagredo.eu/en/qmail-notes-185/setting-up-rblsmtpd-127.html


qmail-smtpd includes a 'MailFrom:' parameter parser and obeys 'Auth', 'Size',

qmail-smtpd supports SMTPUTF8 SMTP envelope addresses

1.1. TRANSPARENCY

badmailfrom Unacceptable envelope sender addresses.

              *@earthlink.net
              !fred@earthlink.net
              [0-9][0-9][0-9][0-9][0-9]@[0-9][0-9][0-9].com
              answerme@save*
              *%*
              @yahoo.com-
              @hotmail.com=
              @mydomain.tld+
              ~yahoo.com
              ?nobody@example.com

A badmailfrom file with this contents reject all mail from Earthlink except from fred@earthlink.net.

It also rejects all mail with addresses like: 12345@123.com and answerme@savetrees.com.

Further, any mail with a sender address containing a percent sign (%) is rejected.

This implementation recognises 'extended' addresss in badmailfrom allowing to reject mails with particluar spoofed domain addresses:

              *
              !
              !*@*.*
              *viagra*

1.2. ENVIRONMENT VARIABLES READ

HELOCHECK=""

HELOCHECK='A' | HELOCHECK='M'

Controlling the SMTP Mail From:

Controlling the SMTP RCPT TO:

Controlling the email body:

Environment variables for SMTP authentication:

Setting up the TLS/STARTTLS environment:

Other environment variables used:

MoinQ: s/qmail/DOC/smtpd (last edited 2021-05-11 00:54:21 by ToshinoriMaeno)