Again on user nobody...
Albrigo Michele
albrigo@omega.sci.univr.it
Fri, 2 Mar 2001 12:49:24 +0100 (GMT-1)
Hi all,
sorry if I'm asking again on this problem, but I've read on the list and I
haven't been able to find a solution for my problem.
I'm running a web server on Slackware Linux (kernel 2.2.18, apache
1.3.17+mod_ssl, php4.0pl1, mysql and so on).
Anyway, I'm preparing a webmail that must read mail from another server.
Everytime I send an email from the webmail it appears to be sent from
nobody@impserver. I fixed it in ssmtp configuration, and now appears to be
sent from nobody@mailserver. What I need is to have it sent from
user@mailserver. I've tried to send mail with ssmtp with random users, and
it worked. I can send user from the address I like both if I invoke ssmtp
as root and as normal user (I guess it is invoked by nobody, the uid of
httpd). So I think Imp passes to ssmtp the wrong variable in the
mailfrom() function. Is there a way to pass to ssmtp the name of the user
who logged into our imap server? I've tried fixing it using the
suggestions you gave in the last "nobody thread", but it didn't work.
Is there anything I can check or change to made it work?
I don't share users with our mailserver using NIS, but I guess the problem
isn't there...
Thank you a lot for your help!
Michele Albrigo
System Administrator at omega.sci.univr.it