From greg.clarke at waikato.ac.nz Wed May 1 03:03:37 2019 From: greg.clarke at waikato.ac.nz (Greg Clarke) Date: Wed, 1 May 2019 14:03:37 +1200 Subject: [ZendTo] [Feature Request custom string in subject per DropOff] In-Reply-To: References: <5F237D6D-5E93-4097-ACD0-F64A2485F135@yahoo.com> <72d61410dcb94e67a16481300a961282@City-Exch-DB1.cbj.local> <19accbbc-b2b1-241d-531d-a717fc8dc15a@Zend.To> <736600cebd8d4738999450bcac9783c1@City-Exch-DB1.cbj.local> Message-ID: Hi there On Wed, 1 May 2019 at 11:24, Kevin Miller via ZendTo wrote: > > > I.e. I was thinking that [Zendto] would be a variable set in > preferneces.php which could be customized. Something like: > > ?Zendto_prefix? => ?[Zendto]?, > > which folks could simply change to what they wanted or leave it as the > default. I didn?t really explain it very clearly. > > > > We?re probably the outlier, but the powers that be upstream of me decided > we?d call our system ?fileshare? rather than Zendto. So in my case I?d > change the prefix itself if such was available. I can see the use case for > what Travis, et. al. are proposing as well? > The subject prefix is a variable defined in zendto.conf. You can set it: EmailSubjectTag = "[fileshare] " Greg Greg Clarke SysAdmin, Systems, ITS The University of Waikato New Zealand http://www.waikato.ac.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jules at Zend.To Wed May 1 10:00:54 2019 From: Jules at Zend.To (Jules Field) Date: Wed, 1 May 2019 10:00:54 +0100 Subject: [ZendTo] email vs username REGEX In-Reply-To: References: <43eba1089e8a41f19fa988953ca2e060@exelaonline.com> Message-ID: <7e2f985f-88d2-cda8-29d1-6ca5ac76b8e7@Zend.To> Guy, Most sites have users login using just their username rather than email address. So my default supplied regex for the username is more restrictive than the one for the email address, as you want to keep it as tight as you can. If you want to allow an email address for the username, then the simplest solution is to just copy the regex from 'validEmailRegexp' into the value for 'usernameRegexp' in preferences.php. That's one of the reasons I have those 2 specified in a config file rather than hard-wired. :-) Cheers, Jules. On 30/04/2019 23:11, Guy Bertrand via ZendTo wrote: > > Hi all, > > I?m using the AD authenticator.? Users are login in using their email > addresses, which are checked against our AD servers.? All is good. > > Almost?I have one user who has an apostrophe in his email/account > name, and cannot login. > > I noticed that in the preferences.php file, the REGEX for username and > email address do not match.? I?ve looked at the code, and I was trying > to find (unsucessfully) if there is some type of filtering or > conversion being done, and the actual lookup against AD uses a modifed > usernameRegexp instead of the raw username as the user typed in the > login screen.? The usernameRegexp does not seem to allow the apostrophe. > > I?m still looking, but if anybody has a suggestion or an explanation > why the username cannot use an apostrophe, I?d appreciate it.? Or do I > simply change the username regex to allow for the apostrophe? > > Regards, > > Guy > > // Regular expression defining a valid username for the Login page. > > // Usually no need to change this. > > 'usernameRegexp'??? => '/^([a-zA-Z0-9][a-zA-Z0-9\_\.\-\@\\\]*)$/i', > > // regular expression defining a valid email address for anyone. > > // Usually no need to change this. > > // Must look like /^(user)\@(domain)$/ > > 'validEmailRegexp' => > '/^([a-zA-Z0-9][a-zA-Z0-9\.\_\-\+\&\']*)\@([a-zA-Z0-9][a-zA-Z0-9\_\-\.]+)$/i', > > ------------------------------------------------------------------------ > Please consider the environment before printing or forwarding this > email. If you do print this email, please recycle the paper. > > This email message may contain confidential, proprietary and/or > privileged information. It is intended only for the use of the > intended recipient(s). If you have received it in error, please > immediately advise the sender by reply email and then delete this > email message. Any disclosure, copying, distribution or use of the > information contained in this email message to or by anyone other than > the intended recipient is strictly prohibited. Any views expressed in > this message are those of the individual sender, except where the > sender specifically states them to be the views of Exela Technologies, > Inc. or its subsidiaries. > > This email does not constitute an agreement to conduct transactions by > electronic means and does not create any legally binding contract or > enforceable obligation against Exela in the absence of a fully signed > written agreement. > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://jul.es/mailman/listinfo/zendto Jules -- Julian Field MEng CEng CITP MBCS MIEEE MACM 'A committee is a group of the unwilling, chosen from the unfit, to do the unnecessary.' - Anon www.Zend.To Twitter: @JulesFM -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jules at Zend.To Wed May 1 10:03:44 2019 From: Jules at Zend.To (Jules Field) Date: Wed, 1 May 2019 10:03:44 +0100 Subject: [ZendTo] [Feature Request custom string in subject per DropOff] In-Reply-To: References: <72d61410dcb94e67a16481300a961282@City-Exch-DB1.cbj.local> <19accbbc-b2b1-241d-531d-a717fc8dc15a@Zend.To> <736600cebd8d4738999450bcac9783c1@City-Exch-DB1.cbj.local> Message-ID: On 30/04/2019 23:42, Kevin Miller via ZendTo wrote: > > I was thinking of something sort of along the lines of what Travis > McDugald proposed: > > ? If (isset($messageID)) then $subject = [Zendto] . $messageID . > $subject; else $subject = [Zendto] . $subject; > > although rather than an additional messageID I was envisioning just > changing the prefix. > I am wary of allowing things like ticket numbers in the [] prefix, as I bet some lousy ticketing systems out there will only spot the ticket number if it has whitespace after it and not some bracket or other punctuation. > I.e. I was thinking that [Zendto] would be a variable set in > preferneces.php which could be customized.? Something like: > > ?Zendto_prefix? => ?[Zendto]?, > > which folks could simply change to what they wanted or leave it as the > default.? I didn?t really explain it very clearly. > > We?re probably the outlier, but the powers that be upstream of me > decided we?d call our system ?fileshare? rather than Zendto.? So in my > case I?d change the prefix itself if such was available.? I can see > the use case for what Travis, et. al. are proposing as well? > Greg has already answered that one for me. :-) Cheers, Jules. > ...Kevin > > -- > > Kevin Miller > > Network/email Administrator, CBJ MIS Dept. > > 155 South Seward Street > > Juneau, Alaska 99801 > > Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: > 307357 > > *From:*ZendTo *On Behalf Of *Jules Field via > ZendTo > *Sent:* Tuesday, April 30, 2019 12:35 AM > *To:* ZendTo Users > *Cc:* Jules Field ; Kevin Miller > *Subject:* Re: [ZendTo] [Feature Request custom string in subject per > DropOff] > > Kevin, > > But in the case of a request, as much as possible is pre-filled for > the customer dropping off files. > All the other Subject lines generated are hard-coded (apart from > translations). > > If you are thinking of either changing the [ZendTo] prefix to some > other string, or adding something between the [ZendTo] prefix and the > rest of the string, where and when is that going to be set? > > The "new dropoff" form needs to gain an extra "Message ID" (or > whatever) box so people can put in their magic string. > > Are you saying the "send a request" form needs to gain it too? > (And presumably if the answer to that is "yes", the "new dropoff" form > would pre-fill the "Message ID" value from what was given in the > request. And if that is the case, should the customer doing the > dropoff be able to change the "Message ID" value at that point? I > would suggest not.) > > I think we're all thinking about variations on either ticketing > systems or people with multiple projects, where they need some magic > value in the Subject line of *every* email message sent by ZendTo so > that they can all be tracked and filed automatically. > > Cheers, > Jules. > > On 29/04/2019 17:53, Kevin Miller via ZendTo wrote: > > Unless I?m misunderstand the conundrum, I?d say to let the > requester enter the subject line, sans prefix, then prepend the > system defined prefix at upload generation time.? I.e., if I was > requesting a dropoff I?d put in ?My appropriate subject?.? The > person that is actually doing the dropoff would see that, and > probably won?t think twice about it.? Then, when the outgoing > upload ?notification is actually complete, Zendto can prepend the > system supplied prefix [Zendto] or [Whatever] and send that.? I > don?t think folks are in the habit of hand coding prefixes, so > it?s unlikely one would end up with dual prefixes. > > Maybe there?s coding issues with that that make it difficult? > Anyway, my tuppence worth? > > ...Kevin > > -- > > Kevin Miller > > Network/email Administrator, CBJ MIS Dept. > > 155 South Seward Street > > Juneau, Alaska 99801 > > Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User > No: 307357 > > *From:*ZendTo > *On Behalf Of *Jules Field via ZendTo > *Sent:* Monday, April 29, 2019 6:19 AM > *To:* ZendTo Users > *Cc:* Jules Field > *Subject:* Re: [ZendTo] [Feature Request custom string in subject > per DropOff] > > Folks, > > I'm having a think about this one. > > The idea of the prefix is pretty simple, basically I would give > you the "[ZendTo]" string (as an initial default value) in a > "Subject" box in the new drop-off form. > > Whatever you end up putting in there gets used instead of [ZendTo] > at the start of the email subject lines. > > However...... > > If you request a drop-off, you get to supply the whole Subject > line for the email to the person you want to send you their files. > Ideally, that same Subject line would be used in all notifications > etc about that drop-off. > But they have entered the *whole* Subject line, not just the > prefix to it. > If I use their whole Subject line as a prefix, it's going to look > weird. > > So what do I do for the Subject prefix, when it was created as a > result of a request which had the entire Subject line supplied? > I clearly can't ask the person sending the request to supply 2 > Subject entries ? both the current whole Subject line *and* the > prefix to use ? as that would confuse the hell out of them. > > Any ideas please? > > Cheers, > Jules. > > On 21/04/2019 14:29, Mailing Lists via ZendTo wrote: > > Hi Jules, > > yes it would be enough to allow 20 editable characters. > > via Smartphone > > > Am 21.04.2019 um 15:13 schrieb Travis McDugald via ZendTo > >: > > While no one has asked for this yet, I do see it?s > usefulness. > > I do use custom strings in email subjects for some > projects as well. ?Helps with sorting, searching, and > filtering. > > Side note: great job on everything Jules, thank you. > > Sent from my iPad > > > On Apr 21, 2019, at 7:40 AM, Jules via ZendTo > > wrote: > > Peter, > > You effectively just want to allow senders to > customise the "[ZENDTO]" subject line tag in each > drop-off, correct? > > Does anyone else need to do this too? > > Cheers, > Jules. > > On 21/02/2019 2:21 pm, Der PCFreak via ZendTo wrote: > > Hi Jules, hi all. > > I have a strange request from our ZendTo users. > They asked if it would be possible to add a custom > field when sending a DropOff > that results in a custom text in all ZendTo email > concerning this specific DropOff. > > Example current: > > [ZENDTO] One of the recipients has picked up your > drop-off! > > Example requested: > > [ZENDTO] CUSTOM_STRING One of the recipients has > picked up your drop-off! > > I asked a little bit about the purpose of their > request and they told me that project teams sort > their email by subject and > consequently keep the project name (CUSTOM_STRING) > in every subject of their emails concerning that > specific project. > So later they could sort by project name > (CUSTOM_STRING) within Outlook to be able to > verify when they sent a specific DropOff. > > Question: > Is it possible to implement such a feature? > > I know that I could handcraft it but I don't want > to make big changes to the source and always have > to keep track of them when upgrading. > > I am currently not on the latest version of > ZendTo, so if such a feature is maybe already > present in the latest version, feel free > to tell me. > > Thanks in advance. > > Peter > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://jul.es/mailman/listinfo/zendto > > > > > Jules > > > > -- > > Julian Field MEng CEng CITP MBCS MIEEE MACM > > > > 'Once is happenstance, twice is coincidence, three times is enemy > > action.' - Ian Fleming > > > > www.Zend.To > > Twitter: @JulesFM > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://jul.es/mailman/listinfo/zendto > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://jul.es/mailman/listinfo/zendto > > > > > _______________________________________________ > > ZendTo mailing list > > ZendTo at zend.to > > http://jul.es/mailman/listinfo/zendto > > > > > Jules > > > > -- > > Julian Field MEng CEng CITP MBCS MIEEE MACM > > > > 'Find a place inside where there's joy, and the joy will burn out > > the pain.' - Joseph Campbell > > > > www.Zend.To > > Twitter: @JulesFM > > > > _______________________________________________ > > ZendTo mailing list > > ZendTo at zend.to > > http://jul.es/mailman/listinfo/zendto > > > > Jules > -- > Julian Field MEng CEng CITP MBCS MIEEE MACM > 'Teach a man to reason, and he will think for a lifetime.' - Phil Plait > www.Zend.To > Twitter: @JulesFM > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://jul.es/mailman/listinfo/zendto Jules -- Julian Field MEng CEng CITP MBCS MIEEE MACM 'Making machines do what you want requires only two qualities: 1) Being slightly more stubborn that the computer, & 2) Remembering that computers are electrified rocks.' - @JediJeremy www.Zend.To Twitter: @JulesFM -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.miller at juneau.org Wed May 1 17:31:11 2019 From: kevin.miller at juneau.org (Kevin Miller) Date: Wed, 1 May 2019 16:31:11 +0000 Subject: [ZendTo] [Feature Request custom string in subject per DropOff] In-Reply-To: References: <5F237D6D-5E93-4097-ACD0-F64A2485F135@yahoo.com> <72d61410dcb94e67a16481300a961282@City-Exch-DB1.cbj.local> <19accbbc-b2b1-241d-531d-a717fc8dc15a@Zend.To> <736600cebd8d4738999450bcac9783c1@City-Exch-DB1.cbj.local> <6b595cf71d4341d5b670e3509ca09df2@City-Exch-DB1.cbj.local> Message-ID: Ah ? perfect, thanks. Never noticed that before. ...Kevin -- Kevin Miller Network/email Administrator, CBJ MIS Dept. 155 South Seward Street Juneau, Alaska 99801 Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357 From: ZendTo On Behalf Of Greg Clarke via ZendTo Sent: Tuesday, April 30, 2019 6:04 PM To: ZendTo Users Cc: Greg Clarke Subject: Re: [ZendTo] [Feature Request custom string in subject per DropOff] Hi there On Wed, 1 May 2019 at 11:24, Kevin Miller via ZendTo > wrote: I.e. I was thinking that [Zendto] would be a variable set in preferneces.php which could be customized. Something like: ?Zendto_prefix? => ?[Zendto]?, which folks could simply change to what they wanted or leave it as the default. I didn?t really explain it very clearly. We?re probably the outlier, but the powers that be upstream of me decided we?d call our system ?fileshare? rather than Zendto. So in my case I?d change the prefix itself if such was available. I can see the use case for what Travis, et. al. are proposing as well? The subject prefix is a variable defined in zendto.conf. You can set it: EmailSubjectTag = "[fileshare] " Greg Greg Clarke SysAdmin, Systems, ITS The University of Waikato New Zealand http://www.waikato.ac.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: From TZimmerman at fsu.edu Thu May 2 20:00:19 2019 From: TZimmerman at fsu.edu (Travis Zimmerman) Date: Thu, 2 May 2019 19:00:19 +0000 Subject: [ZendTo] alternate AD attribute In-Reply-To: References: <58299ADB-FC43-42C7-BF6C-5098A8060A51@fsu.edu> <36317C70-693D-438F-A754-66C92353B8BA@fsu.edu> Message-ID: Username, but it looks like it?s more complicated. I just got out of a meeting and one of the AD admins gave me several examples of student attribute listing. Looking at the attributes and their values there isn?t actually a specific username, there is a unique identifier by way of an ID number; and then there are several different attributes with the student?s e-mail address. So I think for right now I may have to hack together a fix for my specific problem and then talk to you about a possible way to incorporate it into the code in a more general way that may be useful for others. ???? If I?m reading the NSSADAuthenticator.php correctly, you compare their username against ?sAMAccountName? but before you do that if someone logged in with an e-mail address, you remove the @domain part. I don?t suppose the @domain that gets chopped off is stored in a variable that I could use for comparisons to force a different search using the full e-mail address against a different attribute? If not I?ll work out something. Again thanks for any help you can provide. ------------------------------------------------------ Travis Zimmerman tzimmerman at fsu.edu 850-645-8030 Linux Enterprise Applications & Systems its-linuxadmins at fsu.edu Information Technology Services, Florida State University On Apr 30, 2019, at 4:46 AM, Jules Field > wrote: Travis, Do you mean an alternate attribute for the username, or an alternate attribute from which to read the user's email address? I'm rather assuming the latter, but may be wrong... Currently it reads the user's email address from the "mail" attribute in AD; is it the string "mail" that you want to be able to change for a particular AD forest? Cheers, Jules. On 29/04/2019 19:44, Travis Zimmerman via ZendTo wrote: Would it be possible to add a variable to the AD auth config to use an alternate attribute for the username? Something like: ?authLDAPAltAttr? => ?preferredEmail?, Our Microsoft sysadmins had to setup a different AD for students on a different domain (my.fsu.edu) from the one used by faculty and staff (fsu.edu). For some reason at the time they had to store the student e-mail address in a different attribute than the standard attribute, in the normal attribute they are storing a student ID number. Up until now I worked around this problem by using the IMAP authentication, not as nice as AD but it did the job to allow students to authenticate in, receive e-mail from the ZendTo server, and view drop-offs for them in their Inbox. We got a new CIO at my university about a month ago and it has been decided to shutdown IMAP and SMTP completely, in favor of MAPI with MFA only. I found out that this change was being talked about last week, upper management came to a decision last Friday and plan to go ahead with this change starting next week. I appreciate all the work you?ve put into ZendTo over the years. ------------------------------------------------------ Travis Zimmerman tzimmerman at fsu.edu 850-645-8030 Linux Enterprise Applications & Systems its-linuxadmins at fsu.edu Information Technology Services, Florida State University _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto Jules -- Julian Field MEng CEng CITP MBCS MIEEE MACM 'What happened in the past that was painful, has a great deal to do with what we are today.' - William Glasser www.Zend.To Twitter: @JulesFM -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jules at Zend.To Fri May 3 09:20:00 2019 From: Jules at Zend.To (Jules Field) Date: Fri, 3 May 2019 09:20:00 +0100 Subject: [ZendTo] alternate AD attribute In-Reply-To: References: <58299ADB-FC43-42C7-BF6C-5098A8060A51@fsu.edu> <36317C70-693D-438F-A754-66C92353B8BA@fsu.edu> Message-ID: Travis, On 02/05/2019 20:00, Travis Zimmerman wrote: > Username, but it looks like it?s more complicated. I just got out of a > meeting and one of the AD admins gave me several examples of student > attribute listing. Looking at the attributes and their values there > isn?t actually a specific username, there is a unique identifier by > way of an ID number; and then there are several different attributes > with the student?s e-mail address. > > So I think for right now I may have to hack together a fix for my > specific problem and then talk to you about a possible way to > incorporate it into the code in a more general way that may be useful > for others. ???? That sounds like a good idea. :) > > If I?m reading the NSSADAuthenticator.php correctly, you compare their > username against ?sAMAccountName? but before you do that if someone > logged in with an e-mail address, you remove the @domain part. > I don?t suppose the @domain that gets chopped off is stored in a > variable that I could use for comparisons to force a different search > using the full e-mail address against a different attribute? If not > I?ll work out something. I chop off the domain part, as a lot of people (certainly here!) will tend to type in their whole username at domain.com address rather than just their username. Entering the whole of username at domain.com is needed for things like Eduroam Wifi (as Eduroam can't authenticate you if it doesn't know what Uni you belong to). And with AD-based logins, username at domain.com is usually equivalent to DOMAIN\username. So that usually works okay too. I don't think it gets stored anywhere at the moment. However, the easiest thing for you to do is probably write your own authenticator module. Call it something like "NSSTravisAuthenticator.php" and then you can refer to it in preferences.php as an authenticator called "Travis". There are only 2 calls you need to implement. 1 that checks for a valid username and 1 that checks a username/password pair and retrieves info about the user. Get the information you need from wherever you want it, and put it into the same members of the class as the other authenticators do, and it will work. Take a look at the NSSLocalAuthenticator.php to see the structure in a fairly simple way (NSSStaticAuthenticator.php is the trivial case but doesn't tell you much), then see how that maps onto NSSADAuthenticator.php. The LDAP authenticator is almost identical to the AD one, but is much simpler as it only supports one "forest". For the preferences.php settings for your authenticator, just make sure you don't use any names I've already used. Then even the "upgrade" and "upgrade_preferences_php" will perfectly happily handle your new authenticator module. That way you aren't changing any of the existing code (as far as rpm/dpkg/apt/yum are concerned), you are just adding a whole new file. The package managers will leave that alone. Hope that helps, Jules. > > Again thanks for any help you can provide. > > ------------------------------------------------------ > Travis Zimmermantzimmerman at fsu.edu 850-645-8030 > Linux Enterprise Applications & Systemsits-linuxadmins at fsu.edu > > Information Technology Services, Florida State University > >> On Apr 30, 2019, at 4:46 AM, Jules Field > > wrote: >> >> Travis, >> >> Do you mean an alternate attribute for the username, or an alternate >> attribute from which to read the user's email address? >> I'm rather assuming the latter, but may be wrong... >> >> Currently it reads the user's email address from the "mail" attribute >> in AD; is it the string "mail" that you want to be able to change for >> a particular AD forest? >> >> Cheers, >> Jules. >> >> On 29/04/2019 19:44, Travis Zimmerman via ZendTo wrote: >>> Would it be possible to add a variable to the AD auth config to use >>> an alternate attribute for the username? >>> Something like:?authLDAPAltAttr? ? ? => ? ??preferredEmail?, >>> >>> Our Microsoft sysadmins had to setup a different AD for students on >>> a different domain (my.fsu.edu ) from the one >>> used by faculty and staff (fsu.edu ). For some >>> reason at the time they had to store the student e-mail address in a >>> different attribute than the standard attribute, in the normal >>> attribute they are storing a student ID number. >>> >>> Up until now I worked around this problem by using the IMAP >>> authentication, not as nice as AD but it did the job to allow >>> students to authenticate in, receive e-mail from the ZendTo server, >>> and view drop-offs for them in their Inbox. >>> >>> We got a new CIO at my university about a month ago and it has been >>> decided to shutdown IMAP and SMTP completely, in favor of MAPI with >>> MFA only. I found out that this change was being talked about last >>> week, upper management came to a decision last Friday and plan to go >>> ahead with this change starting next week. >>> >>> I appreciate all the work you?ve put into ZendTo over the years. >>> >>> ------------------------------------------------------ >>> Travis Zimmermantzimmerman at fsu.edu >>> 850-645-8030 >>> Linux Enterprise Applications & Systemsits-linuxadmins at fsu.edu >>> >>> Information Technology Services, Florida State University >>> >>> >>> _______________________________________________ >>> ZendTo mailing list >>> ZendTo at zend.to >>> http://jul.es/mailman/listinfo/zendto >> >> Jules >> >> -- >> Julian Field MEng CEng CITP MBCS MIEEE MACM >> >> 'What happened in the past that was painful, has a great deal to >> do with what we are today.' - William Glasser >> >> www.Zend.To >> Twitter: @JulesFM > Jules -- Julian Field MEng CEng CITP MBCS MIEEE MACM 'No more impressive warning can be given to those who would confine knowledge and rsearch to what is apparently useful, than the reflection that conic sections were studied for eighteen hundred years merely as an abstract science, without regard to any utility other than to satisfy the craving for knowledge on the part of mathematicians, and that then at the end of this long period of abstract study, they were found to be the necessary key with which to attain the knowledge of the most important laws of nature.' - Alfred North Whitehead www.Zend.To Twitter: @JulesFM -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jules at Zend.To Fri May 3 12:16:42 2019 From: Jules at Zend.To (Jules Field) Date: Fri, 3 May 2019 12:16:42 +0100 Subject: [ZendTo] ZendTo demo site running latest beta Message-ID: <8e86ca69-3ce8-7110-bfb8-0214025da2bf@Zend.To> Folks, I have a ZendTo demo site. It's just a normal installation of ZendTo with manually-created local users, and a few extra domains added to internaldomains.conf. Please don't all yell at once, as I still create users manually on it. But if you would like to see the user interface improvements in the latest betas, or want to test anything else about it, such as maybe grabbing some screenshots to show your management, then please do let me know. Cheers, Jules -- Julian Field MEng CEng CITP MBCS MIEEE MACM 'The AI does not hate you, nor does it love you, but you are made out of atoms which it can use for something else.' - Eliezer Yudkowsky www.Zend.To Twitter: @JulesFM From Jules at Zend.To Fri May 10 17:14:16 2019 From: Jules at Zend.To (Jules Field) Date: Fri, 10 May 2019 17:14:16 +0100 Subject: [ZendTo] =?utf-8?q?Major_new_feature_=28please_test!=29_?= =?utf-8?q?=E2=80=94_Automated_ZendTo?= Message-ID: <80095991-171c-ffad-f8c0-44a5a1c2b174@Zend.To> Folks, I have finally implemented automatic command-line generation of ??? 1. A new drop-off ??? 2. A request for a drop-off This is included in the latest beta release, 5.18-3. See the beta page at ??? https://zend.to/beta.php and the Changelog at ??? https://zend.to/changelog.php for more information. The 2 scripts that do it are in ??? /opt/zendto/bin/autodropoff ??? /opt/zendto/bin/autorequest To find out how to drive them, ??? 1. See the comments above the new 'automationUsers' settings in preferences.php, and ??? 2. Run each of the scripts without any command-line parameters. Basically you give them everything they need to know via command-line options. They then construct and either print or run (depending on the presence of "--debug") a big "curl" command. The results from the ZendTo server are a JSON data structure, which is hopefully the easiest thing for most of you to handle automatically. So please do test them out. Do they work? Do they do what you need / want? Is there enough detail in the data structure returned? I know you folks have been waiting very patiently for this for a very long time. Sorry it's taken me quite so long to figure out a relatively easy way of doing it. If you need to automate it from a platform that can't run bash, just take a look at the scripts. Almost all of both of them is parsing command-line parameters and error-detection. If you look at the "curl" command they generate, and read the "curl" documentation, you will see it is *actually* very simple. Anyway, have a go and let me know how you get on! Enjoy your weekend... Jules -- Julian Field MEng CEng CITP MBCS MIEEE MACM 'We face neither East nor West: we face forward.' - Kwame Nkrumah www.Zend.To Twitter: @JulesFM From mrm at medicine.wisc.edu Wed May 15 19:37:31 2019 From: mrm at medicine.wisc.edu (MICHAEL R MASSE) Date: Wed, 15 May 2019 18:37:31 +0000 Subject: [ZendTo] User notification of problems with email References: Message-ID: if a user tries to send a file to someone but enters the email address incorrectly, the 'EmailSenderAddress' email address gets the bounceback, which I then have automatically forwarded to an administrator, but the actual sending user doesn't get any warning or error without manual intervention. Is there a setting to allow the sender to receive email bouncebacks without having to rely on an administrator manually forwarding bounceback emails? -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5727 bytes Desc: not available URL: From zend.to at neilzone.co.uk Thu May 30 08:51:44 2019 From: zend.to at neilzone.co.uk (zend.to at neilzone.co.uk) Date: Thu, 30 May 2019 08:51:44 +0100 Subject: [ZendTo] I sent my first automated drop-off request today References: <01555D7A-179E-41EE-8D4B-AD7AA33AFD02@neilzone.co.uk> Message-ID: Thanks Jules! The beta upgrade went smoothly, and your instructions for using the auto functions were clear and comprehensive. Thank you! Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jules at Zend.To Thu May 30 12:22:59 2019 From: Jules at Zend.To (Jules Field) Date: Thu, 30 May 2019 12:22:59 +0100 Subject: [ZendTo] I sent my first automated drop-off request today In-Reply-To: References: <01555D7A-179E-41EE-8D4B-AD7AA33AFD02@neilzone.co.uk> Message-ID: <8b49064a-80f0-01dd-6405-b6dccf9626f4@Zend.To> Neil, Yay! It worked! :-) I've got 1 person who needs to be able to automate the pick-up process as well. But now I've done the 2 hard ones, the pick-up will be very easy to write. I do admit the massive "curl" is hardly the most elegant solution in the world, but hopefully once you have your head around what "curl" the shell scripts create, it should be fairly easy to implement the same thing on systems such as Windows desktops where you might need to use a totally different language to do the HTTP POST request. But at least I made it return a JSON result to you, so the output looks trendy! *me goes and checks that JSON is still in fashion today* Cheers, Jules. On 30/05/2019 08:51, Neil via ZendTo wrote: > Thanks Jules! > > The beta upgrade went smoothly, and your instructions for using the > auto functions were clear and comprehensive. > > Thank you! > > Neil > > > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://jul.es/mailman/listinfo/zendto Jules -- Julian Field MEng CEng CITP MBCS MIEEE MACM 'There is silent poetry in the stillness of morning; in the calm, the cries & sighs of life sound like gentle music.' - @Astro_Wheels www.Zend.To Twitter: @JulesFM -------------- next part -------------- An HTML attachment was scrubbed... URL: From zend.to at neilzone.co.uk Thu May 30 12:33:08 2019 From: zend.to at neilzone.co.uk (zend.to at neilzone.co.uk) Date: Thu, 30 May 2019 12:33:08 +0100 Subject: [ZendTo] I sent my first automated drop-off request today In-Reply-To: References: <01555D7A-179E-41EE-8D4B-AD7AA33AFD02@neilzone.co.uk> <8b49064a-80f0-01dd-6405-b6dccf9626f4@Zend.To> <38B534EC-B245-44CD-9801-8CB215D2A5E7@neilzone.co.uk> Message-ID: > On 30 May 2019, at 12:22, Jules Field via ZendTo wrote: > > I do admit the massive "curl" is hardly the most elegant solution in the world, but hopefully once you have your head around what "curl" the shell scripts create, it should be fairly easy to implement the same thing on systems such as Windows desktops where you might need to use a totally different language to do the HTTP POST request. I?ve only tried it on a Mac, and I?ve tried it via: - running an ssh command, to call the script directly; and - a curl, using a URL built using your script. Both worked, as expected. I?ve yet to play around with parsing the returned JSON... Best wishes Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: