Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ckbinarsys(1M) — SunOS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mail(1)

uux(1C)

binarsys(4)

ckbinarsys(1M)

NAME

ckbinarsys − determine whether remote system can accept binary messages

SYNOPSIS

ckbinarsys [−S] −s remote_system_name −t content_type

DESCRIPTION

Because rmail can transport binary data, it may be important to determine whether a particular remote system (typically the next hop) can handle binary data via the chosen transport layer agent (uux, SMTP, etc.) 

ckbinarsys consults the file /etc/mail/binarsys for information on a specific remote system.  ckbinarsys returns its results via an appropriate exit code.  An exit code of zero implies that it is OK to send a message with the indicated content type to the system specified.  An exit code other than zero indicates that the remote system cannot properly handle messages with binary content. 

If the binarsys file does not exist, ckbinarsys to exits with a non-zero exit code. 

OPTIONS

−S Normally, ckbinarsys will print a message (if the binary mail is rejected) which would be suitable for rmail to return in the negative acknowledgement mail.  When −S is specified, no message will be printed. 

−s remote_system_name Name of remote system to look up in /etc/mail/binarsys

−t content_type Content type of message to be sent.  When invoked by rmail, this will be one of two strings: text or binary, as determined by mail independent of any Content-Type: header lines that may be present within the message header.  All other arguments are treated as equivalent to binary. 

FILES

/etc/mail/binarsys

/usr/lib/mail/surrcmd/ckbinarsys

SEE ALSO

mail(1), uux(1C), binarsys(4)

SunOS 5.1  —  Last change: 5 Jul 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026