AIX

AIX

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


#Power
 View Only
Expand all | Collapse all

mail/mailx difference

  • 1.  mail/mailx difference

    Posted Fri November 20, 2009 10:26 AM

    Originally posted by: usrb


    Hi2all,

    I am using mail command to send mails from AIX, and it worked until I upgraded AIX to TL 4. From now on, mail doesn't work (syslog message when trying to send: "user:alert syslog: send-mail : auditproc: Not owner"), but mailx does work.
    I am talking about non-root users. Root is able to send with mail or mailx client.
    Is this a privilege problem?
    #AIX-Forum


  • 2.  Re: mail/mailx difference

    Posted Fri November 20, 2009 10:54 AM

    Originally posted by: alethad


    You might try, if you haven't already, check to see that they are part of the mail group for that user id. Or put them in that group if they aren't.

    That's the only thing off the top of my head. I don't know of any issues. Maybe someone else can comment on that.
    #AIX-Forum


  • 3.  Re: mail/mailx difference

    Posted Fri November 20, 2009 11:17 AM

    Originally posted by: usrb


    Thanks for sugestion, alethad.
    Actually I did compared mail and mailx binary, and they are the same in bit, even manual pages are the same :-)
    What's even funnier, here is the output of which_fileset command:

    /usr/bin/mail bos.net.tcp.client 6.1.0.0
    /usr/bin/Mail -> /usr/bin/mail bos.net.tcp.client 6.1.0.0
    /usr/bin/mailx -> /usr/bin/mail bos.net.tcp.client 6.1.0.0

    mailx is pointing to mail :-)
    #AIX-Forum


  • 4.  Re: mail/mailx difference

    Posted Fri November 20, 2009 11:59 AM

    Originally posted by: alethad


    Sure.
    I looked around a little but only found this. It probably isn't your issue but thought I would pass it along since it was non-root user related. It's dated 08/09

    ============================================================
    IZ59316: /USR/SAMPLES/TCPIP/SENDMAIL/SECURITY CONFIGURATION DOES NOT WORK

    APAR status

    *
    OPEN

    Error description

    *

    If sendmail is configured according to
    /usr/samples/tcpip/sendmail/SECURITY file, non-root users
    cannot send email.

    $ mail -v <username> < /etc/motd
    $

    simply returns to the command prompt.

    Additionally on AIX 6.1, the following error message will
    be displayed.

    drop_privileges: setuid(25) failed
    drop_privileges: setuid(0) succeeded (when it should not)

    Local fix

    *

    Only for AIX 6.1,

    1. Remove PV_SU_UID and PV_DAC_UID from innateprivs for
    /usr/sbin/sendmail in /etc/security/privcmds file.
    2. Run setkst command for the changes to take effect.
    ===============================================================

    Good luck.
    #AIX-Forum


  • 5.  Re: mail/mailx difference

    Posted Fri November 20, 2009 11:59 AM

    Originally posted by: alethad


    Sure.
    I looked around a little but only found this. It probably isn't your issue but thought I would pass it along since it was non-root user related. It's dated 08/09

    ============================================================
    IZ59316: /USR/SAMPLES/TCPIP/SENDMAIL/SECURITY CONFIGURATION DOES NOT WORK

    APAR status

    *
    OPEN

    Error description

    *

    If sendmail is configured according to
    /usr/samples/tcpip/sendmail/SECURITY file, non-root users
    cannot send email.

    $ mail -v <username> < /etc/motd
    $

    simply returns to the command prompt.

    Additionally on AIX 6.1, the following error message will
    be displayed.

    drop_privileges: setuid(25) failed
    drop_privileges: setuid(0) succeeded (when it should not)

    Local fix

    *

    Only for AIX 6.1,

    1. Remove PV_SU_UID and PV_DAC_UID from innateprivs for
    /usr/sbin/sendmail in /etc/security/privcmds file.
    2. Run setkst command for the changes to take effect.
    ===============================================================

    Good luck.
    #AIX-Forum


  • 6.  Re: mail/mailx difference

    Posted Fri November 20, 2009 11:59 AM

    Originally posted by: alethad


    Sure.
    I looked around a little but only found this. It probably isn't your issue but thought I would pass it along since it was non-root user related. It's dated 08/09

    ============================================================
    IZ59316: /USR/SAMPLES/TCPIP/SENDMAIL/SECURITY CONFIGURATION DOES NOT WORK

    APAR status

    *
    OPEN

    Error description

    *

    If sendmail is configured according to
    /usr/samples/tcpip/sendmail/SECURITY file, non-root users
    cannot send email.

    $ mail -v <username> < /etc/motd
    $

    simply returns to the command prompt.

    Additionally on AIX 6.1, the following error message will
    be displayed.

    drop_privileges: setuid(25) failed
    drop_privileges: setuid(0) succeeded (when it should not)

    Local fix

    *

    Only for AIX 6.1,

    1. Remove PV_SU_UID and PV_DAC_UID from innateprivs for
    /usr/sbin/sendmail in /etc/security/privcmds file.
    2. Run setkst command for the changes to take effect.
    ===============================================================

    Good luck.
    #AIX-Forum


  • 7.  Re: mail/mailx difference

    Posted Fri November 20, 2009 11:59 AM

    Originally posted by: alethad


    Sure.
    I looked around a little but only found this. It probably isn't your issue but thought I would pass it along since it was non-root user related. It's dated 08/09

    ============================================================
    IZ59316: /USR/SAMPLES/TCPIP/SENDMAIL/SECURITY CONFIGURATION DOES NOT WORK

    APAR status

    *
    OPEN

    Error description

    *

    If sendmail is configured according to
    /usr/samples/tcpip/sendmail/SECURITY file, non-root users
    cannot send email.

    $ mail -v <username> < /etc/motd
    $

    simply returns to the command prompt.

    Additionally on AIX 6.1, the following error message will
    be displayed.

    drop_privileges: setuid(25) failed
    drop_privileges: setuid(0) succeeded (when it should not)

    Local fix

    *

    Only for AIX 6.1,

    1. Remove PV_SU_UID and PV_DAC_UID from innateprivs for
    /usr/sbin/sendmail in /etc/security/privcmds file.
    2. Run setkst command for the changes to take effect.
    ===============================================================

    Good luck.
    #AIX-Forum


  • 8.  Re: mail/mailx difference

    Posted Fri November 20, 2009 12:00 PM

    Originally posted by: alethad


    Sure.
    I looked around a little but only found this. It probably isn't your issue but thought I would pass it along since it was non-root user related. It's dated 08/09

    ============================================================
    IZ59316: /USR/SAMPLES/TCPIP/SENDMAIL/SECURITY CONFIGURATION DOES NOT WORK

    APAR status

    *
    OPEN

    Error description

    *

    If sendmail is configured according to
    /usr/samples/tcpip/sendmail/SECURITY file, non-root users
    cannot send email.

    $ mail -v <username> < /etc/motd
    $

    simply returns to the command prompt.

    Additionally on AIX 6.1, the following error message will
    be displayed.

    drop_privileges: setuid(25) failed
    drop_privileges: setuid(0) succeeded (when it should not)

    Local fix

    *

    Only for AIX 6.1,

    1. Remove PV_SU_UID and PV_DAC_UID from innateprivs for
    /usr/sbin/sendmail in /etc/security/privcmds file.
    2. Run setkst command for the changes to take effect.
    ===============================================================

    Good luck.
    #AIX-Forum


  • 9.  Re: mail/mailx difference

    Posted Fri November 20, 2009 12:00 PM

    Originally posted by: alethad


    Sure.
    I looked around a little but only found this. It probably isn't your issue but thought I would pass it along since it was non-root user related. It's dated 08/09

    ============================================================
    IZ59316: /USR/SAMPLES/TCPIP/SENDMAIL/SECURITY CONFIGURATION DOES NOT WORK

    APAR status

    *
    OPEN

    Error description

    *

    If sendmail is configured according to
    /usr/samples/tcpip/sendmail/SECURITY file, non-root users
    cannot send email.

    $ mail -v <username> < /etc/motd
    $

    simply returns to the command prompt.

    Additionally on AIX 6.1, the following error message will
    be displayed.

    drop_privileges: setuid(25) failed
    drop_privileges: setuid(0) succeeded (when it should not)

    Local fix

    *

    Only for AIX 6.1,

    1. Remove PV_SU_UID and PV_DAC_UID from innateprivs for
    /usr/sbin/sendmail in /etc/security/privcmds file.
    2. Run setkst command for the changes to take effect.
    ===============================================================

    Good luck.
    #AIX-Forum


  • 10.  Re: mail/mailx difference

    Posted Fri November 20, 2009 12:00 PM

    Originally posted by: alethad


    Sure.
    I looked around a little but only found this. It probably isn't your issue but thought I would pass it along since it was non-root user related. It's dated 08/09

    ============================================================
    IZ59316: /USR/SAMPLES/TCPIP/SENDMAIL/SECURITY CONFIGURATION DOES NOT WORK

    APAR status

    *
    OPEN

    Error description

    *

    If sendmail is configured according to
    /usr/samples/tcpip/sendmail/SECURITY file, non-root users
    cannot send email.

    $ mail -v <username> < /etc/motd
    $

    simply returns to the command prompt.

    Additionally on AIX 6.1, the following error message will
    be displayed.

    drop_privileges: setuid(25) failed
    drop_privileges: setuid(0) succeeded (when it should not)

    Local fix

    *

    Only for AIX 6.1,

    1. Remove PV_SU_UID and PV_DAC_UID from innateprivs for
    /usr/sbin/sendmail in /etc/security/privcmds file.
    2. Run setkst command for the changes to take effect.
    ===============================================================

    Good luck.
    #AIX-Forum


  • 11.  Re: mail/mailx difference

    Posted Fri November 20, 2009 12:00 PM

    Originally posted by: alethad


    Sure.
    I looked around a little but only found this. It probably isn't your issue but thought I would pass it along since it was non-root user related. It's dated 08/09

    ============================================================
    IZ59316: /USR/SAMPLES/TCPIP/SENDMAIL/SECURITY CONFIGURATION DOES NOT WORK

    APAR status

    *
    OPEN

    Error description

    *

    If sendmail is configured according to
    /usr/samples/tcpip/sendmail/SECURITY file, non-root users
    cannot send email.

    $ mail -v <username> < /etc/motd
    $

    simply returns to the command prompt.

    Additionally on AIX 6.1, the following error message will
    be displayed.

    drop_privileges: setuid(25) failed
    drop_privileges: setuid(0) succeeded (when it should not)

    Local fix

    *

    Only for AIX 6.1,

    1. Remove PV_SU_UID and PV_DAC_UID from innateprivs for
    /usr/sbin/sendmail in /etc/security/privcmds file.
    2. Run setkst command for the changes to take effect.
    ===============================================================

    Good luck.
    #AIX-Forum


  • 12.  Re: mail/mailx difference

    Posted Fri November 20, 2009 12:04 PM

    Originally posted by: alethad


    Sure.
    I looked around a little but only found this. It probably isn't your issue but thought I would pass it along since it was non-root user related. It's dated 08/09

    ============================================================
    IZ59316: /USR/SAMPLES/TCPIP/SENDMAIL/SECURITY CONFIGURATION DOES NOT WORK

    APAR status

    *
    OPEN

    Error description

    *

    If sendmail is configured according to
    /usr/samples/tcpip/sendmail/SECURITY file, non-root users
    cannot send email.

    $ mail -v <username> < /etc/motd
    $

    simply returns to the command prompt.

    Additionally on AIX 6.1, the following error message will
    be displayed.

    drop_privileges: setuid(25) failed
    drop_privileges: setuid(0) succeeded (when it should not)

    Local fix

    *

    Only for AIX 6.1,

    1. Remove PV_SU_UID and PV_DAC_UID from innateprivs for
    /usr/sbin/sendmail in /etc/security/privcmds file.
    2. Run setkst command for the changes to take effect.
    ===============================================================

    Good luck.
    #AIX-Forum


  • 13.  Re: mail/mailx difference

    Posted Fri November 20, 2009 12:04 PM

    Originally posted by: alethad


    Sure.
    I looked around a little but only found this. It probably isn't your issue but thought I would pass it along since it was non-root user related. It's dated 08/09

    ============================================================
    IZ59316: /USR/SAMPLES/TCPIP/SENDMAIL/SECURITY CONFIGURATION DOES NOT WORK

    APAR status

    *
    OPEN

    Error description

    *

    If sendmail is configured according to
    /usr/samples/tcpip/sendmail/SECURITY file, non-root users
    cannot send email.

    $ mail -v <username> < /etc/motd
    $

    simply returns to the command prompt.

    Additionally on AIX 6.1, the following error message will
    be displayed.

    drop_privileges: setuid(25) failed
    drop_privileges: setuid(0) succeeded (when it should not)

    Local fix

    *

    Only for AIX 6.1,

    1. Remove PV_SU_UID and PV_DAC_UID from innateprivs for
    /usr/sbin/sendmail in /etc/security/privcmds file.
    2. Run setkst command for the changes to take effect.
    ===============================================================

    Good luck.
    #AIX-Forum


  • 14.  Re: mail/mailx difference

    Posted Fri November 20, 2009 12:04 PM

    Originally posted by: alethad


    Sure.
    I looked around a little but only found this. It probably isn't your issue but thought I would pass it along since it was non-root user related. It's dated 08/09

    ============================================================
    IZ59316: /USR/SAMPLES/TCPIP/SENDMAIL/SECURITY CONFIGURATION DOES NOT WORK

    APAR status

    *
    OPEN

    Error description

    *

    If sendmail is configured according to
    /usr/samples/tcpip/sendmail/SECURITY file, non-root users
    cannot send email.

    $ mail -v <username> < /etc/motd
    $

    simply returns to the command prompt.

    Additionally on AIX 6.1, the following error message will
    be displayed.

    drop_privileges: setuid(25) failed
    drop_privileges: setuid(0) succeeded (when it should not)

    Local fix

    *

    Only for AIX 6.1,

    1. Remove PV_SU_UID and PV_DAC_UID from innateprivs for
    /usr/sbin/sendmail in /etc/security/privcmds file.
    2. Run setkst command for the changes to take effect.
    ===============================================================

    Good luck.
    #AIX-Forum