⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smtp.proxy.1

📁 smtp proxy source code!
💻 1
字号:
.de ES.sp.in +0.5i...de EE.in -0.5i.sp...de EX.sp.in +0.5i\\$1.in -0.5i.sp...TH SMTP.PROXY 1 "28 August 1999".SH NAMEsmtp.proxy \- SMTP proxy server.SH SYNOPSIS\fBsmtp.proxy\fR [\fIoptions\fR] [\fIserver\fR].SH DESCRIPTION.I smtp.proxyis a proxy server for the SMTP protocol.It forwards traffic between a client and a server watching that the clientfullfills the protocol specification..PP.I smtp.proxyis usually started from a TCP superserver like.IR inetd (1)or.IR tcpproxy (1).It can be used from the command line to but does not support binding to aservice port like.IR sendmail (1)..PP\fIserver\fR can be either an SMTP server on a different machine which is thencontacted via TCP/IP or a local \fIsendmail\fR binary.If \fIserver\fR is omitted the latter is assumed with \fIsendmail\fRin \fI/usr/sbin\fR..SS Protocol Support.I smtp.proxysupports the following SMTP commands:.PP.RSHELO, EHLO.br[MAIL|SEND|SOML|SAML] FROM, RCPT TO, DATA,.brNOOP, RSET, HELP, ETRN, QUIT.br.PP.REUnsupported SMTP commands result in a syslog message without forwarding thecommand to the server.ETRN is only supported if the \fB-e\fR option is given on the command line..PPEmail addresses are checked againt some simple tests:.PP.RS- they must be enclosed in angle brackets `<', `>',.br- they must contain exactly one `@',.br- they must not contain a `%' or a `!',.br- `:' and `,' characters are also not allowed..br.PP.REWhile these checks block some valid email addresses they are almostwhat you want these days in an Internet with DNS..brThe special envelope address `<>' is always allowed..SH OPTIONSThe following options are available:.TP.B -eenable proxying of then ETRN command..TP.B -dswitch to debug mode: the dialog between server and client is written tostderr..TP\fB-l\fR \fIdir\fRif set \fIsmtp.proxy\fR looks if the file \fIclientip\fR exists inthe directory \fIdir\fR and if it's not older than 600 seconds.If so the client is accepted otherwise not..TP.B -qremove the mailpath from the received mail.Specifing \fb-q\fR twice supresses also the proxy's own `received from' line..TP\fB-r\fR \fIrcptlist\fRspecify a comma separated list of valid receipients.If this option is set \fIsmtp.proxy\fR checks each receipient from the RCPTcommand against the patterns (use `*' and `?' as wildcards) from that listand rejects it if it doesn't match any pattern without forwarding therequest to the server..brIf a pattern from \fIrcptlist\fR starts with an `@'-sign only the domain partof the email address is matched against it, not the whole email address..TP\fB-s\fR \fIsenderlist\fRthe same as the above \fIrcptlist\fR but for senders in the MAIL command..TP\fB-t\fR \fItimeout\fRspecify a different SMTP timeout in seconds than the default of 300 (5 minutes)..PP.SH NOTESIf your running \fIsmtp.proxy\fR with a local \fIsendmail\fR make sure theuser running the proxy is on the \fBT\fIuser\fR list in \fIsendmail.cf\fR.Otherwise you'll get authentication warnings in your syslog and the emails..SH "SEE ALSO".IR inetd (1),.IR sendmail (1),.IR tcpproxy (1).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -