Linux mailcompat command
Updated: 03/13/2021 by Computer Hope
On SunOS version 4, the mailcompat command provides compatibility for the Solaris mailbox format. Run mailcompat to read mail on a workstation running SunOS 4.x, when your mail server is running Solaris.
Description
Enabling mailcompat creates an entry in your .forward file, if it exists. If this file does not exist, mailcompat creates it. Disabling mailcompat removes the entry from the .forward file, and if this was the only entry, removes the entire file.
To execute mailcompat, log onto the Solaris mail server and enter mailcompat on the command line. Answer the queries provided by the program.
Syntax
mailcompat
Examples
mailcompat
Enables or disables the mailcompat feature.
Related commands
mailx — Process mail messages.