Date: Sat, 05 Aug 2006 12:01:21 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Frank Staals <frankstaals@gmx.net> Cc: questions@freebsd.org Subject: Re: Sendmail Question; unable to send mail as normal user Message-ID: <44D47A81.5060902@infracaninophile.co.uk> In-Reply-To: <44D3C56A.60806@gmx.net> References: <44D3C56A.60806@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D47A81.5060902>