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
SYMPTOMSIn 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 CAUSEThis problem occurs because the Windows Services for UNIX
3.5 M4 script does not correctly configure the Sendmail configuration file sendmail.cf.
RESOLUTIONTo 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.
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 11/15/2005 |
---|
Keywords: | kbnofix kbBug kberrmsg kbtshoot KB891763 kbAudDeveloper |
---|
|