mail from verification

Mario Remy Almeida <[email protected]>
Newsgroups gmane.mail.qmail.ldap
Organization ISA
Message-ID <1240473710.30302.14.camel@agonda>
Hi All,

Does anyone has a patch to meet the below requirement?

if user authenticates as abc should only be able to send email as
[email protected] (as per the LDAP_MAIL field) and not as any other user.
something like SENDERCHECK= "LOOSE" or "STRICT" but should match the
entire email and not just the domain.

e.g:
1)
(smtp command) auth login: abc
(smtp command) mail from: = [email protected]
LDAP_MAIL = [email protected]

In the above e.g LDAP_MAIL = mail from
	should be able to send emails to any

2)
(smtp command) auth login: abc
LDAP_MAIL = [email protected]
(smtp command) mail from: = [email protected]

In the above e.g LDAP_MAIL != mail from
	should not be able to send emails.

Regards,
Remy





------------------------------------------------------------------------------
Disclaimer and Confidentiality


This material has been checked for  computer viruses and although none has
been found, we cannot guarantee  that it is completely free from such problems
and do not accept any  liability for loss or damage which may be caused.
Please therefore  check any attachments for viruses before using them on your
own  equipment. If you do find a computer virus please inform us immediately
so that we may take appropriate action. This communication is intended  solely
for the addressee and is confidential. If you are not the intended recipient,
any disclosure, copying, distribution or any action  taken or omitted to be
taken in reliance on it, is prohibited and may be  unlawful. The views
expressed in this message are those of the  individual sender, and may not
necessarily be that of ISA.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.