FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » email not being sent
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
email not being sent [message #2940] Wed, 05 June 2002 06:50 Go to next message
geekforhire is currently offline  geekforhire   United States
Messages: 5
Registered: June 2002
Karma: 0
Junior Member
First off, everyone involved with the development of FUDforum should be proud, its a great package.

I just setup FUDforum two days ago on a hobby site of mine and have had problems with sending e-mail. That is....no email is sent. I cant find anything in any logs (fudforum or otherwise) that gives me any clue where to start looking for the problem.

The server is a active sendmail and IMAP server btw.

System Configuration
PHP built On: Linux paper.linuxsense.net 2.4.19-r1 #2 SMP Wed Apr 10 13:20:30 UTC 2002 i686 AuthenticAMD
MySQL Version: 3.23.49-log
PHP Version: 4.2.1
Web Server: Apache/1.3.24 (Unix) PHP/4.2.1
WebServer to PHP interface: apache
Forum Version: 2.0RC3
Relavent PHP Settings: Safe Mode: OFF
Display Errors: OFF
File Uploads: ON
Magic Quotes: OFF
Register Globals: OFF
Output Buffering: ON
Disabled Functions: none
PSpell Support: No

Any advice on troubleshooting this?

Thanks!

***update***

Dont know how I missed these before...:

Jun 4 21:32:09 paper sendmail[13616]: g554W9Jb013616: SYSERR(nobody): collect: Cannot write ./dfg554W9Jb013616 (bfcommit, uid=65534, gid=408): Permission denied
Jun 4 21:32:09 paper sendmail[13616]: g554W9Jb013616: SYSERR(nobody): queueup: cannot create queue temp file ./tfg554W9Jb013616, uid=65534: Permission denied

Looks like a perm problem. My question: Where?

Thanks.

[Updated on: Wed, 05 June 2002 07:55]

Report message to a moderator

Re: email not being sent [message #2941 is a reply to message #2940] Wed, 05 June 2002 11:46 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
FUDforum uses PHP builtin mail() function to send e-mail. That function itself uses sendmail internally to send email. So, the problem is likely to be with your config, rather then FUDforum.
The error message you've shown implies that sendmail cannot create a temporary file when the webserver spawns it, under it's own uid (nobody).
Check your sendmail.cf file in regard to where the temporary files are written and make sure user nobody can create files inside that directory, or you will not be able to send e-mail from the webserver using PHP.


FUDforum Core Developer
Re: email not being sent [message #2949 is a reply to message #2941] Wed, 05 June 2002 15:55 Go to previous messageGo to next message
geekforhire is currently offline  geekforhire   United States
Messages: 5
Registered: June 2002
Karma: 0
Junior Member
Thanks for the explanation. Very Happy
Re: email not being sent [message #2956 is a reply to message #2949] Wed, 05 June 2002 16:46 Go to previous messageGo to next message
geekforhire is currently offline  geekforhire   United States
Messages: 5
Registered: June 2002
Karma: 0
Junior Member
I did some digging around, and sorted out the perm problem, but now I am seeing something strange:

Jun 5 07:41:54 paper sendmail[14731]: g55Efsgs014731: from=nobody, size=738, class=0, nrcpts=0, msgid=<200206051441(dot)g55Efsgs014731(at)paper(dot)linuxsense(dot)net>, relay=nobody@localhost

The mail spools and appears to be sent but the sendmail log does not show 'stat=sent' and the message just goes away...not sure where. I am going to keep testing, but please let me know if you have seen this problem before.
Re: email not being sent [message #2957 is a reply to message #2956] Wed, 05 June 2002 16:52 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I use qmail myself, which gives pretty detailed error reports inside /var/log/mail or /var/log/messages files.
So, I am afraid I cannot be of much help.


FUDforum Core Developer
Re: email not being sent [message #2964 is a reply to message #2957] Wed, 05 June 2002 17:53 Go to previous messageGo to next message
geekforhire is currently offline  geekforhire   United States
Messages: 5
Registered: June 2002
Karma: 0
Junior Member
It looks like the problem comes down to a permission conflict with procmail. If I loosen up the queue dir perms so php can send mail procmail fails with a EX_TEMPFAIL. Do you use procmail as your local mailer with qmail?
Re: email not being sent [message #2966 is a reply to message #2964] Wed, 05 June 2002 18:12 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Nope, qmail has its own util for delivering local mail on the server.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Thread View
Next Topic: changing font size
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 09:39:31 GMT 2024

Total time taken to generate the page: 0.02615 seconds