From owner-freebsd-stable Thu Nov 29 15: 5: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from kirk.giovannelli.it (kirk.giovannelli.it [194.184.65.4]) by hub.freebsd.org (Postfix) with ESMTP id D151F37B417 for ; Thu, 29 Nov 2001 15:04:54 -0800 (PST) Received: from usul.masternet.it (modem04.masternet.it [194.184.65.199]) by kirk.giovannelli.it (8.11.6/8.11.6) with ESMTP id fATMtob10231 for ; Thu, 29 Nov 2001 23:55:51 +0100 (CET) (envelope-from gmarco@giovannelli.it) Message-Id: <5.1.0.14.2.20011129234605.027ff1d0@194.184.65.4> X-Sender: gmarco@194.184.65.4 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 30 Nov 2001 00:02:08 +0100 To: stable@freebsd.org From: Gianmarco Giovannelli Subject: recent sendmail commits. problems ? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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