Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 00:02:08 +0100
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        stable@freebsd.org
Subject:   recent sendmail commits. problems ?
Message-ID:  <5.1.0.14.2.20011129234605.027ff1d0@194.184.65.4>

next in thread | raw e-mail | index | archive | help

I make a fresh make world, added the two new users:
smmsp:*:25:25::0:0:Sendmail Submission 
User:/var/spool/clientmqueue:/sbin/nologin
mailnull:*:26:26::0:0:Sendmail Default User:/var/spool/mqueue:/sbin/nologin

but when I boot I receive:
Nov 29 18:20:45 freebsd named[141]: limit files set to fdlimit (1024)
Nov 29 18:20:46 freebsd named[142]: Ready to answer queries.
Nov 29 18:20:50 freebsd sendmail[182]: fATHKl57000182: Losing 
./qffATHKl57000182: savemail panic
Nov 29 18:20:50 freebsd sendmail[182]: fATHKl57000182: SYSERR(root): 
savemail: cannot save rejected email anywhere
Nov 29 18:20:51 freebsd sendmail[187]: fATHKp8c000187: Losing 
./qffATHKp8c000187: savemail panic
Nov 29 18:20:51 freebsd sendmail[187]: fATHKp8c000187: SYSERR(root): 
savemail: cannot save rejected email anywhere

Do I have to worry about it ?

I have installed in this box sendmail 12.1 from the ports, for the milter 
interface.
The problem never come out before the sendmail commit.

I have delete the smmsp user:group probably added by the port and I have 
"chowned" with the new uid:gid /var/spool/clientmqueue .

I obviusly have changed my /etc/mail/mailer.conf to point to 
/usr/local/sbin/sendmail .

Apart of that error message it seems to me that the mail works fine.

P.s.
How can I add a user to the TrustedUsers ?
I have tried to modify the TrustedUser found in submit.cf without any result.

freebsd:/home/gmarco> mail -v gmarco
Subject: test

Test

EOT
WARNING: RunAsGid for MSP ignored, check group ids (egid=90, want=25)
can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.

The strange thing it seems to complain about a wrong ownership, but the 
/var/spool/clientmqueue seem right to me.

freebsd:/home/gmarco> ll /var/spool/
total 9
drwxrwx---  2 smmsp  smmsp   512 Nov 29 07:25 clientmqueue
drwxrwxr-x  2 uucp   dialer  512 Oct 14 12:25 lock
drwxr-xr-x  2 root   daemon  512 Oct 14 12:25 lpd
drwxr-xr-x  2 root   daemon  512 Nov 29 23:38 mqueue
drwx------  2 root   daemon  512 Oct 14 12:25 opielocks
drwxr-xr-x  3 root   daemon  512 Oct 14 12:25 output
drwxr-xr-x  4 root   wheel   512 Nov 28 14:46 rav
drwxrwxr-x  7 uucp   uucp    512 Oct 14 12:25 uucp
drwxrwxrwx  2 uucp   uucp    512 Oct 14 12:25 uucppublic


So to summary:
1)
Nov 29 18:20:50 freebsd sendmail[182]: fATHKl57000182: Losing 
./qffATHKl57000182: savemail panic
Nov 29 18:20:50 freebsd sendmail[182]: fATHKl57000182: SYSERR(root): 
savemail: cannot save rejected email anywhere
Nov 29 18:20:51 freebsd sendmail[187]: fATHKp8c000187: Losing 
./qffATHKp8c000187: savemail panic
Nov 29 18:20:51 freebsd sendmail[187]: fATHKp8c000187: SYSERR(root): 
savemail: cannot save rejected email anywhere

Why it is happenning ?

2)
submit.cf what is it ? :-)

3)
Permission of /var/spool/* . Is it correct ?


Thanks...


Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://www.gufi.org/~gmarco



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




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