Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 11:02:36 -0600
From:      Tony Wells <awells@journalstar.com>
To:        Dan Lazin <dan.lazin@su.ualberta.ca>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail is sad: setreuid error with mail.local
Message-ID:  <3A9A8C2C.AD914458@journalstar.com>
References:  <B6BDE218.15B3%dan.lazin@su.ualberta.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm having a similar problem, and what it looks like is that
mail.local on the newer
release isn't setuid 0 like my 3.5-RELEASE machine.  

Maybe this is for a reason, and if anyone can enlighten me I would
appreciate it.

Dan Lazin wrote:
> 
> I've just moved my server from one box to another, and I upgraded from
> 3.2-RELEASE to 4.2-RELEASE in the meantime, along with relevant packages.
> But sendmail is breaking on me.
> 
> First I screwed up my virtusertable.db file, and I was getting this error:
> "SYSERR(root): Cannot open hash database /etc/mail/virtusertable.db:
> Inappropriate file type or format'". So I rehashed that file and fixed that
> problem. In the meantime, my queue had been filling up with messages that
> sendmail wasn't delivering because it couldn't read virtusertable. Then I
> started getting "sendmail[1391]: f1MFFjk01391: SYSERR(root): savemail: can
> not save rejected email anywhere," followed by "sendmail[1413]:
> f1MFjjk01413: Losing ./qff1MFjjk01413: savemail panic."
> 
> But I wasn't out of diskspace, so I can't figure out why it was dropping
> messages. Any thoughts?
> 
> Anyway, I moved the queue files to a different directory, and it stopped
> breaking in that way. The only error left, and the one I need to fix, is
> this: "mail.local: setreuid(0, 1001): Operation not permitted (r=1, e=1)."
> That's what sendmail returns to anyone who tries to send me mail. It was
> showing up in the messages file for awhile, but not anymore.
> 
> Please do help.
> 
> Dan Lazin
> Edmonton, Alberta, Canada
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A9A8C2C.AD914458>