[Mimedefang] Sendmail Help

John john at jjgb.com
Sun May 15 09:46:50 EDT 2005


NEVER run Sendmail as root.  You should _typically_ have a user adn group 
named mail.  Their UID:GID should go there. i.e.
O DefaultUser=8:12

You should be dealing with these questions in the Sendmail news 
groups.  You have a permission issue...

At 11:18 PM 5/14/2005, you wrote:
> >
> > Ray Spinhirne wrote:
> > > We are in the process of updated an HPUX server and MIMEDefang.
> > >
> > > I'm pretty sure this is a sendmail problem and not a MIMEDefang
> > > problem but perhaps someone could give me a pointer.  (It's late
> > > and I'm not thinking were well.)
> > >
> > > At any rate here is what's happenning.
>[stuff cut]
> > >
> >
> > what user is sendmail running as?
> >
> > Make sure that user has perms on the dir and group perms on the file 
> typically.
> >
> > i.e. my /var/spool/mail directory is owned by bin:mail and is 1777 (I 
> think
> > it's one... I have rwx+t for group)
> >
> > and everything in mail is $user:mail 660
> >
> > if sendmail is not running with group "mail" perms, it won't be able to 
> write
> > to any files.
> >
> >   -Ben
>
>I found the section in sendmail.cf that defines the user and group.
>It was commented out so I don't know was used before.
>
>Change it to :
>
># default UID (can be username or userid:groupid)
>O DefaultUser=root:mail
>
>(Is this value ok, or should it not be run as root.)
>
>Seems to have fixed the problem.
>(We have backed out of putting this into production today.)
>
>This still doesn't explain why it worked ok on the other
>system while commented out.
>
>
>Ray
>
>_______________________________________________
>Visit http://www.mimedefang.org and http://www.canit.ca
>MIMEDefang mailing list
>MIMEDefang at lists.roaringpenguin.com
>http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


John Jaeger - Billings, Montana

EMail To	: <mailto:john at jjgb.com>
Home Page	: <http://www.jjgb.com>

PGP:
RSA Key ID: 0xAAEC7751  <http://www.jjgb.com/public_files/RSA_Key.zip>

"Our liberty is protected by four boxes...
     The ballot box, the jury box, the soap box, and the cartridge box."
                                    - Anonymous




More information about the MIMEDefang mailing list