[ale] Sendmail permissions issue

Emil Man emilpman at gmail.com
Tue Feb 14 15:26:38 EST 2006


Andrew,

Ack, must it be Sendmail? I played arround with sendmail for a few months
about a year ago, and I must tell you, that postfix or qmail, etc... are in
some cases more secure than sendmail, and a lot easier to manage. No wonder
books on sendmail are called the "Sendmail Jungle".... the .cf files are
almost impossible to configure. I remember the sendmail.cf file being
something like 700 lines long, whereas my current postfix config file is
much shorter.

Emil



2006/2/14, Andrew Sledge <asledge at gpc.edu>:
>
> Hello all:
>
> I am having trouble with a Perl script that uses Sendmail to send out
> notifications.  The trouble is not with the script itself, but with
> Sendmail:  I am getting permissions errors.  When trying to send an
> email message even from the command line (e.g.: echo "hello" |
> /usr/bin/sendmail -oi -t, etc) I get the following error:
>
> [10:42:14][sledge at server:~/scripts/perl]$ echo "hello" |
> /usr/bin/sendmail -oi -t
> WARNING: RunAsUser for MSP ignored, check group ids (egid=100, want=25)
> can not chdir(/var/spool/clientmqueue/): Permission denied
> Program mode requires special privileges, e.g., root or TrustedUser.
> Broken pipe
>
> This only happens when logged in as a non-root user.  This started
> happening all of a sudden - it worked for three months without a
> problem.  I have not changed any of the permissions anywhere with any of
> the sendmail directories.
>
> I have double checked /etc/passwd and /etc/group - smmsp is user id 25
> and belongs to smmsp group (group id 25 as well).  smmsp has 770
> permissions to /var/spool/clientmqueue, and sendmail is set to run as
> user smmsp (I even tried changing the submit.cf option RunAsUser=smmsp
> to RunAsUser=25, the user id, but it did nothing).
>
> Sendmail starts automatically with
> /usr/sbin/sendmail -L sm-mta -bd -q25h
> -and-
> /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m
>
> I want to be able to send mail as any user.  I have set pretty much
> everything according to http://www.sendmail.org/secure-install.html .
> Please let me know what I am doing wrong.
>
> Thanks in advance.
>
> --
> -----------------------------------------------------------------------
> Andrew Sledge
> -----------------------------------------------------------------------
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list