smtpfwdd(8)
NAME
smtpfwdd - SMTP message forwarding daemon.
SYNOPSIS
smtpfwdd [ -d spooldir ] [ -u user ] [ -g group ] [ -s mailprog ] [ -M maxchildren ] [ -P poll time ]
DESCRIPTION
- The smtpfwdd daemon forwards mail messages from a spool
- directory to their eventual destinations. It regularly scans the
- spool directory in which its symboitic companion program smtpd
- stores messages and invokes a mail program (such as sendmail) to
- forward them. It is the forward portion of an SMTP store and
- foward proxy. smtpfwdd is a standalone daemon, usually invoked at
- system startup.
OPTIONS
- -d spooldir
- Specify a different spool directory. This should be
- the same directoy in which smtpd is spooling files. (usually
- /usr/spool/smtpd)
- -u user
- Specify a user to run as. This user must not be
- root but should normally be a user that is able to run sendmail
- and use the -f option to specify the sender of a mail message.
- -g group
- Specify a group to run as. Same as <tt>user</tt>
- above.
- -s mailprog
- Specify a different mail program to use to forward
- mail. The default is sendmail. Any replacement must be able to be
- invoked in the same manner as sendmail with a <tt>-f fromad
- dress</tt>, followed by one or more destination addresses on the
- command line.
- -M maxchildren
- specifies how many children smtpfwdd should be al
- lowed to spawn at once when delivering mail. Default is specified
- at compile time, usually 10.
- -P polltime
- specifies in seconds how often the master smtpfwdd
- process should wake up and check the spool directory for new mail
- to forward. The default is specified at compile time, usually 10
- seconds.
BUGS
- Since sendmail is not normally running as a daemon when
- using smtpd and smtpfwdd, one must use cron to periodically in
- voke sendmail -q so that queued messages are retried for eventual
- delivery.
- There are many different variations of sendmail. smtpfwdd
- will check and pay attention to the exit status of the sendmail
- processes it invokes, possibly retrying an invocation of send
- mail. If you aren't using real unadulterated Berkeley sendmail of
- a recent vintage, you may need to disable the exit status check
- ing at compile time (See option
- SENDMAIL_RETRY in the makefile).
- sendmail can't handle a . on one line in a message body.
- This problem is bypassed in smtpfwdd by giving sendmail the op
- tion -oitrue. Again, if you aren't using genuine sendmail, you
- may need to disable this at compile time (see option SEND
- MAIL_OITRUE in the makefile).
- <BR><BR>
NOTES
- smtpd and smtpfwdd are also available separately from Ju
- niper under quite friendly copyright terms. It can be obtained
- using anonymous ftp in the directory ftp://ftp.ob
- tuse.com/pub/smtpd
SEE ALSO
AUTHOR
Obtuse Systems Corporation
LICENCE
- All rights reserved Use of the Juniper software is covered
- by the terms and conditions of the Juniper License Agreement. If
- you do not agree to and accept the terms of this agreement then
- you may not use the software.
July 19, 1999