Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 15:44:23 -0400
From:      "John Straiton" <jks@clickcom.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Sendmail causing grief after 4.6-S update
Message-ID:  <007b01c24f94$7d4fc890$fe16c60a@win2k.clickcom.com>

next in thread | raw e-mail | index | archive | help
I have a machine that was running 4.5 until today. I did the
buildworld/installworld and mergemaster. Now , my php mail() function
does not work anymore.

===========[/var/log/maillog]==================
Aug 29 14:38:19 webbeast sendmail[821]: g7TIcJli000821: to="Test Group"
<>, delay=00:00:00, mailer=local, pri=0, dsn=5.1.1, stat=User unknown
Aug 29 14:38:19 webbeast sendmail[821]: g7TIcJli000821: SYSERR(nobody):
collect: Cannot write ./dfg7TIcJli000821 (bfcommit, uid=65534,
gid=65534): Permission denied
Aug 29 14:38:19 webbeast sendmail[821]: g7TIcJli000821: from=nobody,
size=242, class=0, nrcpts=4, relay=nobody@localhost
Aug 29 14:38:19 webbeast sendmail[821]: g7TIcJli000821: g7TIcJlj000821:
DSN: collect: Cannot write ./dfg7TIcJli000821 (bfcommit, uid=65534,
gid=65534): Permission denied
Aug 29 14:38:19 webbeast sendmail[821]: g7TIcJlj000821: SYSERR(nobody):
queueup: cannot create queue temp file ./tfg7TIcJlj000821, uid=65534:
Permission denied

webbeast# ll | grep mque
drwxrwx---  2 smmsp   smmsp   512 Aug 29 14:41 clientmqueue
drwxr-xr-x  2 root    daemon  512 Aug 29 15:02 mqueue
webbeast# ll /usr/libexec/sendmail/
total 584
-r-xr-sr-x  1 root  smmsp  581984 Aug 27 11:45 sendmail

I have the smmsp & mailnull users in /etc/group and master.passwd as
merged from mergemaster. 

If you su to nobody (since my apache runs as that), then try to send the
message from the command line (sendmail user@domain.com) it works fine.
I've even tried this php.ini setting:
sendmail_path = "/usr/sbin/sendmail -t -i
-OQueueDirectory=/var/spool/mqueue/"

webbeast# sendmail -v
Recipient names must be specified

Since this throws no errors, I assume that my .cf is in sync after the
mergemaster.

Thoughts? Ideas? This is driving me nuts.


John Straiton
jks@clickcom.com
Clickcom, Inc
704-365-9970x101 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007b01c24f94$7d4fc890$fe16c60a>