[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference makrel::msg_solutions

Title:Messaging SolutionsMAKREL::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

688.0. "xdsu from user other than root - problem" by ZPOVC::SIRCAR () Wed Apr 23 1997 10:14

    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.RTitleUserPersonal
Name
DateLines
688.1Problem with NOTIFY=YES if not rootGOBUCS::COOLEYMegan and Michelle&#039;s DaddyWed Apr 23 1997 11:0020
    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.2use mailxPARZVL::ogodhcp-125-128-24.ogo.dec.com::kennedynuncam non paratusFri Apr 25 1997 17:307
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.3Not sure why sendmail was being used???MAKREL::COOLEYMegan and Michelle&#039;s DaddySat Apr 26 1997 17:584
    I'll use mailx
    
    Thanks,
    Warren