You receive a "mail.local: may only be run by the Administrator" delivery status report when you use the "mailx" command to send a message to a local user in Windows Services for UNIX 3.5 (891763)



The information in this article applies to:

  • Microsoft Windows Services for UNIX 3.5

SYMPTOMS

In Microsoft Windows Services for UNIX 3.5, when you run the mailx command to send an e-mail message to a local user, that e-mail message is not delivered successfully. Additionally, you receive a delivery status report that contains the following information:

   ----- The following addresses had permanent fatal errors -----
<user_alias>
    (reason: 1)

   ----- Transcript of session follows -----
mail.local: may only be run by the Administrator
554 5.3.0 unknown mailer error 1

CAUSE

This problem occurs because the Windows Services for UNIX 3.5 M4 script does not correctly configure the Sendmail configuration file sendmail.cf.

RESOLUTION

To resolve this problem, follow these steps:
  1. Start a shell such as the Korn shell.
  2. In a text editor such as vi, open the /etc/mail/sendmail.cf file. For example, type vi /etc/mail/sendmail.cf at the shell prompt, and then press ENTER.
  3. Locate the SAddDomain area in this file.

    Note If you are using the vi text editor, type /SAddDomain in command mode, and then press ENTER to locate this area.
  4. Modify the Mlocal line so that it appears as follows:

    Mlocal,                P=/usr/sbin/mail.local, F=lsDFMAw5:/|@qfSmn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,

  5. Save your changes to the file, and then quit the text editor.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about Windows Services for UNIX 3.5, visit the following Microsoft Web sites:

Modification Type:MinorLast Reviewed:11/15/2005
Keywords:kbnofix kbBug kberrmsg kbtshoot KB891763 kbAudDeveloper