From owner-freebsd-questions@FreeBSD.ORG Sat Aug 5 11:01:58 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C48C916A4DD for ; Sat, 5 Aug 2006 11:01:58 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 951C843D69 for ; Sat, 5 Aug 2006 11:01:52 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.6/8.13.6) with ESMTP id k75B1Q6Y010262; Sat, 5 Aug 2006 12:01:29 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=softfail; spf=softfail X-SenderID: Sendmail Sender-ID Filter v0.2.14 smtp.infracaninophile.co.uk k75B1Q6Y010262 Message-ID: <44D47A81.5060902@infracaninophile.co.uk> Date: Sat, 05 Aug 2006 12:01:21 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.5 (X11/20060801) MIME-Version: 1.0 To: Frank Staals References: <44D3C56A.60806@gmx.net> In-Reply-To: <44D3C56A.60806@gmx.net> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigAD1838C010BC27B6B6FB5EC9" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 05 Aug 2006 12:01:49 +0100 (BST) X-Virus-Scanned: ClamAV 0.88.3/1635/Fri Aug 4 14:00:11 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on happy-idiot-talk.infracaninophile.co.uk Cc: questions@freebsd.org Subject: Re: Sendmail Question; unable to send mail as normal user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Aug 2006 11:01:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAD1838C010BC27B6B6FB5EC9 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Frank Staals wrote: > $ mail frankstaals@gmx.net > Subject: test > usertest > . > EOT > $ /etc/mail/submit.cf: line 0: cannot open: Permission denied Yes -- it's to do with the separation of powers between sendmail-MSP (Mail Submission Program) and sendmail-MTA (Mail Transport Agent). Invok= ing /usr/sbin/sendmail from the command line, or via one of the standard Unix= command line mail clients connects you with the MSP instance. That runs with your UID, but is setgid to 'smmsp'. /etc/mail/submit.cf is the configuration file for that sendmail instance. Double check the file system ownership and permissions on /etc/mail and /etc/mail/submit.cf -- they should be as follows: happy-idiot-talk:/etc/mail:% ls -ld /etc/mail /etc/mail/submit.cf=20 drwxr-xr-x 3 root wheel 1024 Aug 4 12:04 /etc/mail/ -r--r--r-- 1 root wheel 40406 Aug 4 12:04 /etc/mail/submit.cf Note: using /etc/mail/Makefile to rebuild any of sendmail's tables or=20 configuration files means that all files should be installed with the correct permissions. There's instructions in the comments at the beginning of the Makefile Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigAD1838C010BC27B6B6FB5EC9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE1HqG8Mjk52CukIwRCC5sAKCDHYkxmdwiGuGvDxfG4IrlgBNABACghXg4 hjodoJWBaATk1vnIvWfobfE= =pufT -----END PGP SIGNATURE----- --------------enigAD1838C010BC27B6B6FB5EC9--