[Exim] Changing the Return-path - with filter rule?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Perkel
Date:  
À: exim-users
Anciens-sujets: Re: [Exim] Changing the Return-path
Sujet: [Exim] Changing the Return-path - with filter rule?
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
But - I'd rather do it without the -f because there are a number of
scripts that other people have uploaded and I don't have any way of
finding them all. So what I'm looking for is some sort of filter rule to
change the return-path.

Kevin Reed wrote:

>Marc Perkel said:
>
>
>>I read the manual - but still don't get it.
>>
>>Here's the problem. A user runs a perl script from apache and Exim
>>generates an email message - but - the return-path is
>>apache@???.
>>
>>I want the return-parth to be the sender.
>>
>>How do I make that happen?
>>
>>
>
> apache is the user of mail system.
>
>Add apache to the trusted_users line
>
> trusted_users = whatever you have : apache
>
>Now from the perl program you can create the mail file first into a temp
>file and
>
> exim -f senders_username@??? -t < tempfile
>
>The tempfile would have the full mail file with all the headers or pipe
>the same to exim:
>
> .... | exim -f senders_username@???
>
>Note that on some systems sendmail = exim ... common locations are
>
> /usr/lib/sendmail
> /usr/sbin/sendmail
>
>etc..
>
>Make Darn sure that this script is clean and doesn't allow someone to
>modify the output or you are opening the door for spammers to abuse your
>scripts.
>
>--
>Kevin W. Reed - TNET Services, Inc.
>Unoffical Exim MTA Info Forums - http://exim.got-there.com/forums
>
>--
>
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>
>

--