1. s/qmail/ENVIRONMENT VARIABLES
https://www.fehcom.de/sqmail/man/qmail-smtpd.html
1.1. qmail-smtpd
ENVIRONMENT VARIABLES READ
- Environment variables may be defined globally in the qmail-smtpd startup script and/or individually as part of the sslserver's cdb database.
- -x /var/qmail/control/rules.smtpd.cdb \
1.2. 例
HELOCHECK='!' (HELO/EHLOなしは拒否)
SPF='0'|'1'|'2'|'3'|'4'|'5'|'6'
TARPITDELAY
- tarpitdelay is the time in seconds of delay to be introduced after each subsequent Rcpt To:.
1.3. rules.smtpd.txt
... =:allow,SPF='3',HELOCHECK="!" :deny
1.4. V
The following environment variables are processed:
BADLOADERTYPE: Trigger and initial character of the BADLOADER mechanism.
BADMIMETYPE: Trigger of the BADMIMETYPE mechanism.
BASE64: Trigger for QHPSI for BASE64 type attachments only.
DATABYTES: Numerical value of the number of data bytes in the message body.
DELIVERTO: Additional mail address to fork the message to.
HELCOCHEK: Controlling the behavior of the HELO/EHLO string evaluation.
LOCALMFCHECK: Triggering the evaluation of the Mail From: information.
MFDNSCHECK: Triggering the DNS lookup of the Mail From:'s FQDN.
MAXRECIPIENTS: Numerical value of the number of received Rcpt To:'s.
POSTGREY: Triggering the call of qmail-postgrey client.
RBLSMTPD: To feed the X-RBL-Info info in the message header.
RECIPIENTS450: Triggering the SMTP Return Code behaviour.
RELAYCLIENT: Authorization to send messages to any domain.
REPYLMAV: Informational message following a MAV mismatch
SMTPAUTH: Triggering the SMTP Authentication implementation.
SPFRESULT: The result of the SPF evaluation additional to the message header.
TARPITDELAY: Tarpit values between succeeding Rcpt To's.
UCSPITLS: Triggering the STARTTLS communication.
UTF8: Triggering UTF-8 receipt (no consequences, since s/qmail is 8-bit clean).