On Fri, 15 Oct 2010 15:31:40 +0200
"MOKRANI Rachid" <rachid.mokr...@ifpenergiesnouvelles.fr> wrote:

> Hi,
>  
> I'm using dl with ldap authentification. My apache server is running
> with the apache user. My OS is CentOS kernel 2.6.18. 
>  
> Suppose I would like to send a file to : wav...@thregr.org 
>  
> I connect to dl with my user "my_name" When I create a "New Ticket"  and
> use "Send link to e-mail" and I do a mistake in the Yuri email adresse
> like : waveyyy...@thregr.org . I will never inform by "sendmail" that I
> make a mistake in the Yuri email adress, because the sender of the mail
> is : apache. 

The From address of all emails is set to the address configured in config.php 
(which is generally nob...@example.com), but to work correctly you need to 
trust the 'apache' user in the sendmail/postfix configuration. This is a 
problem that you can fix.

I know this isn't a full solution, but as ssc says, there's no way to know the 
e-mail address unless you perform an LDAP query yourself.

For grants this isn't a problem since grants *must* have a return address 
(though you can still type incorrectly).

Maybe all user accounts should also have an associated e-mail address. Think 
about this: we would not need the 'notification address' when creating a grant, 
which would be implicit.

This poses a problem about fetching the address when HTTP/external 
authentication is involved however. The user should probably also need to be 
able to change this address.


Reply via email to