smfqueue(1M) smfqueue(1M)
NAME
smfqueue - queue mail for the MHS gateway
SYNOPSIS
smfqueue [-d debug_level] [-h hop_count] -r sender_address recip . . .
DESCRIPTION
smfqueue queues the mail message it reads from standard input
for eventual delivery over MHS by smfsched and smf-out. The
message is queued for delivery to the user(s) specified by
recip.
smfqueue is invoked by the mail command by placing the
following line in /etc/mail/mailsurr:
'[^@]+' '([^@,:]+)@%g' '< B=4096;
/usr/lib/mail/surrcmd/smfqueue -h 0 -r %R@1D ' '\1@%g%D'
Messages which are queued are stored as two files under the
SMF queue directory (/var/spool/smfq).
A ``C.*'' file contains control information for the smf-out
command, and a `D.*'' file contains the actual mail message.
Finally smfqueue invokes the smfsched program to deliver the
mail.
The options to smfqueue and their meanings are as follows:
-h hop_count The -h option specifies the number of hops
that the message has made before reaching
this point. This information is primarily
used to prevent mail loops by both UnixWare
mail and by NetWare mail.
-r sender_address
This option is used to pass the address of
the sender of the message as known to the
mail transport receiving the message. This
is not necessarily the same as the sender
address in the rfc822 message.
-d debug_level This option sets the debug level for both
smfqueue and for the smf-out process that is
involved to transfer the message into the MHS
system.
Copyright 1994 Novell, Inc. Page 1
smfqueue(1M) smfqueue(1M)
FILES
/usr/lib/mail/surrcmd/smfsched program which runs smfqueue
/var/spool/smfq where messages are queued
/var/spool/smfq/C.* control files for host
/var/spool/smfq/D.* message files for host
EXIT CODES
0 Mail has been queued for delivery
1 Mail is not for MHS
REFERENCES
mail(1), smfsched(1M), smf-out(1M)
RFC822 - Standard for the Format of ARPA Internet Text
Messages
Copyright 1994 Novell, Inc. Page 2