[ZendTo] Re: emailDomainRegexp clarification

Jules Jules at ZendTo.com
Wed Jul 21 22:14:21 BST 2010



On 21/07/2010 22:09, Gavin Silver wrote:
>
> 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.
>
Yes, I could do that. Do you want to match *.domain.com and domain.com 
for any domain in the file list?

That would work with any authenticator, which would be better.

I would have to check the datestamp on the file, then re-read the list 
if the datestamp on the file changes. Then you can modify the file 
whenever you like and ZendTo would instantly rebuild its list of domains 
(and hence its regexp). There may be limits on the maximum size of a 
regexp, which would limit the number of domains possible. But I may be 
able to implement that in a way that wouldn't hit a limit, it's just 
something I need to consider.

Let me work on it, I'll get back to you.

Jules.

> ----------------------------------
> 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
>
> -- 
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zendto.com
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>    

Jules

-- 
Julian Field MEng CITP CEng
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/3dd9a2ba/attachment-0001.html 


More information about the ZendTo mailing list