Date: Thu, 29 Aug 2002 17:18:37 -0400 From: "John Straiton" <jsmailing@clickcom.com> To: <freebsd-questions@FreeBSD.ORG> Subject: RE: Sendmail causing grief after 4.6-S update Message-ID: <00a501c24fa1$a6ea5820$fe16c60a@win2k.clickcom.com> In-Reply-To: <007b01c24f94$7d4fc890$fe16c60a@win2k.clickcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Since I finally found a combination that worked after like 4 hours of tinkering... Solution: do all mentioned below and then build new php, remove sendmail_path from php.ini, restart apache. John Straiton jks@clickcom.com - 704-365-9970 ============================================== Please reply to ne@clickcom.com instead of directly to me so that the first available engineer might help you > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of > John Straiton > Sent: Thursday, August 29, 2002 3:44 PM > To: freebsd-questions@FreeBSD.ORG > Subject: Sendmail causing grief after 4.6-S update > > > 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 > 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?00a501c24fa1$a6ea5820$fe16c60a>