Microsoft KB Archive/891763

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

Article ID: 891763

Article Last Modified on 11/5/2007

-

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 -  (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:  Start a shell such as the Korn shell. 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. 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. 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,

 Save your changes to the file, and then quit the text editor.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

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

http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx

http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx

Additional query words: SFU email

Keywords: kbnofix kbbug kberrmsg kbtshoot KB891763

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.