| Title: | Messaging Solutions MAKREL::MSG_SOLUTIONS |
| Notice: | See 10.last for Enterprise Messaging Group Kit Information |
| Moderator: | GOBUCS::COOLEY |
| Created: | Thu Aug 06 1992 |
| Last Modified: | Sat Apr 26 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 688 |
| Total number of notes: | 2975 |
Hi
I am trying to run xdsu from an UNIX account other than root. I have
done the setup as mentioned in the note 504.4. However, I am having
trouble during import run and fails at sending mail. Following is the
error message as seen using the verbose mode:
/usr/lib/sendmail -s"Lotus Notes Import run started at:..."
"xdsu" < XDSU_MAIL_Apr232112521997.TMP
(Resetting uid)
can't open database '@' [/var/adm/sendmail/aliases]: Permission denied
However, on pressing ctrl-C, it terminates the mail with error message:
%XDSU-W-SENDMAIL, error sending mail to xdsu
The actual import goes thru correctly. The permission of the 'aliases' file
is -rw-r--r-- 1 root bin.
My xdsu username and group is xdsu and is also part of the system
group. What am I missing in the setup?
Thanks
Indranil Sircar
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 688.1 | Problem with NOTIFY=YES if not root | GOBUCS::COOLEY | Megan and Michelle's Daddy | Wed Apr 23 1997 10:00 | 20 |
Hi,
Sorry, this is broken in XDSU.
For now, you have to remove the NOTIFY=YES in the config file and send
mail outside of XDSU - OR - run XDSU under the root account.
The -s switch (which was meant to convey the subject of the message)
means something else in sendmail. If anyone can figure out a way to
set up the protection for the /usr/lib/sendmail -s"XXXX" xdsu < file
to work, then let us know. Maybe unprotecting the /var/spool/mqueue
directory?
Most users are now using the do_* procedures in /var/dxd/xdsu which
call a do_send_mail procedure to send mail messages when failures occur.
(Which is why I didn't notice the NOTIFY option is not formatting the
mail command correctly).
Regards,
Warren
| |||||
| 688.2 | use mailx | PARZVL::ogodhcp-125-128-24.ogo.dec.com::kennedy | nuncam non paratus | Fri Apr 25 1997 16:30 | 7 |
Warren, sendmail expects the message to be preformatted (so you wouldn't use -s, but would create Subject: line in the text). why not use /usr/binmailx (or /usr/bin/Mail - same program) instead of sendmail? | |||||
| 688.3 | Not sure why sendmail was being used??? | MAKREL::COOLEY | Megan and Michelle's Daddy | Sat Apr 26 1997 16:58 | 4 |
I'll use mailx
Thanks,
Warren
| |||||