diff options
Diffstat (limited to 'man/qmail-smtpd.8')
-rw-r--r-- | man/qmail-smtpd.8 | 93 |
1 files changed, 53 insertions, 40 deletions
diff --git a/man/qmail-smtpd.8 b/man/qmail-smtpd.8 index 393ec28..09955bd 100644 --- a/man/qmail-smtpd.8 +++ b/man/qmail-smtpd.8 @@ -120,7 +120,8 @@ disables the lookup. .B qmail-smtpd converts the SMTP newline convention into the UNIX newline convention by converting CR LF into LF. -Usually, it returns a temporary error and drops the connection on bare LFs. +Usually, it returns a temporary error and drops the connection +on bare LF, if not adviced otherwise. .B qmail-smtpd accepts messages that contain long lines or non-ASCII characters @@ -331,7 +332,6 @@ with .EX +localaddress@mydomain.com .EE - .TP 5 .I databytes Maximum number of bytes allowed in a message, @@ -609,7 +609,7 @@ is defined and greater than 0 and .I RELAYCLIENT is not set. -.SH "ENVIRONMENT VARIABLES READ" +.SH "ENVIRONMENT VARIABLES RECOGNIZED" Environment variables may be defined globally in the .B qmail-smtpd startup script and/or individually as part of the @@ -633,6 +633,7 @@ as well as Additionally, .B qmail-smtpd may use several environment variables for different purposes. + .P Controlling the SMTP HELO/EHLO: .IP @@ -671,6 +672,7 @@ is 8 bit clean, setting of has no real consequences except for displaying this setting in the log as .IR ESMTP[SA]UTF8 . + .P Controlling the SMTP Mail From: .IP @@ -769,6 +771,15 @@ tarpitdelay is the time in seconds of delay to be introduced after each subsequent Rcpt To:. Smart Rejection Notes: +.TP 5 +.I RECIPIENTS450 +tells +.b qmail-smtpd +to issue a SMTP reply '450' (temporary rejection) +instead the default '550' +in case the recipient was not listed in any +.I recipients +cdb. If .IR TARPITCOUNT is set and @@ -788,15 +799,6 @@ is set and will issue after .IR TARPITCOUNT invalid Rcpt To: a Recipient failure -.TP 5 -.I RECIPIENTS450 -tells -.b qmail-smtpd -to issue a SMTP reply '450' (temporary rejection) -instead the default '550' -in case the recipient was not listed in any -.I recipients -cdb. .P Controlling the email body: @@ -834,7 +836,19 @@ Providing the check is disabled if in addition .IR RELAYCLIENTS are recognized. - +.TP 5 +.I BARELF +If set, +.B qmail-smtpd +will not strictly require the ending delimiter +CRLF for lines in the message header/body, +but rather will accept those with LF only. +If however, +.I BARELF='-' +is set, mails with bare line feeds (LF) are rejected. +Use this option to potentially inverse a global +.I BARELF +environment variable per connection. .TP 5 .I BASE64 tells QHPSI to enable virus checking only if a base64 encoded @@ -847,7 +861,7 @@ see control file .I QHPSI is used by .B qmail-smtpd -to supply the name of the virus scanner and it's path. +to supply the name of the virus scanner and its path. .P Environment variables for SMTP authentication: .IP @@ -914,14 +928,6 @@ Other environment variables used: .I DELIVERTO mail address for special recipients. .TP 5 -.I RBLSMTPD -feed from -.B rblsmtpd -including the information received from the -inquired RBL hosts and displayed as -.I X-RBL-Info: -message header. -.TP 5 .I POSTGREY triggering the call of .B qmail-postgrey @@ -932,7 +938,14 @@ server. If is set to .I - no lookup is performed. - +.TP 5 +.I RBLSMTPD +feed from +.B rblsmtpd +including the information received from the +inquired RBL hosts and displayed as +.I X-RBL-Info: +message header. .SH "CUSTOMIZABLE RETURN MESSAGES" In case of rejected or defered SMTP connections .B qmail-smtpd @@ -941,9 +954,18 @@ which are sandwiched between the reply code and the EMMSC. .B qmail-smtpd recognizes these environment variables: .TP 5 +.I REPLY_BADMAILFROM +following 553 badmail from +.TP 5 +.I REPLY_BADRCPTTO +following 553 badrcpt to +.TP 5 .I REPLY_GREYLISTED following 450 greylisting .TP 5 +.I REPLY_CONTENT +following 554 Message content invalid +.TP 5 .I REPLY_HELO following 550 Bad Helo .TP 5 @@ -953,50 +975,41 @@ following 550 mailbox not existing .I REPLY_MAXSIZE following 552 message size to large .TP 5 -.I REPLY_BADMAILFROM -following 553 badmail from -.TP 5 -.I REPLY_BADRCPTTO -following 553 badrcpt to +.I REPLY_NOGATEWAY +following 553 No gateway .TP 5 .I REPLY_SENDEREXIST following 553 SMTP sender DNS .TP 5 -.I REPLY_NOGATEWAY -following 553 No gateway -.TP 5 .I REPLY_SENDERINVALID following 553 SMTP sender invalid -.TP 5 -.I REPLY_CONTENT -following 554 Message content invalid .SH "ENVIRONMENT VARIABLES SET" By means of the following environment variables, the SMTP session can be interrogated: .TP 5 -.I HELOHOST -the HELO/EHLO greeting of the SMTP client. -.TP 5 .I AUTHPROTOCOL the ESMTPA protocol used for authentication. .TP 5 .I AUTHUSER the supplied username for authentication. .TP 5 +.I HELOHOST +the HELO/EHLO greeting of the SMTP client. +.TP 5 .I MAILFROM containes the received 'Mail From:' address. .TP 5 .I RCPTTO containes all received 'Rcpt To:' addresses separated by blanks. .TP 5 -.I TCP(6)REMOTEINFO -in authentication mode set to the accepted username. -.TP 5 .I SSL_* information from .BR sslserver , if applicable. +.TP 5 +.I TCP(6)REMOTEINFO +in authentication mode set to the accepted username. .SH "SEE ALSO" tcp-environ(5), |