Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 14:23:42 -0700
From:      Dan Lazin <dan.lazin@su.ualberta.ca>
To:        Tony Wells <awells@journalstar.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: sendmail is sad: setreuid error with mail.local
Message-ID:  <B6C0176D.15F2%dan.lazin@su.ualberta.ca>
In-Reply-To: <3A9A8C2C.AD914458@journalstar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I replaced my remade sendmail.cf file with the default file, and sendmail is
working again--unfortunately, though, this prohibits me from setting
undefined users' mail from forwarding to root, as I had it set before.

Sendmail itself was still running before (I could send, and mail was getting
to people who were specified in aliases); it seems to just have been a
problem with mail.local not having the ability to swap uids to write to
mailboxes. Anyone know why?

Dan

> From: Tony Wells <awells@journalstar.com>
> Date: Mon, 26 Feb 2001 11:02:36 -0600
> To: Dan Lazin <dan.lazin@su.ualberta.ca>
> Cc: freebsd-questions@FreeBSD.ORG
> Subject: Re: sendmail is sad: setreuid error with mail.local
> 
> 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?B6C0176D.15F2%dan.lazin>