AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only

Sending local mail in AIX ?

  • 1.  Sending local mail in AIX ?

    Posted Wed August 24, 2011 05:40 AM

    Originally posted by: Vilius


    Hello,

    The task is to send mail to some local user from application running on localhost.
    Looks like default mail server on AIX is sendmail, and it's not started on my servers:
    
    # lssrc -a|grep mail sendmail         mail                          inoperative
    

    But I am able to send local mail without sendmail running:
    
    # mail No mail 
    
    for root # # mail root@localhost < file1 # # ps -ef|grep mail root  808074       1   0 11:48:33  pts/0  0:00 send-mail -i -x root@localhost # # ps -ef|grep mail # # mail Mail [5.2 UCB] [AIX 5.X]  Type ? 
    
    for help. 
    "/var/spool/mail/root": 1 message 1 
    
    new >N  1 root              Wed Aug 24 11:49  11/297 ? exit #
    

    So now back to my task - I must configure local application(SAP to be exact) to send local mail - what should I do - configure sendmail for local operation or use method described above ?
    Anyway how is that possible to send mail without sendmail running ?

    thanks
    Vilius
    #AIX-Forum