Professional Web Applications Themes

mlock: not setgid mail - FreeBSD

I asked this question before but I haven't found a solution. I'm getting in my mail log the following entry repeated: usr/local/libexec/mlock[755]: (64) not setgid mail And I can't figure out what it's complaining about. Below is the previous thread questions which ruled out some things. Any help resolving this issue is greatly appreciated. <[url]http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/[/url] 067212.html> Vonleigh Simmons <http://illusionart.com/>...

  1. #1

    Default mlock: not setgid mail

    I asked this question before but I haven't found a solution. I'm
    getting in my mail log the following entry repeated:

    usr/local/libexec/mlock[755]: (64) not setgid mail

    And I can't figure out what it's complaining about. Below is the
    previous thread questions which ruled out some things. Any help
    resolving this issue is greatly appreciated.

    <[url]http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/[/url]
    067212.html>


    Vonleigh Simmons
    <http://illusionart.com/>

    Vonleigh Simmons Guest

  2. #2

    Default Re: mlock: not setgid mail

    On Wed, Feb 16, 2005 at 04:04:55AM -0800, Vonleigh Simmons wrote:
    > I asked this question before but I haven't found a solution. I'm
    > getting in my mail log the following entry repeated:
    >
    > usr/local/libexec/mlock[755]: (64) not setgid mail
    >
    > And I can't figure out what it's complaining about. Below is the
    > previous thread questions which ruled out some things. Any help
    > resolving this issue is greatly appreciated.
    >
    > <[url]http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/[/url]
    > 067212.html>
    Dan Nelson posted this in reply to your question:

    [url]http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/067214.html[/url]

    Dan

    --
    Daniel Bye

    PGP Key: [url]ftp://ftp.slightlystrange.org/pgpkey/dan.asc[/url]
    PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
    _
    ASCII ribbon campaign ( )
    - against HTML, vCards and X
    - proprietary attachments in e-mail / \

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQFCE5ZkhvzwOpChvo8RAvOVAJwP2G6YPT07hTLRTbZqHw IQKJ886gCfQQQ+
    hdPOr508fZZP2TDDOsX6irA=
    =DsGu
    -----END PGP SIGNATURE-----

    Daniel Bye Guest

  3. #3

    Default Re: mlock: not setgid mail

    > On Wed, Feb 16, 2005 at 04:04:55AM -0800, Vonleigh Simmons wrote:
    >> I asked this question before but I haven't found a solution. I'm
    >> getting in my mail log the following entry repeated:
    >>
    >> usr/local/libexec/mlock[755]: (64) not setgid mail
    >>
    >> And I can't figure out what it's complaining about. Below is the
    >> previous thread questions which ruled out some things. Any help
    >> resolving this issue is greatly appreciated.
    >>
    >> <[url]http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/[/url]
    >> 067212.html>
    >
    > Dan Nelson posted this in reply to your question:
    >
    > [url]http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/[/url]
    > 067214.html
    And I responded (next in thread):

    <[url]http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/[/url]
    067244.html>

    Since then I've rebuilt imap-uw, so now my permissions for mlock are
    as follows today:

    -rwx--s--x 1 root mail 5808 Feb 15 07:11 /usr/local/libexec/mlock


    Vonleigh Simmons
    <http://illusionart.com/>

    Vonleigh Simmons Guest

  4. #4

    Default Re: mlock: not setgid mail

    > On Wed, Feb 16, 2005 at 04:04:55AM -0800, Vonleigh Simmons wrote:
    >> I asked this question before but I haven't found a solution. I'm
    >> getting in my mail log the following entry repeated:
    >>
    >> usr/local/libexec/mlock[755]: (64) not setgid mail
    >>
    >> And I can't figure out what it's complaining about. Below is the
    >> previous thread questions which ruled out some things. Any help
    >> resolving this issue is greatly appreciated.
    >>
    >> <[url]http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/[/url]
    >> 067212.html>
    While looking at that thread again I found this also from Dan Nelson:
    ---
    The code that does the check is this:

    struct group *grp = getgrnam ("mail");
    if (!grp || (grp->gr_gid != getegid ())) die ("not setgid
    mail",EX_USAGE);
    ---
    Looking up the man pages I see that getegid gets the group id of the
    calling process.

    What is the calling process to mlock? I tried setting ipop2d, ipop3d
    and imapd to group mail but that didn't change anything.


    Vonleigh Simmons
    <http://illusionart.com/>

    Vonleigh Simmons Guest

  5. #5

    Default Re: mlock: not setgid mail

    > On Wed, Feb 16, 2005 at 04:04:55AM -0800, Vonleigh Simmons wrote:
    >> I asked this question before but I haven't found a solution. I'm
    >> getting in my mail log the following entry repeated:
    >>
    >> usr/local/libexec/mlock[755]: (64) not setgid mail
    >>
    >> And I can't figure out what it's complaining about. Below is the
    >> previous thread questions which ruled out some things. Any help
    >> resolving this issue is greatly appreciated.
    >>
    >> <[url]http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/[/url]
    >> 067212.html>
    While looking at that thread again I found this also from Dan Nelson:
    ---
    The code that does the check is this:

    struct group *grp = getgrnam ("mail");
    if (!grp || (grp->gr_gid != getegid ())) die ("not setgid
    mail",EX_USAGE);
    ---
    Looking up the man pages I see that getegid gets the group id of the
    calling process.

    What is the calling process to mlock? I tried setting ipop2d, ipop3d
    and imapd to group mail but that didn't change anything.


    Vonleigh Simmons
    <http://illusionart.com/>

    Vonleigh Simmons Guest

  6. #6

    Default Re: mlock: not setgid mail

    > On Wed, Feb 16, 2005 at 04:04:55AM -0800, Vonleigh Simmons wrote:
    >> I asked this question before but I haven't found a solution. I'm
    >> getting in my mail log the following entry repeated:
    >>
    >> usr/local/libexec/mlock[755]: (64) not setgid mail
    >>
    >> And I can't figure out what it's complaining about. Below is the
    >> previous thread questions which ruled out some things. Any help
    >> resolving this issue is greatly appreciated.
    >>
    >> <[url]http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/[/url]
    >> 067212.html>
    While looking at that thread again I found this also from Dan Nelson:
    ---
    The code that does the check is this:

    struct group *grp = getgrnam ("mail");
    if (!grp || (grp->gr_gid != getegid ())) die ("not setgid
    mail",EX_USAGE);
    ---
    Looking up the man pages I see that getegid gets the group id of the
    calling process.

    What is the calling process to mlock? I tried setting ipop2d, ipop3d
    and imapd to group mail but that didn't change anything.


    Vonleigh Simmons
    <http://illusionart.com/>

    Vonleigh Simmons Guest

Similar Threads

  1. #25594 [Opn->Bgs]: chmod does not handle sticky bits/setuid/setgid
    By shofmann at databay dot de in forum PHP Development
    Replies: 0
    Last Post: September 18th, 04:08 PM
  2. #25594 [Opn]: chmod does not handle sticky bits/setuid/setgid
    By shofmann at databay dot de in forum PHP Development
    Replies: 0
    Last Post: September 18th, 03:29 PM
  3. #25594 [NEW]: chmod does not handle sticky bits/setuid/setgid
    By shofmann at databay dot de in forum PHP Development
    Replies: 0
    Last Post: September 18th, 03:27 PM
  4. insecure dependency open while running setgid
    By David K. Wall in forum PERL Miscellaneous
    Replies: 1
    Last Post: August 25th, 06:00 PM
  5. #25195 [NEW]: Warning: mail(): Could not execute mail delivery program ...
    By mhawkins at ukeu dot com in forum PHP Development
    Replies: 0
    Last Post: August 21st, 04:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139