[ZendTo] Re: emailDomainRegexp clarification

Jules Jules at ZendTo.com
Fri Jul 23 10:33:55 BST 2010


All tested and working.

New release in progress, will be ready for download in about 10 minutes 
or so (the downloads page will update to 3.57-2 when it's there).

Cheers folks!
Jules.

On 22/07/2010 23:12, Jules wrote:
> Good news. I have now implemented it properly in a way that will 
> actually work and do something useful, especially if you have a large 
> file listing local domains.
>
> You need to add another table to your database again, but that's 
> explained in the Change Log.
>
> I'll test this as best I can tomorrow if I get time, and will publish 
> another update after that.
>
> Best regards,
> Jules.
>
>
> On 22/07/2010 14:29, Gavin Silver wrote:
>>
>> Very cool.
>>
>> ----------------------------------
>> Gavin Silver
>>
>> *From:* zendto-bounces at zendto.com [mailto:zendto-bounces at zendto.com] 
>> *On Behalf Of *Jules
>> *Sent:* Thursday, July 22, 2010 3:53 AM
>> *To:* ZendTo Users
>> *Subject:* [ZendTo] Re: emailDomainRegexp clarification
>>
>> This is all done and working.
>> The new section from the Change Log describes it thus:
>>
>> - Preferences.php setting "emailDomainRegexp" can now be a filename 
>> instead
>>   of a regular expression. If so, it should provide a file containing a
>>   list of domain names (and all their sub-domains) that un-authenticated
>>   users can send dropoffs to. There must be exactly 1 domain per line.
>>   Blank lines and comment lines starting with '#' are ignored. The file
>>   is automatically re-read if it is modified.
>>
>> I'll put out an update containing this very shortly.
>>
>> 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.
>>
>> ----------------------------------
>> Gavin Silver
>>
>>
>> *From:* zendto-bounces at zendto.com <mailto: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  <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
>    

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/20100723/88794837/attachment.html 


More information about the ZendTo mailing list