Re: sendmail problems

Gregory Neil Shapiro <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
skym> Hi.  I'm using sendmail as my mailer, and when I try and send mail I
skym> get this message:

skym> Jun 24 13:27:25 satellite sendmail[6233]: g5OKRPng006233: SYSERR(skym): collect: Cannot write ./dfg5OKRPng006233 (bfcommit, uid=1001, gid=25): Permission denied

skym> which is a little annoying.  This problem goes away if I set the
skym> permissions on /var/spool/mqueue to 777, but I am of course loathe to
skym> do this.  Does sendmail need to be suid?  Do I need to pass extra
skym> flags?  It looks like the process above which is trying to write has
skym> gid 25, which is smmsp.  The /var/spool/mqueue file allows writing by
skym> this group, so I don't understand.  Thanks in advance for any help.

Sounds like you didn't run mergemaster and install /etc/mail/submit.cf.

The permissions on /var/spool/mqueue should be:

  drwxr-xr-x  2 root   daemon  512 Jun 24 13:53 /var/spool/mqueue

or:

  drwx------  2 root   daemon  512 Jun 24 13:53 /var/spool/mqueue

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.