Author: Sheldon Hearn Date: To: Gustav H Meyer CC: Oliver.Egginger, exim-users, Philip Hazel Subject: Re: [Exim] Solaris 2.6, Perl 5.6.1, exim 3.22 - Can't open pipe
On Thu, 28 Jun 2001 13:46:46 +0200, Gustav H Meyer wrote:
> If I execute your code from the commandline it works 100%.
> As soon as I add "use CGI" to enable it for the web I get
> the same problem. In other words there's something inside
> the CGI module that does not like sending mail via exim. :)
The web server will execute yoru script as some particular user. For
example, a default Apache configuration will execute the script as user
nobody.
Is it possible that the message you're piping to Exim from within your
CGI script contains headers that only trusted users are allowed to
provide? If so, is the user your script is executed as, a trusted user
as far as Exim is concerned?