[ZendTo] Re: emailDomainRegexp clarification
Gavin Silver
GSilver at rampuptech.com
Wed Jul 21 22:09:33 BST 2010
do you think its possible to get this to check against LDAP? im running an exchange server with many domains.
possibly a rule set to build the regexp string from a file with a list of domains would be less complicated.
----------------------------------
Gavin Silver
From: zendto-bounces at zendto.com [mailto:zendto-bounces at zendto.com] On Behalf Of Jules
Sent: Wednesday, July 21, 2010 5:02 PM
To: ZendTo Users
Subject: [ZendTo] Re: emailDomainRegexp clarification
On 21/07/2010 21:43, Gavin Silver wrote:
what exactly is this regexp for?
is this only to check whether or not the system will drop off files for this match _from non internal users_?
If the user is not logged in, then the recipient's email domain must match emailDomainRegexp or else it will not allow the user to send files to them. So unauthenticated users can only send files to addresses which match emailDomainRegexp.
So yes, you can make the setting look something like this if you want to:
'emailDomainRegexp' => '^([a-zA-Z]+\.)?(soton\.ac\.uk$|domain1\.com$|domain2\.com$)',
which will match *.soton.ac.uk, *.domain1.com and *.domain2.com (and of course soton.ac.uk, domain1.com and domain2.com).
if so, can I add more than one domain?
Yes, you can.
----------------------------------
Gavin Silver
Ramp Up Technology
gsilver at rampuptech.com<mailto:gsilver at rampuptech.com>
----------------------------------
Please remember to send all issues to:
support at rampuptech.com<mailto:support at rampuptech.com>.
The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.
_______________________________________________
ZendTo mailing list
ZendTo at zendto.com<mailto:ZendTo at zendto.com>
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
Jules
--
Julian Field MEng CITP CEng
www.ZendTo.com<http://www.ZendTo.com>
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20100721/c81db7ad/attachment.html
More information about the ZendTo
mailing list