+++ sanjay [linux-india] <20/02/02 19:57 +0530>:
> I have a script(Perl/PHP) which sends email from the web(apache web server
> on linux). The problem is the header of
> the message contains "Return-path" and "Sender" email address as the
> [EMAIL PROTECTED] and so all the bounced messages goes to
> [EMAIL PROTECTED]
> I tried to use -f option of sendmail but of no avail.
-f is what you have to use - and you can't set Return-Path and Sender
manually.
Is this exim? If so, you have to make whatever user your script / apache
runs as a trusted user. Or maybe open a socket to port 25 and feed mail
from: / rcpt to: to the server that way.
Exim won't allow untrusted users to invoke sendmail -f
-srs
--
Suresh Ramasubramanian <----> mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
[Linux One Stanza Tip] From : <[EMAIL PROTECTED]>
LOST #101 -**< Sub : Unsubscribing from Linux-India-Help >**-
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/linux-india-help
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
If still no joy ... reach the person managing the list at
[EMAIL PROTECTED]
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help