[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: commit-email.pl from address

From: Benjamin Podszun <ben_at_galactic-tales.de>
Date: 2005-06-09 12:08:51 CEST

Massimo wrote:
> Hi all,
> I got everything up and running and very happy, just on minor thing
> bother me up.
>
> I'm using commit-email.pl as a post-commit hook to have mails on every
> commit.
> The mail message is fine since all the info within are corret, just the
> from: clause of the message is from the apache users which is the one my
> web server runs on.
> I'm using DAV on HTTPS to access the repository.
> I've tried to change the script and or to set the -f command line
> options but anything seems to work.
>
> I would like to know if this script should be able to send mail
> impersonating the author of the commit (From: <Commit_author>) instead
> of the web server user when executed under, if so probably the mail
> server on the machine is acting some kind of masquerading which i don't
> know.

I'm not sure what the script does with the -f option and I don't know
which MTA you are using..
Did you check the headers of the mail? A mail can contain sender
information in both the envelope (what the MTA gets) and the header.
What is set to which value?
Lots of systems do prevent unprivileged users from "spoofing" the sender
address, you have to be a "trusted mail user" for that. Consult your
MTA's documentation if that applies for you as well - but I'm not sure
if you want to add the apache user to that list..

HTH,
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 9 12:11:01 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.