• Sendmail compilation in AIX

    From Reshma V Kumar@21:1/5 to All on Sun Nov 28 23:37:30 2021
    Hello!
    I am building sendmail 8.17.1 in AIX6.1. I would like to change the default directories /var/spool/mqueue and /var/spool/clientmqueue to something else. Could you please help me with this?
    Thanks&Regards
    Reshma V Kumar

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Claus =?iso-8859-1?Q?A=DFmann?= @21:1/5 to Reshma V Kumar on Mon Nov 29 04:04:33 2021
    Reshma V Kumar wrote:

    I am building sendmail 8.17.1 in AIX6.1. I would like to change the default directories /var/spool/mqueue and /var/spool/clientmqueue to something
    else. Could you please help me with this?

    Why do you want to do that?

    1. You got the source code, so simply use grep to find those strings.
    2. You can change those values in the cf files, see the fine
    documentation (doc/op/op.* and cf/README).

    --
    Note: please read the netiquette before posting. I will almost never
    reply to top-postings which include a full copy of the previous
    article(s) at the end because it's annoying, shows that the poster
    is too lazy to trim his article, and it's wasting the time of all readers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Reshma V Kumar on Mon Nov 29 09:01:16 2021
    On 11/29/21 12:37 AM, Reshma V Kumar wrote:
    Hello!

    Hi,

    I am building sendmail 8.17.1 in AIX6.1. I would like to change the
    default directories /var/spool/mqueue and /var/spool/clientmqueue to something else. Could you please help me with this?

    Would you mind sharing the directories that you want to use instead of
    the defaults?

    I'm curious and would like to learn some about your situation and
    motivation to make the change.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Reshma V Kumar@21:1/5 to Grant Taylor on Tue Nov 30 22:32:04 2021
    On Monday, 29 November 2021 at 21:31:12 UTC+5:30, Grant Taylor wrote:
    On 11/29/21 12:37 AM, Reshma V Kumar wrote:
    Hello!

    Hi,
    I am building sendmail 8.17.1 in AIX6.1. I would like to change the
    default directories /var/spool/mqueue and /var/spool/clientmqueue to something else. Could you please help me with this?
    Would you mind sharing the directories that you want to use instead of
    the defaults?

    I'm curious and would like to learn some about your situation and
    motivation to make the change.



    --
    Grant. . . .
    unix || die

    I ran into the following error during testing
    # /opt/freeware/sbin/sendmail -vt < mail.txt
    can not chdir(/var/spool/clientmqueue/): Permission denied
    Program mode requires special privileges, e.g., root or TrustedUser.

    We want to change the default directory to /opt/freeware/var/spool/clientmqueue ( which has the correct permissions). We do not want to modify the permissions of /var/spool/clientmqueue.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Reshma V Kumar on Wed Dec 1 10:11:35 2021
    On 11/30/21 11:32 PM, Reshma V Kumar wrote:
    I ran into the following error during testing
    # /opt/freeware/sbin/sendmail -vt < mail.txt
    can not chdir(/var/spool/clientmqueue/): Permission denied
    Program mode requires special privileges, e.g., root or TrustedUser.

    Okay.

    We want to change the default directory to /opt/freeware/var/spool/clientmqueue ( which has the correct
    permissions).

    Okay.

    We do not want to modify the permissions of /var/spool/clientmqueue.

    It sounds like there is more in play, like institutional restrictions,
    that are causing you to want to avoid the IBM / AIX provided defaults.

    I've always considered AIX to be a strange Unix. But usually one that I
    could get to behave enough like Unix that it wasn't a problem. I don't
    recall needing to work around AIX. Though perhaps I have wanted to or
    thought it would be easier than making AIX behave more like the Unix
    that I expect.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to All on Wed Dec 1 10:09:14 2021
    On 11/29/21 2:04 AM, Claus Aßmann wrote:
    1. You got the source code, so simply use grep to find those strings.

    On AIX, there is a good chance that IBM didn't provide the source code.
    After all, it would be of questionable value without a compiler in the
    base OS.

    There's also a decent chance that the configuration macros aren't
    included in the base OS. (They weren't the last time I looked at AIX.)

    Sure, the source code is available to go get and look at. But doing
    things outside of vendor provided software is another bridge, one which
    is prevented in some environments.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Claus =?iso-8859-1?Q?A=DFmann?= @21:1/5 to Grant Taylor on Wed Dec 1 13:31:45 2021
    Grant Taylor wrote:
    On 11/29/21 2:04 AM, Claus Aßmann wrote:
    1. You got the source code, so simply use grep to find those strings.

    On AIX, there is a good chance that IBM didn't provide the source code.

    The OP wants to compile 8.17.1.

    --
    Note: please read the netiquette before posting. I will almost never
    reply to top-postings which include a full copy of the previous
    article(s) at the end because it's annoying, shows that the poster
    is too lazy to trim his article, and it's wasting the time of all readers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Claus =?iso-8859-1?Q?A=DFmann?= @21:1/5 to Reshma V Kumar on Wed Dec 1 13:16:10 2021
    Reshma V Kumar wrote:

    I ran into the following error during testing
    # /opt/freeware/sbin/sendmail -vt < mail.txt

    What are the permissions of the binary?

    can not chdir(/var/spool/clientmqueue/): Permission denied

    We want to change the default directory to /opt/freeware/var/spool/clientmqueue ( which has the correct permissions).

    What are "the correct permissions"?
    Did you read the SECURITY file?

    --
    Note: please read the netiquette before posting. I will almost never
    reply to top-postings which include a full copy of the previous
    article(s) at the end because it's annoying, shows that the poster
    is too lazy to trim his article, and it's wasting the time of all readers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From edgar pettijohn@21:1/5 to reshmav...@gmail.com on Thu Dec 23 18:42:48 2021
    On Monday, November 29, 2021 at 1:37:32 AM UTC-6, reshmav...@gmail.com wrote:
    Hello!
    I am building sendmail 8.17.1 in AIX6.1. I would like to change the default directories /var/spool/mqueue and /var/spool/clientmqueue to something else. Could you please help me with this?
    Thanks&Regards
    Reshma V Kumar

    I think you can do something like:

    sendmail -O QueueDirectory=/path/to/qdir

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)