There are 2 problems that I'm experiencing that I think are derived from the fact that php scripts run as the user "nobody" on my server.
1. Mail sent from php scripts does not count toward the user's bandwidth usage or show up in the mail statistics.
2. Files uploaded from php scripts are owned by "nobody," so they aren't counted in the user's quota. Today I found a user with 4 Gigs on his 100 meg account because of this.
Right now I have the php mail function disabled to get around #2. How can I configure php such that users can still send email without getting around their bandwidth limitations and also so that I can keep an eye out for possible spammers? I'd love to get php scripts to run as the system user in question. It seems this would solve all my problems.
1. Mail sent from php scripts does not count toward the user's bandwidth usage or show up in the mail statistics.
2. Files uploaded from php scripts are owned by "nobody," so they aren't counted in the user's quota. Today I found a user with 4 Gigs on his 100 meg account because of this.
Right now I have the php mail function disabled to get around #2. How can I configure php such that users can still send email without getting around their bandwidth limitations and also so that I can keep an eye out for possible spammers? I'd love to get php scripts to run as the system user in question. It seems this would solve all my problems.
Last edited: