Frank Staals wrote: > $ mail [EMAIL PROTECTED] > 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). Invoking /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 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 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 -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW
signature.asc
Description: OpenPGP digital signature