+++ Philip S Tellis [linux-india] <21/02/02 00:50 +0530>:
> Sometime on Feb 20, sanjay assembled some asciibets to say:
> > 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]
> 
> The return path is set to be equal to the user who starts sendmail - if
> you use the sendmail command interface.  If you use smtp, then you set
> the return-path when you use the MAIL FROM: address command.
> In short, use SMTP instead of sendmail -t

Good idea - but VERY inefficient - especially if you send out large amounts
of mail.  Batched smtp transactions ...

See my answer.  His approach is correct EXCEPT he's using exim where only
trusted users are allowed 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 #007        -**< Sub : Hackers Jargon (#1) >**-
Commonly used abbreviations on Mailing Lists [#1]:
IMO = In My Opinion          IMHO = In My Humble Opinion
AFAIK = As Far As I Know     IIRC = If I Remember Correctly
RTFM = Read The F* Manual    BTW = By The Way

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to