From Jules at Zend.To Wed Nov 2 09:47:13 2016 From: Jules at Zend.To (Jules) Date: Wed, 2 Nov 2016 09:47:13 +0000 Subject: [ZendTo] Unauthenticated XSS In-Reply-To: References: Message-ID: <690c9212-276e-f3a1-71bd-1badcc6abef2@Zend.To> Sorry I've only been able to pick this up now, but I've just fixed this one. Once I've got the CentOS 7 packaging sorted out and the last bugs ironed out, I'll release a new version. Any outstanding bug reports, please do let me know! Cheers, Jules. On 19/08/2016 15:06, Stewart Campbell wrote: > > HI all I don?t think this is much of a threat but I?m no expert on > these things? just trying to learn. > > In pickup.php while unauthenticated > > POST > > auth="> > > The auth variable in the displayPickupCheck function isn?t sanitized > like the others. > > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng How to stop time: kiss. How to travel in time: read. How to escape time: music. How to feel time: write. How to release time: breathe. www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161102/c701c8dd/attachment.html From Jules at Zend.To Wed Nov 2 15:21:18 2016 From: Jules at Zend.To (Jules) Date: Wed, 2 Nov 2016 15:21:18 +0000 Subject: [ZendTo] Username Locked Out Forever In-Reply-To: References: Message-ID: <26ee0e70-22c3-bc8b-6096-f26d7a2c85c2@Zend.To> Stewart, I disagree on this one. In the call in NSSDropbox.php, the time value passed is time()-$this->_loginFailTime so the "created > '%u'" test is what I wanted to do. Agreed? :) Cheers, Jules. On 19/08/2016 16:41, Stewart Campbell wrote: > > In MySQL->DBLoginlogLength we have the following query > > $query = sprintf("SELECT count(*) FROM loginlog > > WHERE username = '%s' AND created > '%u'", > > $this->database->real_escape_string(strtolower($user)), > > $since); > > The trouble is, $since is passed (in > NSSDropbox->userFromAuthentication at least) from the preferences.php > file which in my config is set to 86400. So we are basically saying > where the username is in the loginlog table from 1970. > > I think this needs to be changed to (time() - $since). I see the same > function in SQLLite & SQLLite3.php files. Not sure if this is a > similar problem. > > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng 'I never saw a wild thing Sorry for itself.' - D.H. Lawrence www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161102/31660963/attachment.html From Stewart.Campbell at pulsion.co.uk Thu Nov 3 11:03:42 2016 From: Stewart.Campbell at pulsion.co.uk (Stewart Campbell) Date: Thu, 3 Nov 2016 11:03:42 +0000 Subject: [ZendTo] Username Locked Out Forever In-Reply-To: <26ee0e70-22c3-bc8b-6096-f26d7a2c85c2@Zend.To> References: <26ee0e70-22c3-bc8b-6096-f26d7a2c85c2@Zend.To> Message-ID: Agreed. Not sure why I got confused there! From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Jules Sent: 02 November 2016 15:21 To: ZendTo Users Subject: Re: [ZendTo] Username Locked Out Forever Stewart, I disagree on this one. In the call in NSSDropbox.php, the time value passed is time()-$this->_loginFailTime so the "created > '%u'" test is what I wanted to do. Agreed? :) Cheers, Jules. On 19/08/2016 16:41, Stewart Campbell wrote: In MySQL->DBLoginlogLength we have the following query $query = sprintf("SELECT count(*) FROM loginlog WHERE username = '%s' AND created > '%u'", $this->database->real_escape_string(strtolower($user)), $since); The trouble is, $since is passed (in NSSDropbox->userFromAuthentication at least) from the preferences.php file which in my config is set to 86400. So we are basically saying where the username is in the loginlog table from 1970. I think this needs to be changed to (time() - $since). I see the same function in SQLLite & SQLLite3.php files. Not sure if this is a similar problem. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng 'I never saw a wild thing Sorry for itself.' - D.H. Lawrence www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161103/3b9fb63e/attachment.html From MooreM10 at cardiff.ac.uk Wed Nov 9 16:01:09 2016 From: MooreM10 at cardiff.ac.uk (Matthew Moore) Date: Wed, 9 Nov 2016 16:01:09 +0000 Subject: [ZendTo] Changing dropoff link in emails sent out Message-ID: Hi all, My zend.to installation has two domain names, I'm trying to phase one out. However it happens to be the domain which is used in the email which is sent out to users. How do I change that email address? I can't find an option in any of the config files to change it. Thanks, Matthew Moore Senior Server Engineer and Team Leader University IT Service Cardiff University 42 Park Place Cardiff CF10 3BB Tel: +44 (0)29 2087 0867 Email: moorem10 at cardiff.ac.uk Matthew M?oore Gwasanaeth TG y Brifysgol Prifysgol Caerdydd 42 Plas y Parc Caerdydd CF10 3BB Ff?n : +44 (0)29 2087 0867 E-bost: moorem10 at cardiff.ac.uk ? From kbe2 at lehigh.edu Wed Nov 9 16:10:21 2016 From: kbe2 at lehigh.edu (Keith Erekson) Date: Wed, 9 Nov 2016 11:10:21 -0500 Subject: [ZendTo] Changing dropoff link in emails sent out In-Reply-To: References: Message-ID: <00201f17-5397-332c-78f9-5809e552f03d@lehigh.edu> The URL is assembled in lib/NSSDropbox.php, and the domain name comes from the $_SERVER['SERVER_NAME'] env variable. This means it uses whichever domain name the users are hitting to access the site. To "phase out" an old domain, you can just configure your web server to redirect the old one to the new one, perhaps with mod_rewrite. ~Keith On 11/09/2016 11:01 AM, Matthew Moore wrote: > Hi all, > > My zend.to installation has two domain names, I'm trying to phase one out. However it happens to be the domain which is used in the email which is sent out to users. How do I change that email address? > > I can't find an option in any of the config files to change it. > > Thanks, > > Matthew Moore > > Senior Server Engineer and Team Leader > University IT Service > Cardiff University > 42 Park Place > Cardiff > CF10 3BB > Tel: +44 (0)29 2087 0867 > Email: moorem10 at cardiff.ac.uk > > Matthew M?oore > > > Gwasanaeth TG y Brifysgol > Prifysgol Caerdydd > 42 Plas y Parc > Caerdydd > CF10 3BB > Ff?n : +44 (0)29 2087 0867 > E-bost: moorem10 at cardiff.ac.uk ? > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto From Stewart.Campbell at pulsion.co.uk Wed Nov 9 16:11:51 2016 From: Stewart.Campbell at pulsion.co.uk (Stewart Campbell) Date: Wed, 9 Nov 2016 16:11:51 +0000 Subject: [ZendTo] Changing dropoff link in emails sent out In-Reply-To: References: Message-ID: /opt/zendto/config/zento.conf EmailSenderAddress = Cheers, Stewart. -----Original Message----- From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Matthew Moore Sent: 09 November 2016 16:01 To: ZendTo Users Subject: [ZendTo] Changing dropoff link in emails sent out Hi all, My zend.to installation has two domain names, I'm trying to phase one out. However it happens to be the domain which is used in the email which is sent out to users. How do I change that email address? I can't find an option in any of the config files to change it. Thanks, Matthew Moore Senior Server Engineer and Team Leader University IT Service Cardiff University 42 Park Place Cardiff CF10 3BB Tel: +44 (0)29 2087 0867 Email: moorem10 at cardiff.ac.uk Matthew M?oore Gwasanaeth TG y Brifysgol Prifysgol Caerdydd 42 Plas y Parc Caerdydd CF10 3BB Ff?n : +44 (0)29 2087 0867 E-bost: moorem10 at cardiff.ac.uk ? _______________________________________________ ZendTo mailing list ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto From MooreM10 at cardiff.ac.uk Wed Nov 9 16:18:30 2016 From: MooreM10 at cardiff.ac.uk (Matthew Moore) Date: Wed, 9 Nov 2016 16:18:30 +0000 Subject: [ZendTo] Changing dropoff link in emails sent out In-Reply-To: <00201f17-5397-332c-78f9-5809e552f03d@lehigh.edu> References: , <00201f17-5397-332c-78f9-5809e552f03d@lehigh.edu> Message-ID: Hi Keith, So if the user accesses zend.to via the new domain, the new domain will be in the emails. That's a nice easy fix. Thanks for that. I was going to put a redirect in with apache anyway. Cheers, Matthew Moore Senior Server Engineer and Team Leader University IT Service Cardiff University 42 Park Place Cardiff CF10 3BB Tel: +44 (0)29 2087 0867 Email: moorem10 at cardiff.ac.uk Matthew M?oore Gwasanaeth TG y Brifysgol Prifysgol Caerdydd 42 Plas y Parc Caerdydd CF10 3BB Ff?n : +44 (0)29 2087 0867 E-bost: moorem10 at cardiff.ac.uk ? ________________________________________ From: zendto-bounces at zend.to on behalf of Keith Erekson Sent: 09 November 2016 16:10:21 To: ZendTo Users Subject: Re: [ZendTo] Changing dropoff link in emails sent out The URL is assembled in lib/NSSDropbox.php, and the domain name comes from the $_SERVER['SERVER_NAME'] env variable. This means it uses whichever domain name the users are hitting to access the site. To "phase out" an old domain, you can just configure your web server to redirect the old one to the new one, perhaps with mod_rewrite. ~Keith On 11/09/2016 11:01 AM, Matthew Moore wrote: > Hi all, > > My zend.to installation has two domain names, I'm trying to phase one out. However it happens to be the domain which is used in the email which is sent out to users. How do I change that email address? > > I can't find an option in any of the config files to change it. > > Thanks, > > Matthew Moore > > Senior Server Engineer and Team Leader > University IT Service > Cardiff University > 42 Park Place > Cardiff > CF10 3BB > Tel: +44 (0)29 2087 0867 > Email: moorem10 at cardiff.ac.uk > > Matthew M?oore > > > Gwasanaeth TG y Brifysgol > Prifysgol Caerdydd > 42 Plas y Parc > Caerdydd > CF10 3BB > Ff?n : +44 (0)29 2087 0867 > E-bost: moorem10 at cardiff.ac.uk ? > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto _______________________________________________ ZendTo mailing list ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto From klou at themusiclink.net Wed Nov 9 16:23:45 2016 From: klou at themusiclink.net (Kris Lou) Date: Wed, 9 Nov 2016 08:23:45 -0800 Subject: [ZendTo] Changing dropoff link in emails sent out In-Reply-To: References: <00201f17-5397-332c-78f9-5809e552f03d@lehigh.edu> Message-ID: I'm not entirely sure that'll be the case. For me, ZendTo emails are sent from PHP via Sendmail, which equates to @. This is a better explanation of a workaround (as long as there are no other emails sent by that machine): http://mailman.ecs.soton.ac.uk/pipermail/zendto/2012-November/001855.html Kris Lou klou at themusiclink.net On Wed, Nov 9, 2016 at 8:18 AM, Matthew Moore wrote: > Hi Keith, > > So if the user accesses zend.to via the new domain, the new domain will > be in the emails. > > That's a nice easy fix. Thanks for that. I was going to put a redirect > in with apache anyway. > Cheers, > > Matthew Moore > > Senior Server Engineer and Team Leader > University IT Service > Cardiff University > 42 Park Place > Cardiff > CF10 3BB > Tel: +44 (0)29 2087 0867 > Email: moorem10 at cardiff.ac.uk > > Matthew M?oore > > > Gwasanaeth TG y Brifysgol > Prifysgol Caerdydd > 42 Plas y Parc > Caerdydd > CF10 3BB > Ff?n : +44 (0)29 2087 0867 > E-bost: moorem10 at cardiff.ac.uk ? > > > ________________________________________ > From: zendto-bounces at zend.to on behalf of Keith > Erekson > Sent: 09 November 2016 16:10:21 > To: ZendTo Users > Subject: Re: [ZendTo] Changing dropoff link in emails sent out > > The URL is assembled in lib/NSSDropbox.php, and the domain name comes > from the $_SERVER['SERVER_NAME'] env variable. > > This means it uses whichever domain name the users are hitting to access > the site. > > To "phase out" an old domain, you can just configure your web server to > redirect the old one to the new one, perhaps with mod_rewrite. > > ~Keith > > > On 11/09/2016 11:01 AM, Matthew Moore wrote: > > Hi all, > > > > My zend.to installation has two domain names, I'm trying to phase one > out. However it happens to be the domain which is used in the email which > is sent out to users. How do I change that email address? > > > > I can't find an option in any of the config files to change it. > > > > Thanks, > > > > Matthew Moore > > > > Senior Server Engineer and Team Leader > > University IT Service > > Cardiff University > > 42 Park Place > > Cardiff > > CF10 3BB > > Tel: +44 (0)29 2087 0867 > > Email: moorem10 at cardiff.ac.uk > > > > Matthew M?oore > > > > > > Gwasanaeth TG y Brifysgol > > Prifysgol Caerdydd > > 42 Plas y Parc > > Caerdydd > > CF10 3BB > > Ff?n : +44 (0)29 2087 0867 > > E-bost: moorem10 at cardiff.ac.uk ? > > > > > > _______________________________________________ > > ZendTo mailing list > > ZendTo at zend.to > > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161109/0759edae/attachment-0001.html From kbe2 at lehigh.edu Wed Nov 9 17:21:43 2016 From: kbe2 at lehigh.edu (Keith Erekson) Date: Wed, 9 Nov 2016 12:21:43 -0500 Subject: [ZendTo] Changing dropoff link in emails sent out In-Reply-To: References: <00201f17-5397-332c-78f9-5809e552f03d@lehigh.edu> Message-ID: <2395869c-7b72-413f-ddec-ee9329b6b6c3@lehigh.edu> Apologies. I thought you were asking about the pickup URL in the email, not the "from" address that the emails themselves come from. ~Keith On 11/09/2016 11:18 AM, Matthew Moore wrote: > Hi Keith, > > So if the user accesses zend.to via the new domain, the new domain will be in the emails. > > That's a nice easy fix. Thanks for that. I was going to put a redirect in with apache anyway. > Cheers, > > Matthew Moore > > Senior Server Engineer and Team Leader > University IT Service > Cardiff University > 42 Park Place > Cardiff > CF10 3BB > Tel: +44 (0)29 2087 0867 > Email: moorem10 at cardiff.ac.uk > > Matthew M?oore > > > Gwasanaeth TG y Brifysgol > Prifysgol Caerdydd > 42 Plas y Parc > Caerdydd > CF10 3BB > Ff?n : +44 (0)29 2087 0867 > E-bost: moorem10 at cardiff.ac.uk ? > > > ________________________________________ > From: zendto-bounces at zend.to on behalf of Keith Erekson > Sent: 09 November 2016 16:10:21 > To: ZendTo Users > Subject: Re: [ZendTo] Changing dropoff link in emails sent out > > The URL is assembled in lib/NSSDropbox.php, and the domain name comes > from the $_SERVER['SERVER_NAME'] env variable. > > This means it uses whichever domain name the users are hitting to access > the site. > > To "phase out" an old domain, you can just configure your web server to > redirect the old one to the new one, perhaps with mod_rewrite. > > ~Keith > > > On 11/09/2016 11:01 AM, Matthew Moore wrote: >> Hi all, >> >> My zend.to installation has two domain names, I'm trying to phase one out. However it happens to be the domain which is used in the email which is sent out to users. How do I change that email address? >> >> I can't find an option in any of the config files to change it. >> >> Thanks, >> >> Matthew Moore >> >> Senior Server Engineer and Team Leader >> University IT Service >> Cardiff University >> 42 Park Place >> Cardiff >> CF10 3BB >> Tel: +44 (0)29 2087 0867 >> Email: moorem10 at cardiff.ac.uk >> >> Matthew M?oore >> >> >> Gwasanaeth TG y Brifysgol >> Prifysgol Caerdydd >> 42 Plas y Parc >> Caerdydd >> CF10 3BB >> Ff?n : +44 (0)29 2087 0867 >> E-bost: moorem10 at cardiff.ac.uk ? >> >> >> _______________________________________________ >> ZendTo mailing list >> ZendTo at zend.to >> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto From Jules at Zend.To Wed Nov 9 17:38:54 2016 From: Jules at Zend.To (Jules) Date: Wed, 9 Nov 2016 17:38:54 +0000 Subject: [ZendTo] Changing dropoff link in emails sent out In-Reply-To: References: <00201f17-5397-332c-78f9-5809e552f03d@lehigh.edu> Message-ID: <31a5b373-d32e-282d-884f-c224dd0197b0@Zend.To> Matthew, The "EmailSenderAddress" defined in /opt/zendto/zendto.conf will be used if it is set. If it is not set in zendto.conf, it works it out from ServiceTitle where "ServiceTitle" is defined in zendto.conf, username is the name of the user that is running the web server (usually httpd or apache), servername is the name of the server as defined in the httpd.conf. This will set the "From:" header in the message (what the recipient users will see in their email package), but it will not affect the "enveloper sender" address that intermediate mail servers will see. If you don't know the difference between the From: and the envelope sender address, I expect Wikipedia can help. I did at one point add the "-f" option and its argument into the call to the PHP mail() function, but I took it out again as there were security concerns over it. If you do need to set the envelope sender address as well, then I would probably advise setting the "sendmail_path" value in php.ini by adding -f from at mydomain.com to the end of it, as mentioned by Kris Lou. It's described here: http://mailman.ecs.soton.ac.uk/pipermail/zendto/2012-November/001855.html P.S. I'm currently working solidly on getting everything working with RHEL 7 and CentOS 7. All the firewall stuff, SELinux, the lot. Fortunately the PHP rebuild is a *lot* simpler on RHEL 7 than it was on RHEL 6. And CentOS 7 is even easier. The only bit I'm not looking forward to is working out how to make the RPM file work for both 6 and 7. Not sure how to do that yet. All suggestions/pointers to examples are most welcome! P.P.S. Unfortunately I don't have easy access to a vSphere any more, so may not be able to produce VM images. Cheers, Jules. On 09/11/2016 16:18, Matthew Moore wrote: > Hi Keith, > > So if the user accesses zend.to via the new domain, the new domain will be in the emails. > > That's a nice easy fix. Thanks for that. I was going to put a redirect in with apache anyway. > Cheers, > > Matthew Moore > > Senior Server Engineer and Team Leader > University IT Service > Cardiff University > 42 Park Place > Cardiff > CF10 3BB > Tel: +44 (0)29 2087 0867 > Email: moorem10 at cardiff.ac.uk > > Matthew M?oore > > > Gwasanaeth TG y Brifysgol > Prifysgol Caerdydd > 42 Plas y Parc > Caerdydd > CF10 3BB > Ff?n : +44 (0)29 2087 0867 > E-bost: moorem10 at cardiff.ac.uk ? > > > ________________________________________ > From: zendto-bounces at zend.to on behalf of Keith Erekson > Sent: 09 November 2016 16:10:21 > To: ZendTo Users > Subject: Re: [ZendTo] Changing dropoff link in emails sent out > > The URL is assembled in lib/NSSDropbox.php, and the domain name comes > from the $_SERVER['SERVER_NAME'] env variable. > > This means it uses whichever domain name the users are hitting to access > the site. > > To "phase out" an old domain, you can just configure your web server to > redirect the old one to the new one, perhaps with mod_rewrite. > > ~Keith > > > On 11/09/2016 11:01 AM, Matthew Moore wrote: >> Hi all, >> >> My zend.to installation has two domain names, I'm trying to phase one out. However it happens to be the domain which is used in the email which is sent out to users. How do I change that email address? >> >> I can't find an option in any of the config files to change it. >> >> Thanks, >> >> Matthew Moore >> >> Senior Server Engineer and Team Leader >> University IT Service >> Cardiff University >> 42 Park Place >> Cardiff >> CF10 3BB >> Tel: +44 (0)29 2087 0867 >> Email: moorem10 at cardiff.ac.uk >> >> Matthew M?oore >> >> >> Gwasanaeth TG y Brifysgol >> Prifysgol Caerdydd >> 42 Plas y Parc >> Caerdydd >> CF10 3BB >> Ff?n : +44 (0)29 2087 0867 >> E-bost: moorem10 at cardiff.ac.uk ? >> >> >> _______________________________________________ >> ZendTo mailing list >> ZendTo at zend.to >> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng 'Science is an integral part of culture. It's not this foreign thing, done by an arcane priesthood. It's one of the glories of human intellectual tradition.' - Stephen Jay Gould www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 From MooreM10 at cardiff.ac.uk Wed Nov 9 18:33:05 2016 From: MooreM10 at cardiff.ac.uk (Matthew Moore) Date: Wed, 9 Nov 2016 18:33:05 +0000 Subject: [ZendTo] Changing dropoff link in emails sent out In-Reply-To: <2395869c-7b72-413f-ddec-ee9329b6b6c3@lehigh.edu> References: <00201f17-5397-332c-78f9-5809e552f03d@lehigh.edu> , <2395869c-7b72-413f-ddec-ee9329b6b6c3@lehigh.edu> Message-ID: Keith, Yes, I meant the pickup URL. Everyone else - sorry I didn't make myself clear, I meant the URL in the body of the email, which users click on to pick up the files. The main issue that I'm having is the old URL doesn't work with recaptcha. I can fix that, but I'd like to get rid of it, so no time like the present. I did not mean the sender of the email. I think the redirect (which I was going to do anyway) will sort me out. Just wondering if there was a config option I could change. Cheers, Matthew Moore Senior Server Engineer and Team Leader University IT Service Cardiff University 42 Park Place Cardiff CF10 3BB Tel: +44 (0)29 2087 0867 Email: moorem10 at cardiff.ac.uk Matthew M?oore Gwasanaeth TG y Brifysgol Prifysgol Caerdydd 42 Plas y Parc Caerdydd CF10 3BB Ff?n : +44 (0)29 2087 0867 E-bost: moorem10 at cardiff.ac.uk ? ________________________________________ From: zendto-bounces at zend.to on behalf of Keith Erekson Sent: 09 November 2016 17:21:43 To: ZendTo Users Subject: Re: [ZendTo] Changing dropoff link in emails sent out Apologies. I thought you were asking about the pickup URL in the email, not the "from" address that the emails themselves come from. ~Keith On 11/09/2016 11:18 AM, Matthew Moore wrote: > Hi Keith, > > So if the user accesses zend.to via the new domain, the new domain will be in the emails. > > That's a nice easy fix. Thanks for that. I was going to put a redirect in with apache anyway. > Cheers, > > Matthew Moore > > Senior Server Engineer and Team Leader > University IT Service > Cardiff University > 42 Park Place > Cardiff > CF10 3BB > Tel: +44 (0)29 2087 0867 > Email: moorem10 at cardiff.ac.uk > > Matthew M?oore > > > Gwasanaeth TG y Brifysgol > Prifysgol Caerdydd > 42 Plas y Parc > Caerdydd > CF10 3BB > Ff?n : +44 (0)29 2087 0867 > E-bost: moorem10 at cardiff.ac.uk ? > > > ________________________________________ > From: zendto-bounces at zend.to on behalf of Keith Erekson > Sent: 09 November 2016 16:10:21 > To: ZendTo Users > Subject: Re: [ZendTo] Changing dropoff link in emails sent out > > The URL is assembled in lib/NSSDropbox.php, and the domain name comes > from the $_SERVER['SERVER_NAME'] env variable. > > This means it uses whichever domain name the users are hitting to access > the site. > > To "phase out" an old domain, you can just configure your web server to > redirect the old one to the new one, perhaps with mod_rewrite. > > ~Keith > > > On 11/09/2016 11:01 AM, Matthew Moore wrote: >> Hi all, >> >> My zend.to installation has two domain names, I'm trying to phase one out. However it happens to be the domain which is used in the email which is sent out to users. How do I change that email address? >> >> I can't find an option in any of the config files to change it. >> >> Thanks, >> >> Matthew Moore >> >> Senior Server Engineer and Team Leader >> University IT Service >> Cardiff University >> 42 Park Place >> Cardiff >> CF10 3BB >> Tel: +44 (0)29 2087 0867 >> Email: moorem10 at cardiff.ac.uk >> >> Matthew M?oore >> >> >> Gwasanaeth TG y Brifysgol >> Prifysgol Caerdydd >> 42 Plas y Parc >> Caerdydd >> CF10 3BB >> Ff?n : +44 (0)29 2087 0867 >> E-bost: moorem10 at cardiff.ac.uk ? >> >> >> _______________________________________________ >> ZendTo mailing list >> ZendTo at zend.to >> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto _______________________________________________ ZendTo mailing list ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto From websoul67 at gmail.com Sun Nov 6 19:51:18 2016 From: websoul67 at gmail.com (Rajib Sarkar) Date: Sun, 6 Nov 2016 14:51:18 -0500 Subject: [ZendTo] Upload error Message-ID: 1. After much difficulty I finally installed but I am unable to dropoff a file. Here is what I have done so far Installed clam - log getting created in Clamav directory connected to MySQL, inserted 2 user user A and user b in the usertable using sql with 2 MB quota now loggin in as user A to sending the file to User B and I get this error. ============ Upload Error Unable to add a dropoff record to the database, please notify the administrator. =============== No files in the dropoff... something is amiss!===== What can be the problem?? Please help! Rajib [image: Inline image 1] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161106/6ff9d896/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 102891 bytes Desc: not available Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161106/6ff9d896/attachment-0001.png From darek at willowelectric.com Wed Nov 9 18:24:39 2016 From: darek at willowelectric.com (Dariusz Radoszek) Date: Wed, 9 Nov 2016 12:24:39 -0600 Subject: [ZendTo] Unable to write to DB In-Reply-To: <796146345C18F14E8B9C4C5793409100011E503E7B@arborexmbx2.UTORARBOR.UTORAD.Utoronto.ca> References: <796146345C18F14E8B9C4C5793409100011E503E7B@arborexmbx2.UTORARBOR.UTORAD.Utoronto.ca> Message-ID: <1ab88629-4006-92bb-ec31-27db7ecc8430@willowelectric.com> I'm having the same problem after upgrading to MySQL 5.6. I'm currently on version 5.6.34. It was working perfectly for couple of years on 5.5. Trying to drop any file either from library or as an upload gives me this message: Upload Error Unable to add a dropoff record to the database, please notify the administrator. I can't find anything helpful after enabling MySQL query log. -- Darek From darek at willowelectric.com Thu Nov 10 17:40:17 2016 From: darek at willowelectric.com (Dariusz Radoszek) Date: Thu, 10 Nov 2016 11:40:17 -0600 Subject: [ZendTo] Upload error In-Reply-To: References: Message-ID: <58779361-2012-9985-872f-5847313abede@willowelectric.com> I'm having the same problem since upgrading to MySQL 5.6. It was working fine on MySQL 5.5. -- Dariusz Radoszek On 11/6/2016 1:51 PM, Rajib Sarkar wrote: > 1. After much difficulty I finally installed but I am unable to dropoff > a file. Here is what I have done so far > > Installed clam - log getting created in Clamav directory > connected to MySQL, > inserted 2 user user A and user b in the usertable using sql with 2 MB quota > now loggin in as user A to > sending the file to User B > and I get this error. > ============ > Upload Error > Unable to add a dropoff record to the database, please notify the > administrator. > =============== > No files in the dropoff... something is amiss! > > ===== > > > What can be the problem?? Please help! > Rajib > > > Inline image 1 > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > From Jules at Zend.To Thu Nov 10 17:46:52 2016 From: Jules at Zend.To (Jules) Date: Thu, 10 Nov 2016 17:46:52 +0000 Subject: [ZendTo] Unable to write to DB In-Reply-To: <1ab88629-4006-92bb-ec31-27db7ecc8430@willowelectric.com> References: <796146345C18F14E8B9C4C5793409100011E503E7B@arborexmbx2.UTORARBOR.UTORAD.Utoronto.ca> <1ab88629-4006-92bb-ec31-27db7ecc8430@willowelectric.com> Message-ID: <5bcecb95-7475-a8ca-c5a3-b4017a346d1c@Zend.To> Test a manual connection to the database using the "mysql" command with the credentials given in your /opt/zendto/config/preferences.php file. Does "show tables;" list the tables you expect? If you need to recreate the database, then this should do it: # service mysqld start # mysql mysql> CREATE DATABASE zendto; mysql> GRANT ALL PRIVILEGES ON zendto.* TO zendto at localhost IDENTIFIED by 'zendtopassword'; mysql> quit where "zendtopassword" is a password of your own. # mysql --user=zendto --password='zendtopassword' zendto < /opt/zendto/sql/zendto.MySQL (where you should obviously substitute things with the correct username, password and database name as set in your preferences.php file). Hope that helps, Jules. On 09/11/2016 18:24, Dariusz Radoszek wrote: > I'm having the same problem after upgrading to MySQL 5.6. I'm currently > on version 5.6.34. It was working perfectly for couple of years on 5.5. > Trying to drop any file either from library or as an upload gives me > this message: > > Upload Error > Unable to add a dropoff record to the database, please notify the > administrator. > > I can't find anything helpful after enabling MySQL query log. > Jules -- Julian Field MEng MBCS CITP CEng 'The best and most beautiful things in life cannot be seen or even touched; they must be felt with the heart.' - Helen Keller www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 From darek at willowelectric.com Thu Nov 10 17:56:21 2016 From: darek at willowelectric.com (Dariusz Radoszek) Date: Thu, 10 Nov 2016 11:56:21 -0600 Subject: [ZendTo] Unable to write to DB In-Reply-To: <5bcecb95-7475-a8ca-c5a3-b4017a346d1c@Zend.To> References: <796146345C18F14E8B9C4C5793409100011E503E7B@arborexmbx2.UTORARBOR.UTORAD.Utoronto.ca> <1ab88629-4006-92bb-ec31-27db7ecc8430@willowelectric.com> <5bcecb95-7475-a8ca-c5a3-b4017a346d1c@Zend.To> Message-ID: mysql> show tables; +------------------+ | Tables_in_zendto | +------------------+ | addressbook | | authtable | | dropoff | | file | | librarydesc | | loginlog | | pickup | | recipient | | regexps | | reqtable | | usertable | +------------------+ 11 rows in set (0.00 sec) I recreated database but it didn't help. -- Dariusz Radoszek On 11/10/2016 11:46 AM, Jules wrote: > Test a manual connection to the database using the "mysql" command with > the credentials given in your /opt/zendto/config/preferences.php file. > Does "show tables;" list the tables you expect? > > If you need to recreate the database, then this should do it: > # service mysqld start > # mysql > mysql> CREATE DATABASE zendto; > mysql> GRANT ALL PRIVILEGES ON zendto.* TO zendto at localhost > IDENTIFIED by 'zendtopassword'; > mysql> quit > where "zendtopassword" is a password of your own. > # mysql --user=zendto --password='zendtopassword' zendto < > /opt/zendto/sql/zendto.MySQL > > (where you should obviously substitute things with the correct username, > password and database name as set in your preferences.php file). > > Hope that helps, > Jules. > > > On 09/11/2016 18:24, Dariusz Radoszek wrote: >> I'm having the same problem after upgrading to MySQL 5.6. I'm currently >> on version 5.6.34. It was working perfectly for couple of years on 5.5. >> Trying to drop any file either from library or as an upload gives me >> this message: >> >> Upload Error >> Unable to add a dropoff record to the database, please notify the >> administrator. >> >> I can't find anything helpful after enabling MySQL query log. >> > > Jules > From dparham at cshlaw.com Thu Nov 10 17:56:42 2016 From: dparham at cshlaw.com (David Parham) Date: Thu, 10 Nov 2016 17:56:42 +0000 Subject: [ZendTo] question regarding change of relay server Message-ID: Hey I changed my postfix/Main.cf file relay host to be a new mail server, from a decommissioned server ip to the correct ip. Yet now it turns out that our Fileshare [zendto] cannot even ping the new server. Anyone know how to change the routing table to enable the fileshare/zendto server to use the other nw adapter? It uses one currently that goes directly outside. I need it to go to the other nw adapter. Let me know the best way to get this question out. Thx for being there! Cranfill Sumner & Hartzog LLP David Parham Systems Analyst P +19198638828 F +19198633427 5420 Wade Park Blvd. Suite 300 Raleigh, NC 27607 Post Office Box 27808 Raleigh, NC 27611-7808 WWW.CSHLAW.COM Confidentiality Notice: If you are not the intended recipient of this message, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this communication. This communication may contain information that is proprietary, attorney/client privileged, attorney work product, confidential or otherwise legally exempt from disclosure. If you have received this message in error, please notify the sender immediately either by phone at +18008494444 or by return e-mail and destroy all copies of this message (electronic, paper, or otherwise.). -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161110/dfc0ca84/attachment.html From mike.brudenell at york.ac.uk Fri Nov 11 09:08:12 2016 From: mike.brudenell at york.ac.uk (Mike Brudenell) Date: Fri, 11 Nov 2016 09:08:12 +0000 Subject: [ZendTo] A head's up about the mailing list Message-ID: Just a head's up to the person/people who run the mailing list? For the past few months Google are now flagging all messages form the list with a a red "this message is a little suspicious" question mark indicator because there's no valid SPF or DKIM for it. It needs one or both of: - an SPF record setting up for the "zend.to" domain that authorises the mail servers transmitting the list's messages to do so, and/or - DKIM signatures being added to the messages, ideally with "d=zend.to" as the attribute in the signature. Adding either or both of these should eliminate the warnings. Cheers, Mike B-) -- Systems Administrator & Change Manager IT Services, University of York, Heslington, York YO10 5DD, UK Tel: +44-(0)1904-323811 Web: www.york.ac.uk/it-services Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161111/fb1d6b78/attachment-0001.html From Stewart.Campbell at pulsion.co.uk Fri Nov 11 09:16:17 2016 From: Stewart.Campbell at pulsion.co.uk (Stewart Campbell) Date: Fri, 11 Nov 2016 09:16:17 +0000 Subject: [ZendTo] A head's up about the mailing list In-Reply-To: References: Message-ID: I sent an email regarding this a while ago. Domains that have SPF/DKIM/DMARC set up will have problems even sending mail to this list as it sends all list emails ?on behalf of? the sender. My domain does not have this list in its SPF record so it will fail. From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Mike Brudenell Sent: 11 November 2016 09:08 To: ZendTo Users Subject: [ZendTo] A head's up about the mailing list Just a head's up to the person/people who run the mailing list? For the past few months Google are now flagging all messages form the list with a a red "this message is a little suspicious" question mark indicator because there's no valid SPF or DKIM for it. It needs one or both of: * an SPF record setting up for the "zend.to" domain that authorises the mail servers transmitting the list's messages to do so, and/or * DKIM signatures being added to the messages, ideally with "d=zend.to" as the attribute in the signature. Adding either or both of these should eliminate the warnings. Cheers, Mike B-) -- Systems Administrator & Change Manager IT Services, University of York, Heslington, York YO10 5DD, UK Tel: +44-(0)1904-323811 Web: www.york.ac.uk/it-services Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161111/1045c70f/attachment.html From Jules at Zend.To Fri Nov 11 11:24:41 2016 From: Jules at Zend.To (Jules) Date: Fri, 11 Nov 2016 11:24:41 +0000 Subject: [ZendTo] A head's up about the mailing list In-Reply-To: References: Message-ID: I've just added an SPF record for the domain. Any thoughts on fixing the "on behalf of" issue? Thanks! Jules. On 11/11/2016 09:16, Stewart Campbell wrote: > > I sent an email regarding this a while ago. Domains that have > SPF/DKIM/DMARC set up will have problems even sending mail to this > list as it sends all list emails ?on behalf of? the sender. My domain > does not have this list in its SPF record so it will fail. > > *From:*zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On > Behalf Of *Mike Brudenell > *Sent:* 11 November 2016 09:08 > *To:* ZendTo Users > *Subject:* [ZendTo] A head's up about the mailing list > > Just a head's up to the person/people who run the mailing list? > > For the past few months Google are now flagging all messages form the > list with a a red "this message is a little suspicious" question mark > indicator because there's no valid SPF or DKIM for it. > > It needs one or both of: > > * an SPF record setting up for the "zend.to " domain > that authorises the mail servers transmitting the list's messages > to do so, and/or > * DKIM signatures being added to the messages, ideally with > "d=zend.to " as the attribute in the signature. > > Adding either or both of these should eliminate the warnings. > > Cheers, > > Mike B-) > > -- > > Systems Administrator & Change Manager > > IT Services, University of York, Heslington, York YO10 5DD, UK > > Tel: +44-(0)1904-323811 > > Web: www.york.ac.uk/it-services > > Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm > > > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161111/f213b7d9/attachment-0001.html From Stewart.Campbell at pulsion.co.uk Fri Nov 11 11:44:32 2016 From: Stewart.Campbell at pulsion.co.uk (Stewart Campbell) Date: Fri, 11 Nov 2016 11:44:32 +0000 Subject: [ZendTo] A head's up about the mailing list In-Reply-To: References: Message-ID: The failing for the ?on behalf of? issue is actually DKIM ? I checked that earlier. Then because there was no SPF record for zend.to and DKIM failed, DMARC quarantined the mail. Now you have set the SPF for zend.to, SPF should pass and DKIM will still fail, but this will mean that DMARC will pass. Everything should be ok now. Assuming the DNS change has propagated then this email should no longer be quarantined. From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Jules Sent: 11 November 2016 11:25 To: ZendTo Users Subject: Re: [ZendTo] A head's up about the mailing list I've just added an SPF record for the domain. Any thoughts on fixing the "on behalf of" issue? Thanks! Jules. On 11/11/2016 09:16, Stewart Campbell wrote: I sent an email regarding this a while ago. Domains that have SPF/DKIM/DMARC set up will have problems even sending mail to this list as it sends all list emails ?on behalf of? the sender. My domain does not have this list in its SPF record so it will fail. From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Mike Brudenell Sent: 11 November 2016 09:08 To: ZendTo Users Subject: [ZendTo] A head's up about the mailing list Just a head's up to the person/people who run the mailing list? For the past few months Google are now flagging all messages form the list with a a red "this message is a little suspicious" question mark indicator because there's no valid SPF or DKIM for it. It needs one or both of: * an SPF record setting up for the "zend.to" domain that authorises the mail servers transmitting the list's messages to do so, and/or * DKIM signatures being added to the messages, ideally with "d=zend.to" as the attribute in the signature. Adding either or both of these should eliminate the warnings. Cheers, Mike B-) -- Systems Administrator & Change Manager IT Services, University of York, Heslington, York YO10 5DD, UK Tel: +44-(0)1904-323811 Web: www.york.ac.uk/it-services Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm _______________________________________________ ZendTo mailing list ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161111/f5002792/attachment.html From Jules at Zend.To Fri Nov 11 12:42:46 2016 From: Jules at Zend.To (Jules) Date: Fri, 11 Nov 2016 12:42:46 +0000 Subject: [ZendTo] Unable to write to DB In-Reply-To: References: <796146345C18F14E8B9C4C5793409100011E503E7B@arborexmbx2.UTORARBOR.UTORAD.Utoronto.ca> <1ab88629-4006-92bb-ec31-27db7ecc8430@willowelectric.com> <5bcecb95-7475-a8ca-c5a3-b4017a346d1c@Zend.To> Message-ID: If you select * from file; does it list all the files, including recent ones? I'm wondering if it's a MySQL permissions problem. Can you use /opt/zendto/bin/adduser.php to add a user to the "usertable"? If it lets you, then do select * from usertable; to check your new user is actually there. On 10/11/2016 17:56, Dariusz Radoszek wrote: > mysql> show tables; > +------------------+ > | Tables_in_zendto | > +------------------+ > | addressbook | > | authtable | > | dropoff | > | file | > | librarydesc | > | loginlog | > | pickup | > | recipient | > | regexps | > | reqtable | > | usertable | > +------------------+ > 11 rows in set (0.00 sec) > > I recreated database but it didn't help. > Jules -- Julian Field MEng MBCS CITP CEng '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 PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 From Jules at Zend.To Fri Nov 11 12:46:42 2016 From: Jules at Zend.To (Jules) Date: Fri, 11 Nov 2016 12:46:42 +0000 Subject: [ZendTo] question regarding change of relay server In-Reply-To: References: Message-ID: This depends entirely on what version of Unix/Linux you are using. There are plenty of resources out there that will help you with your network configuration on a Linux box. You may just need to change the default gateway to the router address for the internal network. If you want to use both network interfaces at the same time, then you're going to have to be careful about how you set up your routes. Cheers, Jules. On 10/11/2016 17:56, David Parham wrote: > > Hey I changed my postfix/Main.cf file relay host to be a new mail > server, from a decommissioned server ip to the correct ip. Yet now it > turns out that our Fileshare [zendto] cannot even ping the new server. > Anyone know how to change the routing table to enable the > fileshare/zendto server to use the other nw adapter? It uses one > currently that goes directly outside. I need it to go to the other nw > adapter. > > Let me know the best way to get this question out. Thx for being there! > > Cranfill Sumner & Hartzog LLP > *David Parham* > /Systems Analyst/ > > *P# +19198638828 > F# +19198633427 > > 5420 Wade Park Blvd. Suite 300 > Raleigh, NC 27607 > > Post Office Box 27808 > Raleigh, NC 27611-7808 * > > Cranfill Sumner & Hartzog LLP Cranfill Sumner > & Hartzog LLP > > Cranfill Sumner & Hartzog LLP Cranfill > Sumner & Hartzog LLP > > WWW.CSHLAW.COM > > > > *_Confidentiality Notice_: If you are not the intended recipient of > this message, you are not authorized to intercept, read, print, > retain, copy, forward, or disseminate this communication. This > communication may contain information that is proprietary, > attorney/client privileged, attorney work product, confidential or > otherwise legally exempt from disclosure. If you have received this > message in error, please notify the sender immediately either by phone > at +18008494444 or by return e-mail and destroy all copies of this > message (electronic, paper, or otherwise). * > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng 'I have lost friends, some by death ... others through sheer inability to cross the street.' - Virginia Woolf www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161111/149c242d/attachment.html From darek at willowelectric.com Fri Nov 11 14:29:46 2016 From: darek at willowelectric.com (Dariusz Radoszek) Date: Fri, 11 Nov 2016 08:29:46 -0600 Subject: [ZendTo] Unable to write to DB In-Reply-To: References: <796146345C18F14E8B9C4C5793409100011E503E7B@arborexmbx2.UTORARBOR.UTORAD.Utoronto.ca> <1ab88629-4006-92bb-ec31-27db7ecc8430@willowelectric.com> <5bcecb95-7475-a8ca-c5a3-b4017a346d1c@Zend.To> Message-ID: <233fade9-4388-b1d2-4e04-99fdc907f6a6@willowelectric.com> On 11/11/2016 6:42 AM, Jules wrote: > If you > select * from file; > does it list all the files, including recent ones? mysql> select * from file; Empty set (0.01 sec) But I don't have any existing dropoffs there so I think it should be empty. And I can't add anything new because of that error. > I'm wondering if it's a MySQL permissions problem. Can you use > /opt/zendto/bin/adduser.php to add a user to the "usertable"? > If it lets you, then do > select * from usertable; > to check your new user is actually there. Yes I can add new user and it shows in usertable and can login trough web. It stopped working after I upgraded from MySQL 5.5 to 5.6. I didn't change anything else. -- Dariusz Radoszek > On 10/11/2016 17:56, Dariusz Radoszek wrote: >> mysql> show tables; >> +------------------+ >> | Tables_in_zendto | >> +------------------+ >> | addressbook | >> | authtable | >> | dropoff | >> | file | >> | librarydesc | >> | loginlog | >> | pickup | >> | recipient | >> | regexps | >> | reqtable | >> | usertable | >> +------------------+ >> 11 rows in set (0.00 sec) >> >> I recreated database but it didn't help. >> > > Jules > From mike.brudenell at york.ac.uk Fri Nov 11 16:06:09 2016 From: mike.brudenell at york.ac.uk (Mike Brudenell) Date: Fri, 11 Nov 2016 16:06:09 +0000 Subject: [ZendTo] A head's up about the mailing list In-Reply-To: References: Message-ID: Hi, Jules - There's still a problem with the SPF record for the zend.to domain I'm afraid? We're seeing messages arriving from IPv6 addresses, which aren't listed in your SPF record and so are not generating SOFTFAIL results for SPF checks. For example a message at 12:42 had this Received header Received: from falcon.ecs.soton.ac.uk (falcon.ecs.soton.ac.uk. [2001:630:d0:f102::25e]) by mx.google.com with ESMTPS id vg1si10581610wjb.19.2016.11.11.06.42.24 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 11 Nov 2016 06:42:24 -0800 (PST) showing Google had received it from [2001:630:d0:f102::25e] The MX option in your SPF record picks up the various IPv6 addresses of your site's *inbound* mail servers, but I guess [2001:630:d0:f102::25e] is an outbound-only server so doesn't have MX records point to it, hence doesn't get included in the SPF data. You need to list the IP addresses/netblocks of all your outbound servers in the SPF record for zend.to In passing (and the IT staff might already know) the SPF record for your main soton.ac.uk domain is right at the maximum number of DNS lookups SPF permits: 10. I hope no-one adds and more entries requiting lookups to it! Cheers, Mike B-) On 11 November 2016 at 11:24, Jules wrote: > I've just added an SPF record for the domain. > Any thoughts on fixing the "on behalf of" issue? > > Thanks! > Jules. > > > On 11/11/2016 09:16, Stewart Campbell wrote: > > I sent an email regarding this a while ago. Domains that have > SPF/DKIM/DMARC set up will have problems even sending mail to this list as > it sends all list emails ?on behalf of? the sender. My domain does not have > this list in its SPF record so it will fail. > > > > > > *From:* zendto-bounces at zend.to [mailto:zendto-bounces at zend.to > ] *On Behalf Of *Mike Brudenell > *Sent:* 11 November 2016 09:08 > *To:* ZendTo Users > *Subject:* [ZendTo] A head's up about the mailing list > > > > Just a head's up to the person/people who run the mailing list? > > > > For the past few months Google are now flagging all messages form the list > with a a red "this message is a little suspicious" question mark indicator > because there's no valid SPF or DKIM for it. > > > > It needs one or both of: > > - an SPF record setting up for the "zend.to" domain that authorises > the mail servers transmitting the list's messages to do so, and/or > - DKIM signatures being added to the messages, ideally with "d=zend.to" > as the attribute in the signature. > > Adding either or both of these should eliminate the warnings. > > > > Cheers, > > Mike B-) > > > > -- > > Systems Administrator & Change Manager > > IT Services, University of York, Heslington, York YO10 5DD, UK > > Tel: +44-(0)1904-323811 > > > > Web: www.york.ac.uk/it-services > > Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm > > > _______________________________________________ > ZendTo mailing listZendTo at zend.tohttp://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > > > Jules > > -- > Julian Field MEng MBCS CITP CEng > > www.Zend.To > Twitter: @JulesFM > PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > -- Systems Administrator & Change Manager IT Services, University of York, Heslington, York YO10 5DD, UK Tel: +44-(0)1904-323811 Web: www.york.ac.uk/it-services Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161111/723bd3fc/attachment-0001.html From mike.brudenell at york.ac.uk Fri Nov 11 16:18:30 2016 From: mike.brudenell at york.ac.uk (Mike Brudenell) Date: Fri, 11 Nov 2016 16:18:30 +0000 Subject: [ZendTo] A head's up about the mailing list In-Reply-To: References: Message-ID: Almost, but not quite? On 11 November 2016 at 11:44, Stewart Campbell < Stewart.Campbell at pulsion.co.uk> wrote: > The failing for the ?on behalf of? issue is actually DKIM ? I checked that > earlier. Then because there was no SPF record for zend.to and DKIM > failed, DMARC quarantined the mail. > Previously the messages lacked both a valid SPF record and a DKIM-Signature header. Both being missing meant that Google was flagging list messages with a red warning question mark. (If there's no DKIM-Signature header present the receiving site has no way of knowing whether it should have been there, as the DKIM-Signature header provides the "d=" and "s=" data to form the DNS name to look up to retrieve the public key. No DKIM-Signature header = no DNS lookup.) There's no DMARC policy published for the zend.to domain, so the receiving site can't apply a DMARC policy/quarantine the incoming message because of it. Now you have set the SPF for zend.to, SPF should pass and DKIM will still > fail, but this will mean that DMARC will pass. Everything should be ok now. > Assuming the DNS change has propagated then this email should no longer be > quarantined. > What I'd suggest is: 1. Correct the SPF record for zend.to to include all of the outgoing servers' IP addresses; currently it's missing some. 2. Add a DKIM signature to messages signed using "d=zend.to"; this will help messages get delivered, especially if they're forwarded through a non-SRS capable server (which will break the SPF test). 3. Probably continue not publishing a DMARC record? Creating one would have to rely solely on the SPF test passing (which can fail if forwarding/other mailing lists are involved). You can't get the DMARC-enhanced DKIM test to pass as it requires the domain of the DKIM-Signature header to align with the address in the "From:" header. As the latter is currently the email address of whichever member sent the message to the list they won't align. DMARC and mailing lists don't play nicely unless the mailing list software is a recent version and configured to be DMARC friendly. Typically the rewrite the "From:" header to put the sender's name and address into the textual name field, then use an address from the mailing list's own domain in the "From:" header's actual email address. Recent versions of GNU Mailman etc can do this. If it's not done then life is going to get? interesting? for people like myself. We're planning to publish a strict DMARC policy in 2017 saying that only servers listed in our SPF record or with york.ac.uk DKIM signatures are authorised to use "@york.ac.uk" addresses in our "From:" headers. As it stands I'm not sure how that "the zend.to list breaks this requirement" will fir with "but the list's own SPF details pass as it's using an '@ zend.to' in the envelope MAIL FROM"! So you might find my posts to the list suddenly start being quarantined. (OK, who was that cheering!!) Cheers, Mike B-) -- Systems Administrator & Change Manager IT Services, University of York, Heslington, York YO10 5DD, UK Tel: +44-(0)1904-323811 Web: www.york.ac.uk/it-services Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161111/16d7a766/attachment.html From Jules at Zend.To Mon Nov 14 09:18:39 2016 From: Jules at Zend.To (Jules) Date: Mon, 14 Nov 2016 09:18:39 +0000 Subject: [ZendTo] A head's up about the mailing list In-Reply-To: References: Message-ID: Mike, I've just fixed the lack of IPv6 in the SPF record. I'm very wary of updating our mailman install, as there are a lot of lists on it, and lots of people would be very upset if a "yum upgrade mailman" did something horrible. I'm not even supposed to be looking after our mail system any more, I just do the minimum necessary fixes to keep it working. Let's see if the IPv6 SPF record is enough to keep us going for now. :-/ Thanks! Jules. On 11/11/2016 16:06, Mike Brudenell wrote: > Hi, Jules - > > There's still a problem with the SPF record for the zend.to > domain I'm afraid? > > We're seeing messages arriving from IPv6 addresses, which aren't > listed in your SPF record and so are not generating SOFTFAIL results > for SPF checks. > > For example a message at 12:42 had this Received header > > Received: from falcon.ecs.soton.ac.uk > (falcon.ecs.soton.ac.uk > . [2001:630:d0:f102::25e]) > by mx.google.com with ESMTPS id > vg1si10581610wjb.19.2016.11.11.06.42.24 > (version=TLS1 cipher=AES128-SHA bits=128/128); > Fri, 11 Nov 2016 06:42:24 -0800 (PST) > > > showing Google had received it from [2001:630:d0:f102::25e] > > The MX option in your SPF record picks up the various IPv6 addresses > of your site's _inbound_ mail servers, but I > guess [2001:630:d0:f102::25e] is an outbound-only server so doesn't > have MX records point to it, hence doesn't get included in the SPF data. > > You need to list the IP addresses/netblocks of all your outbound > servers in the SPF record for zend.to > > In passing (and the IT staff might already know) the SPF record for > your main soton.ac.uk domain is right at the > maximum number of DNS lookups SPF permits: 10. I hope no-one adds and > more entries requiting lookups to it! > > Cheers, > Mike B-) > > On 11 November 2016 at 11:24, Jules > wrote: > > I've just added an SPF record for the domain. > Any thoughts on fixing the "on behalf of" issue? > > Thanks! > Jules. > > > On 11/11/2016 09:16, Stewart Campbell wrote: >> >> I sent an email regarding this a while ago. Domains that have >> SPF/DKIM/DMARC set up will have problems even sending mail to >> this list as it sends all list emails ?on behalf of? the sender. >> My domain does not have this list in its SPF record so it will fail. >> >> *From:*zendto-bounces at zend.to >> [mailto:zendto-bounces at zend.to] *On Behalf Of *Mike Brudenell >> *Sent:* 11 November 2016 09:08 >> *To:* ZendTo Users >> *Subject:* [ZendTo] A head's up about the mailing list >> >> Just a head's up to the person/people who run the mailing list? >> >> For the past few months Google are now flagging all messages form >> the list with a a red "this message is a little suspicious" >> question mark indicator because there's no valid SPF or DKIM for it. >> >> It needs one or both of: >> >> * an SPF record setting up for the "zend.to " >> domain that authorises the mail servers transmitting the >> list's messages to do so, and/or >> * DKIM signatures being added to the messages, ideally with >> "d=zend.to " as the attribute in the signature. >> >> Adding either or both of these should eliminate the warnings. >> >> Cheers, >> >> Mike B-) >> >> -- >> >> Systems Administrator & Change Manager >> >> IT Services, University of York, Heslington, York YO10 5DD, UK >> >> Tel: +44-(0)1904-323811 >> >> Web: www.york.ac.uk/it-services >> >> Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm >> >> >> >> >> _______________________________________________ >> ZendTo mailing list >> ZendTo at zend.to >> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto >> > > Jules > > -- > Julian Field MEng MBCS CITP CEng > > > www.Zend.To > Twitter: @JulesFM > PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 > > _______________________________________________ ZendTo mailing > list ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > > > -- > Systems Administrator & Change Manager > IT Services, University of York, Heslington, York YO10 5DD, UK > Tel: +44-(0)1904-323811 > Web:www.york.ac.uk/it-services > Disclaimer:www.york.ac.uk/docs/disclaimer/email.htm > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng 'Every morning when I wake, Dear Lord, a little prayer I make, O please do keep Thy lovely eye On all poor creatures born to die And every evening at sun-down I ask a blessing on the town, For whether we last the night or no I'm sure is always touch-and-go. We are not wholly bad or good Who live our lives under Milk Wood, And Thou, I know, wilt be the first To see our best side, not our worst. O let us see another day! Bless us all this night, I pray, And to the sun we all will bow And say, good-bye - but just for now!' - Dylan Thomas www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161114/e1749066/attachment.html From Jules at Zend.To Mon Nov 14 09:38:13 2016 From: Jules at Zend.To (Jules) Date: Mon, 14 Nov 2016 09:38:13 +0000 Subject: [ZendTo] Upload error In-Reply-To: References: <7ed629bd-1721-3987-aa2b-471aaf5184b5@Zend.To> Message-ID: Rajib, Many thanks for that! I've taken a look through the code, and there shouldn't be any nasty consequences of the Timestamp.php change. And yes, 32 is far too short for a mime type these days, thanks for spotting that one. Cheers, Jules. On 12/11/2016 17:42, Rajib Sarkar wrote: > Jules, Fixed the issue today. You might want to fix it at your end > for other users > > 1 Please increase the field length of mimetype column in table "File" > to 256 it is currently at 32 > > 2. change the time code in timestamp.php > return strftime('%Y-%m-%d %H:%M:%S',$timeSinceEpoch); > > This might be a typical problem in MySQL. but was able to dropoff and > pick up :) > > Thanks > > Jules -- Julian Field MEng MBCS CITP CEng 'Once is happenstance, twice is coincidence, three times is enemy action.' - Ian Fleming www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161114/b338f063/attachment-0001.html From Jules at Zend.To Mon Nov 14 09:39:52 2016 From: Jules at Zend.To (Jules) Date: Mon, 14 Nov 2016 09:39:52 +0000 Subject: [ZendTo] Unable to write to DB In-Reply-To: <233fade9-4388-b1d2-4e04-99fdc907f6a6@willowelectric.com> References: <796146345C18F14E8B9C4C5793409100011E503E7B@arborexmbx2.UTORARBOR.UTORAD.Utoronto.ca> <1ab88629-4006-92bb-ec31-27db7ecc8430@willowelectric.com> <5bcecb95-7475-a8ca-c5a3-b4017a346d1c@Zend.To> <233fade9-4388-b1d2-4e04-99fdc907f6a6@willowelectric.com> Message-ID: <7ea71370-e4cf-c06c-9b97-295a0247275a@Zend.To> Dariusz, I've got a potential fix. Edit /opt/zendto/lib/Timestamp.php and you'll find a line which looks roughly like this: return strftime('%Y-%m-%d %H:%M:%S',$timeSinceEpoch); The change is that the old line had %z on the end of the string passed to strftime(). Remove the %z and try it again. Let me know how you get on. Cheers, Jules. On 11/11/2016 14:29, Dariusz Radoszek wrote: > On 11/11/2016 6:42 AM, Jules wrote: >> If you >> select * from file; >> does it list all the files, including recent ones? > mysql> select * from file; > Empty set (0.01 sec) > > But I don't have any existing dropoffs there so I think it should be > empty. And I can't add anything new because of that error. > >> I'm wondering if it's a MySQL permissions problem. Can you use >> /opt/zendto/bin/adduser.php to add a user to the "usertable"? >> If it lets you, then do >> select * from usertable; >> to check your new user is actually there. > Yes I can add new user and it shows in usertable and can login trough web. > > It stopped working after I upgraded from MySQL 5.5 to 5.6. I didn't > change anything else. > Jules -- Julian Field MEng MBCS CITP CEng 'Once is happenstance, twice is coincidence, three times is enemy action.' - Ian Fleming www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 From mike.brudenell at york.ac.uk Mon Nov 14 09:54:41 2016 From: mike.brudenell at york.ac.uk (Mike Brudenell) Date: Mon, 14 Nov 2016 09:54:41 +0000 Subject: [ZendTo] A head's up about the mailing list In-Reply-To: References: Message-ID: Hi, Jules - On 14 November 2016 at 09:18, Jules wrote: > I've just fixed the lack of IPv6 in the SPF record. I'm very wary of > updating our mailman install, as there are a lot of lists on it, and lots > of people would be very upset if a "yum upgrade mailman" did something > horrible. I'm not even supposed to be looking after our mail system any > more, I just do the minimum necessary fixes to keep it working. > > Let's see if the IPv6 SPF record is enough to keep us going for now. :-/ > Yay! Your message came through and passed Google's SPF check. Many thanks! As for Mailman, I understand where you're coming from. Looking at the headers of your message you're running GNU Mailman 2.1.9 there, which is getting a little long in the tooth: it was released in 2006. :-) - It's not until version 2.1.16 that Mailman started including support for DMARC, using the *from_is_list* feature; - In 2.1.19 they deprecated the above, replacing it with *dmarc_moderation_action*, as described in Mailman and DMARC - The current version is now 2.1.23 Just be aware that you might end up losing some of the community here when their sites switch to tight DMARC policies: either the members not being able to post, or even being unsubscribed. (And of course this will apply to other lists the service hosts.) Cheers, Mike B-) -- Systems Administrator & Change Manager IT Services, University of York, Heslington, York YO10 5DD, UK Tel: +44-(0)1904-323811 Web: www.york.ac.uk/it-services Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161114/ecc0e6b1/attachment.html From Jules at Zend.To Mon Nov 14 11:02:04 2016 From: Jules at Zend.To (Jules) Date: Mon, 14 Nov 2016 11:02:04 +0000 Subject: [ZendTo] A head's up about the mailing list In-Reply-To: References: Message-ID: <319e0005-d222-84de-21c7-ff807d72d2d8@Zend.To> On 14/11/2016 09:54, Mike Brudenell wrote: > Hi, Jules - > > On 14 November 2016 at 09:18, Jules > wrote: > > I've just fixed the lack of IPv6 in the SPF record. I'm very wary > of updating our mailman install, as there are a lot of lists on > it, and lots of people would be very upset if a "yum upgrade > mailman" did something horrible. I'm not even supposed to be > looking after our mail system any more, I just do the minimum > necessary fixes to keep it working. > > Let's see if the IPv6 SPF record is enough to keep us going for > now. :-/ > > > Yay! Your message came through and passed Google's SPF check. Many thanks! Yay! :-) > > As for Mailman, I understand where you're coming from. Looking at the > headers of your message you're running GNU Mailman 2.1.9 there, which > is getting a little long in the tooth: it was released in 2006. :-) > > * It's not until version 2.1.16 that Mailman started including > support for DMARC, using the /from_is_list/ feature; > * In 2.1.19 they deprecated the above, replacing it with > /dmarc_moderation_action/, as described in Mailman and DMARC > > * The current version is now 2.1.23 > > Just be aware that you might end up losing some of the community here > when their sites switch to tight DMARC policies: either the members > not being able to post, or even being unsubscribed. (And of course > this will apply to other lists the service hosts.) The sad bit is that if/when my old Mailman service gets rolled into the University's main mailing lists service, they run Majordomo (no, I'm not kidding, nor about them running Majorcool either!). So if/when that happens, I'll have to move the ZendTo list elsewhere. I've got the other half of a physical server (It runs 2 VMs for me) in Ireland that can do it. I haven't used that half since the MailScanner list got moved off it, so there'll be some rust removal to do first. Thanks for the warning. Cheers, Jules. > > Cheers, > Mike B-) > > -- > Systems Administrator & Change Manager > IT Services, University of York, Heslington, York YO10 5DD, UK > Tel: +44-(0)1904-323811 > > Web:www.york.ac.uk/it-services > Disclaimer:www.york.ac.uk/docs/disclaimer/email.htm > > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng '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 PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161114/268a78b6/attachment.html From deq at pattishall.com Wed Nov 23 14:45:00 2016 From: deq at pattishall.com (Dale E. Qualls) Date: Wed, 23 Nov 2016 14:45:00 +0000 Subject: [ZendTo] Recipient Pickup Identification Message-ID: Morning all! I'm hoping that you can help me with two things. First, when an internal sender drops off a file, the notification message to the recipient doesn't show as coming from the sender. It shows as coming from the administrator account. Where is this configured? One of the problems is that if there is a NDR or an out of the office email returned, it comes to the administrator account, it does not go to the internal person that dropped off the file. Secondly, looking at a dropoff summary, where the information is listed on who picked up the file, everything looks good with the exception of the Recipient. It always shows "%s" (sans quotes) instead of the name or email address of the recipient that picked up the file. I'm guessing that variable isn't being filled in somewhere? I'm on version 4.01 and I'm hesitant to upgrade as this works so beautifully (except for the two issues above ?) Thanks! Dale [http://www.pattishall.com/imgs/pattishalllogo.jpg] Dale E. Qualls Director of Information Technology Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP 200 South Wacker Drive, Suite 2900 Chicago, IL 60606-5896 Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 deq at pattishall.com www.pattishall.com Follow us on Twitter [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/blf-badge.jpg] [http://images.pattishall.com/images/25pixelimage.gif] Pattishall Ranks GOLD in Illinois in the prestigious WTR 1000 [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2014chambers-65.jpg] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2013gototop500.jpg] ________________________________ The preceding message and any attachments may contain confidential information protected by the attorney-client or other privilege. You may not forward this message or any attachments without the permission of the sender. If you believe that it has been sent to you in error, please reply to the sender that you received the message in error and then delete it. Nothing in this email message, including the typed name of the sender and/or this signature block, is intended to constitute an electronic signature unless a specific statement to the contrary is included in the message. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161123/fab730fc/attachment.html From MooreM10 at cardiff.ac.uk Wed Nov 23 14:55:58 2016 From: MooreM10 at cardiff.ac.uk (Matthew Moore) Date: Wed, 23 Nov 2016 14:55:58 +0000 Subject: [ZendTo] Recipient Pickup Identification In-Reply-To: References: Message-ID: Hi, Less sure about the second question, but the answer to the first one can be found here: http://zend.to/preferences.php You need to amend EmailSenderAddress to change the email account. It comes from that account always. AFAIK you can't set it so that it comes from the user who added the drop off. Cheers, Matthew Moore Senior Server Engineer and Team Leader University IT Service Cardiff University 42 Park Place Cardiff CF10 3BB Tel: +44 (0)29 2087 0867 Email: moorem10 at cardiff.ac.uk Matthew Moore Uwch Beiriannydd Gweinyddion ac Arweinydd T?m Gwasanaeth TG y Brifysgol Prifysgol Caerdydd 42 Plas y Parc Caerdydd CF10 3BB Ff?n : +44 (0)29 2087 0867 E-bost: moorem10 at cardiff.ac.uk ________________________________________ From: zendto-bounces at zend.to on behalf of Dale E. Qualls Sent: 23 November 2016 14:45:00 To: zendto at zend.to Subject: [ZendTo] Recipient Pickup Identification Morning all! I'm hoping that you can help me with two things. First, when an internal sender drops off a file, the notification message to the recipient doesn't show as coming from the sender. It shows as coming from the administrator account. Where is this configured? One of the problems is that if there is a NDR or an out of the office email returned, it comes to the administrator account, it does not go to the internal person that dropped off the file. Secondly, looking at a dropoff summary, where the information is listed on who picked up the file, everything looks good with the exception of the Recipient. It always shows "%s" (sans quotes) instead of the name or email address of the recipient that picked up the file. I'm guessing that variable isn't being filled in somewhere? I'm on version 4.01 and I'm hesitant to upgrade as this works so beautifully (except for the two issues above ?) Thanks! Dale [http://www.pattishall.com/imgs/pattishalllogo.jpg] Dale E. Qualls Director of Information Technology Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP 200 South Wacker Drive, Suite 2900 Chicago, IL 60606-5896 Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 deq at pattishall.com www.pattishall.com Follow us on Twitter [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/blf-badge.jpg] [http://images.pattishall.com/images/25pixelimage.gif] Pattishall Ranks GOLD in Illinois in the prestigious WTR 1000 [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2014chambers-65.jpg] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2013gototop500.jpg] ________________________________ The preceding message and any attachments may contain confidential information protected by the attorney-client or other privilege. You may not forward this message or any attachments without the permission of the sender. If you believe that it has been sent to you in error, please reply to the sender that you received the message in error and then delete it. Nothing in this email message, including the typed name of the sender and/or this signature block, is intended to constitute an electronic signature unless a specific statement to the contrary is included in the message. ________________________________ From deq at pattishall.com Wed Nov 23 15:28:00 2016 From: deq at pattishall.com (Dale E. Qualls) Date: Wed, 23 Nov 2016 15:28:00 +0000 Subject: [ZendTo] Recipient Pickup Identification In-Reply-To: References: Message-ID: Thank you!! Dale E. Qualls Director of Information Technology Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP 200 South Wacker Drive, Suite 2900 Chicago, IL 60606-5896 Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 mailto:deq at pattishall.com www.pattishall.com Follow us on Twitter: www.twitter.com/Pattishall -----Original Message----- From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Matthew Moore Sent: Wednesday, November 23, 2016 8:56 AM To: zendto at zend.to Subject: Re: [ZendTo] Recipient Pickup Identification Hi, Less sure about the second question, but the answer to the first one can be found here: http://zend.to/preferences.php You need to amend EmailSenderAddress to change the email account. It comes from that account always. AFAIK you can't set it so that it comes from the user who added the drop off. Cheers, Matthew Moore Senior Server Engineer and Team Leader University IT Service Cardiff University 42 Park Place Cardiff CF10 3BB Tel: +44 (0)29 2087 0867 Email: moorem10 at cardiff.ac.uk Matthew Moore Uwch Beiriannydd Gweinyddion ac Arweinydd T?m Gwasanaeth TG y Brifysgol Prifysgol Caerdydd 42 Plas y Parc Caerdydd CF10 3BB Ff?n : +44 (0)29 2087 0867 E-bost: moorem10 at cardiff.ac.uk ________________________________________ From: zendto-bounces at zend.to on behalf of Dale E. Qualls Sent: 23 November 2016 14:45:00 To: zendto at zend.to Subject: [ZendTo] Recipient Pickup Identification Morning all! I'm hoping that you can help me with two things. First, when an internal sender drops off a file, the notification message to the recipient doesn't show as coming from the sender. It shows as coming from the administrator account. Where is this configured? One of the problems is that if there is a NDR or an out of the office email returned, it comes to the administrator account, it does not go to the internal person that dropped off the file. Secondly, looking at a dropoff summary, where the information is listed on who picked up the file, everything looks good with the exception of the Recipient. It always shows "%s" (sans quotes) instead of the name or email address of the recipient that picked up the file. I'm guessing that variable isn't being filled in somewhere? I'm on version 4.01 and I'm hesitant to upgrade as this works so beautifully (except for the two issues above ?) Thanks! Dale [http://www.pattishall.com/imgs/pattishalllogo.jpg] Dale E. Qualls Director of Information Technology Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP 200 South Wacker Drive, Suite 2900 Chicago, IL 60606-5896 Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 deq at pattishall.com www.pattishall.com Follow us on Twitter [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/blf-badge.jpg] [http://images.pattishall.com/images/25pixelimage.gif] Pattishall Ranks GOLD in Illinois in the prestigious WTR 1000 [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2014chambers-65.jpg] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2013gototop500.jpg] ________________________________ The preceding message and any attachments may contain confidential information protected by the attorney-client or other privilege. You may not forward this message or any attachments without the permission of the sender. If you believe that it has been sent to you in error, please reply to the sender that you received the message in error and then delete it. Nothing in this email message, including the typed name of the sender and/or this signature block, is intended to constitute an electronic signature unless a specific statement to the contrary is included in the message. ________________________________ _______________________________________________ ZendTo mailing list ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto From Jules at Zend.To Wed Nov 23 16:30:46 2016 From: Jules at Zend.To (Jules) Date: Wed, 23 Nov 2016 16:30:46 +0000 Subject: [ZendTo] Recipient Pickup Identification In-Reply-To: References: Message-ID: <77ebd101-bef1-0272-22b4-f3f54e501b0f@Zend.To> Dale, The answer to your question about the address the email appears to come from may also imply that you have an old version of the "deliverEmail" function in /opt/zendto/lib/NSSDropbox.php. Find the definition of that function in that file (search for "deliverEmail" and you should find a line saying something like public function deliverEmail( If your version has 5 parameters like the updated version I'm including for you below, you can *probably* replace your version of that function with this one. But **MAKE A BACKUP COPY OF THE FILE FIRST!!!** in case it doesn't work. Here's the current code for that function, if you choose to try replacing your existing copy of that function: ---CODE STARTS HERE--- /*! @function deliverEmail Send the $content of an email message to (one or more) address(es) in $toAddr. */ public function deliverEmail( $toAddr, $fromAddr, $subject, $content, $headers = "" ) { // If it contains any characters outside 0x00-0x7f, then encode it if (preg_match('/[^\x00-\x7f]/', $subject)) { $subject = "=?UTF-8?B?".base64_encode(html_entity_decode($subject))."?="; } if (preg_match('/[^\x00-\x7f]/', $fromAddr)) { $fromAddr = "=?UTF-8?B?".base64_encode(html_entity_decode($fromAddr))."?="; } if (preg_match('/[^\x00-\x7f]/', $this->_emailSenderAddr)) { $sender = "=?UTF-8?B?".base64_encode(html_entity_decode($this->_emailSenderAddr))."?="; } else { $sender = $this->_emailSenderAddr; } // Add the From: and Reply-To: headers if they have been supplied. if ($fromAddr!="") { $headers = sprintf("From: %s", $sender) . PHP_EOL . sprintf("Reply-to: %s", $fromAddr) . PHP_EOL . $headers; } // Add the MIME headrs for 8-bit UTF-8 encoding $headers .= "MIME-Version: 1.0".PHP_EOL; $headers .= "Content-Type: text/plain; charset=UTF-8; format=flowed".PHP_EOL; $headers .= "Content-Transfer-Encoding: 8bit".PHP_EOL; return mail( $toAddr, $subject, $content, $headers // JKF Commented out for now due to security concerns , // JKF Commented out for now due to security concerns // '-f "'.$fromAddr.'"' ); } ---CODE ENDS HERE--- Do not put the "CODE STARTS HERE" or "CODE ENDS HERE" lines into your NSSDropbox.php file. You can run the command php -l NSSDropbox.php to check the syntax of what you have just pasted in. There's a chance your email client (or my email client or the list manager) may wrap the code above badly, thereby breaking it. That version should make the recipient's email app have the sender's address in the "From:" and "Reply-To:" headers, which I think is what you are asking for. BTW I am working on an update at the moment. The ZendTo code is done, but needs some more testing. The installer is getting the most work. I've got it done for RedHat and CentOS versions 5, 6 and 7. Ubuntu next. I'm automating the whole thing, including all the PHP rebuilding, SELinux support, firewall support, everything. And you can just have it run whatever bits of the process you want to, so no need to risk it damaging your carefully configured email setup or anything like that. But if you run it on a blank server you've just installed RedHat/CentOS on, it will do everything needed except preferences.php and zendto.conf. Cheers, Jules. On 23/11/2016 14:55, Matthew Moore wrote: > Hi, > > Less sure about the second question, but the answer to the first one can be found here: > > http://zend.to/preferences.php > > You need to amend EmailSenderAddress to change the email account. It comes from that account always. AFAIK you can't set it so that it comes from the user who added the drop off. > > Cheers, > > Matthew Moore > > Senior Server Engineer and Team Leader > University IT Service > Cardiff University > 42 Park Place > Cardiff > CF10 3BB > Tel: +44 (0)29 2087 0867 > Email: moorem10 at cardiff.ac.uk > > Matthew Moore > > Uwch Beiriannydd Gweinyddion ac Arweinydd T?m > Gwasanaeth TG y Brifysgol > Prifysgol Caerdydd > 42 Plas y Parc > Caerdydd > CF10 3BB > Ff?n : +44 (0)29 2087 0867 > E-bost: moorem10 at cardiff.ac.uk > > > ________________________________________ > From: zendto-bounces at zend.to on behalf of Dale E. Qualls > Sent: 23 November 2016 14:45:00 > To: zendto at zend.to > Subject: [ZendTo] Recipient Pickup Identification > > Morning all! > > I'm hoping that you can help me with two things. > > First, when an internal sender drops off a file, the notification message to the recipient doesn't show as coming from the sender. It shows as coming from the administrator account. Where is this configured? One of the problems is that if there is a NDR or an out of the office email returned, it comes to the administrator account, it does not go to the internal person that dropped off the file. > > Secondly, looking at a dropoff summary, where the information is listed on who picked up the file, everything looks good with the exception of the Recipient. It always shows "%s" (sans quotes) instead of the name or email address of the recipient that picked up the file. I'm guessing that variable isn't being filled in somewhere? > > I'm on version 4.01 and I'm hesitant to upgrade as this works so beautifully (except for the two issues above ?) > > Thanks! > > Dale > > > > > > > > [http://www.pattishall.com/imgs/pattishalllogo.jpg] > > > > > > > Dale E. Qualls > Director of Information Technology > Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP > 200 South Wacker Drive, Suite 2900 > Chicago, IL 60606-5896 > Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 > deq at pattishall.com www.pattishall.com Follow us on Twitter > > > > > [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/blf-badge.jpg] [http://images.pattishall.com/images/25pixelimage.gif] Pattishall Ranks GOLD in Illinois in the prestigious > WTR 1000 [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2014chambers-65.jpg] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2013gototop500.jpg] > > ________________________________ > The preceding message and any attachments may contain confidential information protected by the attorney-client or other privilege. You may not forward this message or any attachments without the permission of the sender. If you believe that it has been sent to you in error, please reply to the sender that you received the message in error and then delete it. Nothing in this email message, including the typed name of the sender and/or this signature block, is intended to constitute an electronic signature unless a specific statement to the contrary is included in the message. > ________________________________ > > > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng 'Talent is God-given ... be humble; fame is man-given ... be grateful; conceit is self-given ... be careful.' - John Wooden www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161123/15526e38/attachment.html From deq at pattishall.com Wed Nov 23 16:51:57 2016 From: deq at pattishall.com (Dale E. Qualls) Date: Wed, 23 Nov 2016 16:51:57 +0000 Subject: [ZendTo] Recipient Pickup Identification Message-ID: Thanks, Jules! [http://www.pattishall.com/imgs/pattishalllogo.jpg] Dale E. Qualls Director of Information Technology Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP 200 South Wacker Drive, Suite 2900 Chicago, IL 60606-5896 Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 deq at pattishall.com www.pattishall.com Follow us on Twitter [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/blf-badge.jpg] [http://images.pattishall.com/images/25pixelimage.gif] Pattishall Ranks GOLD in Illinois in the prestigious WTR 1000 [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2014chambers-65.jpg] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2013gototop500.jpg] ________________________________ The preceding message and any attachments may contain confidential information protected by the attorney-client or other privilege. You may not forward this message or any attachments without the permission of the sender. If you believe that it has been sent to you in error, please reply to the sender that you received the message in error and then delete it. Nothing in this email message, including the typed name of the sender and/or this signature block, is intended to constitute an electronic signature unless a specific statement to the contrary is included in the message. ________________________________ From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Jules Sent: Wednesday, November 23, 2016 10:31 AM To: ZendTo Users Subject: Re: [ZendTo] Recipient Pickup Identification Dale, The answer to your question about the address the email appears to come from may also imply that you have an old version of the "deliverEmail" function in /opt/zendto/lib/NSSDropbox.php. Find the definition of that function in that file (search for "deliverEmail" and you should find a line saying something like public function deliverEmail( If your version has 5 parameters like the updated version I'm including for you below, you can *probably* replace your version of that function with this one. But **MAKE A BACKUP COPY OF THE FILE FIRST!!!** in case it doesn't work. Here's the current code for that function, if you choose to try replacing your existing copy of that function: ---CODE STARTS HERE--- /*! @function deliverEmail Send the $content of an email message to (one or more) address(es) in $toAddr. */ public function deliverEmail( $toAddr, $fromAddr, $subject, $content, $headers = "" ) { // If it contains any characters outside 0x00-0x7f, then encode it if (preg_match('/[^\x00-\x7f]/', $subject)) { $subject = "=?UTF-8?B?".base64_encode(html_entity_decode($subject))."?="; } if (preg_match('/[^\x00-\x7f]/', $fromAddr)) { $fromAddr = "=?UTF-8?B?".base64_encode(html_entity_decode($fromAddr))."?="; } if (preg_match('/[^\x00-\x7f]/', $this->_emailSenderAddr)) { $sender = "=?UTF-8?B?".base64_encode(html_entity_decode($this->_emailSenderAddr))."?="; } else { $sender = $this->_emailSenderAddr; } // Add the From: and Reply-To: headers if they have been supplied. if ($fromAddr!="") { $headers = sprintf("From: %s", $sender) . PHP_EOL . sprintf("Reply-to: %s", $fromAddr) . PHP_EOL . $headers; } // Add the MIME headrs for 8-bit UTF-8 encoding $headers .= "MIME-Version: 1.0".PHP_EOL; $headers .= "Content-Type: text/plain; charset=UTF-8; format=flowed".PHP_EOL; $headers .= "Content-Transfer-Encoding: 8bit".PHP_EOL; return mail( $toAddr, $subject, $content, $headers // JKF Commented out for now due to security concerns , // JKF Commented out for now due to security concerns // '-f "'.$fromAddr.'"' ); } ---CODE ENDS HERE--- Do not put the "CODE STARTS HERE" or "CODE ENDS HERE" lines into your NSSDropbox.php file. You can run the command php -l NSSDropbox.php to check the syntax of what you have just pasted in. There's a chance your email client (or my email client or the list manager) may wrap the code above badly, thereby breaking it. That version should make the recipient's email app have the sender's address in the "From:" and "Reply-To:" headers, which I think is what you are asking for. BTW I am working on an update at the moment. The ZendTo code is done, but needs some more testing. The installer is getting the most work. I've got it done for RedHat and CentOS versions 5, 6 and 7. Ubuntu next. I'm automating the whole thing, including all the PHP rebuilding, SELinux support, firewall support, everything. And you can just have it run whatever bits of the process you want to, so no need to risk it damaging your carefully configured email setup or anything like that. But if you run it on a blank server you've just installed RedHat/CentOS on, it will do everything needed except preferences.php and zendto.conf. Cheers, Jules. On 23/11/2016 14:55, Matthew Moore wrote: Hi, Less sure about the second question, but the answer to the first one can be found here: http://zend.to/preferences.php You need to amend EmailSenderAddress to change the email account. It comes from that account always. AFAIK you can't set it so that it comes from the user who added the drop off. Cheers, Matthew Moore Senior Server Engineer and Team Leader University IT Service Cardiff University 42 Park Place Cardiff CF10 3BB Tel: +44 (0)29 2087 0867 Email: moorem10 at cardiff.ac.uk Matthew Moore Uwch Beiriannydd Gweinyddion ac Arweinydd T?m Gwasanaeth TG y Brifysgol Prifysgol Caerdydd 42 Plas y Parc Caerdydd CF10 3BB Ff?n : +44 (0)29 2087 0867 E-bost: moorem10 at cardiff.ac.uk ________________________________________ From: zendto-bounces at zend.to on behalf of Dale E. Qualls Sent: 23 November 2016 14:45:00 To: zendto at zend.to Subject: [ZendTo] Recipient Pickup Identification Morning all! I'm hoping that you can help me with two things. First, when an internal sender drops off a file, the notification message to the recipient doesn't show as coming from the sender. It shows as coming from the administrator account. Where is this configured? One of the problems is that if there is a NDR or an out of the office email returned, it comes to the administrator account, it does not go to the internal person that dropped off the file. Secondly, looking at a dropoff summary, where the information is listed on who picked up the file, everything looks good with the exception of the Recipient. It always shows "%s" (sans quotes) instead of the name or email address of the recipient that picked up the file. I'm guessing that variable isn't being filled in somewhere? I'm on version 4.01 and I'm hesitant to upgrade as this works so beautifully (except for the two issues above ?) Thanks! Dale [http://www.pattishall.com/imgs/pattishalllogo.jpg] Dale E. Qualls Director of Information Technology Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP 200 South Wacker Drive, Suite 2900 Chicago, IL 60606-5896 Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 deq at pattishall.com www.pattishall.com Follow us on Twitter [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/blf-badge.jpg] [http://images.pattishall.com/images/25pixelimage.gif] Pattishall Ranks GOLD in Illinois in the prestigious WTR 1000 [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2014chambers-65.jpg] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2013gototop500.jpg] ________________________________ The preceding message and any attachments may contain confidential information protected by the attorney-client or other privilege. You may not forward this message or any attachments without the permission of the sender. If you believe that it has been sent to you in error, please reply to the sender that you received the message in error and then delete it. Nothing in this email message, including the typed name of the sender and/or this signature block, is intended to constitute an electronic signature unless a specific statement to the contrary is included in the message. ________________________________ _______________________________________________ ZendTo mailing list ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng 'Talent is God-given ... be humble; fame is man-given ... be grateful; conceit is self-given ... be careful.' - John Wooden www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161123/8cbc44da/attachment-0001.html From Jules at Zend.To Wed Nov 23 17:02:04 2016 From: Jules at Zend.To (Jules) Date: Wed, 23 Nov 2016 17:02:04 +0000 Subject: [ZendTo] Recipient Pickup Identification In-Reply-To: References: Message-ID: Whether that chunk of code will work with your version of ZendTo, I haven't a clue. Let me know how you get on! :-) Cheers, Jules. On 23/11/2016 16:51, Dale E. Qualls wrote: > > Thanks, Jules! > > > > Dale E. Qualls > Director of Information Technology > Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP > 200 South Wacker Drive, Suite 2900 > Chicago, IL 60606-5896 > Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 > deq at pattishall.com www.pattishall.com > Follow us on Twitter > > > Pattishall Ranks GOLD in Illinois in the prestigious > WTR 1000 > > ------------------------------------------------------------------------ > The preceding message and any attachments may contain confidential > information protected by the attorney-client or other privilege. You > may not forward this message or any attachments without the permission > of the sender. If you believe that it has been sent to you in error, > please reply to the sender that you received the message in error and > then delete it. Nothing in this email message, including the typed > name of the sender and/or this signature block, is intended to > constitute an electronic signature unless a specific statement to the > contrary is included in the message. > ------------------------------------------------------------------------ > > *From:*zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On > Behalf Of *Jules > *Sent:* Wednesday, November 23, 2016 10:31 AM > *To:* ZendTo Users > *Subject:* Re: [ZendTo] Recipient Pickup Identification > > Dale, > > The answer to your question about the address the email appears to > come from may also imply that you have an old version of the > "deliverEmail" function in /opt/zendto/lib/NSSDropbox.php. > > Find the definition of that function in that file (search for > "deliverEmail" and you should find a line saying something like > public function deliverEmail( > If your version has 5 parameters like the updated version I'm > including for you below, you can *probably* replace your version of > that function with this one. But **MAKE A BACKUP COPY OF THE FILE > FIRST!!!** in case it doesn't work. > > Here's the current code for that function, if you choose to try > replacing your existing copy of that function: > ---CODE STARTS HERE--- > /*! > @function deliverEmail > > Send the $content of an email message to (one or more) address(es) in > $toAddr. > */ > public function deliverEmail( > $toAddr, > $fromAddr, > $subject, > $content, > $headers = "" > ) > { > // If it contains any characters outside 0x00-0x7f, then encode it > if (preg_match('/[^\x00-\x7f]/', $subject)) { > $subject = > "=?UTF-8?B?".base64_encode(html_entity_decode($subject))."?="; > } > if (preg_match('/[^\x00-\x7f]/', $fromAddr)) { > $fromAddr = > "=?UTF-8?B?".base64_encode(html_entity_decode($fromAddr))."?="; > } > if (preg_match('/[^\x00-\x7f]/', $this->_emailSenderAddr)) { > $sender = > "=?UTF-8?B?".base64_encode(html_entity_decode($this->_emailSenderAddr))."?="; > } else { > $sender = $this->_emailSenderAddr; > } > > // Add the From: and Reply-To: headers if they have been supplied. > if ($fromAddr!="") { > $headers = sprintf("From: %s", $sender) . PHP_EOL . > sprintf("Reply-to: %s", $fromAddr) . PHP_EOL . > $headers; > } > > // Add the MIME headrs for 8-bit UTF-8 encoding > $headers .= "MIME-Version: 1.0".PHP_EOL; > $headers .= "Content-Type: text/plain; charset=UTF-8; > format=flowed".PHP_EOL; > $headers .= "Content-Transfer-Encoding: 8bit".PHP_EOL; > > return mail( > $toAddr, > $subject, > $content, > $headers // JKF Commented out for now due to security > concerns , > // JKF Commented out for now due to security concerns > // '-f "'.$fromAddr.'"' > ); > } > > ---CODE ENDS HERE--- > > Do not put the "CODE STARTS HERE" or "CODE ENDS HERE" lines into your > NSSDropbox.php file. > > You can run the command > php -l NSSDropbox.php > to check the syntax of what you have just pasted in. > There's a chance your email client (or my email client or the list > manager) may wrap the code above badly, thereby breaking it. > > That version should make the recipient's email app have the sender's > address in the "From:" and "Reply-To:" headers, which I think is what > you are asking for. > > BTW I am working on an update at the moment. The ZendTo code is done, > but needs some more testing. > The installer is getting the most work. I've got it done for RedHat > and CentOS versions 5, 6 and 7. > Ubuntu next. > I'm automating the whole thing, including all the PHP rebuilding, > SELinux support, firewall support, everything. > And you can just have it run whatever bits of the process you want to, > so no need to risk it damaging your carefully configured email setup > or anything like that. > But if you run it on a blank server you've just installed > RedHat/CentOS on, it will do everything needed except preferences.php > and zendto.conf. > > Cheers, > Jules. > > On 23/11/2016 14:55, Matthew Moore wrote: > > Hi, > > Less sure about the second question, but the answer to the first one can be found here: > > http://zend.to/preferences.php > > You need to amend EmailSenderAddress to change the email account. It comes from that account always. AFAIK you can't set it so that it comes from the user who added the drop off. > > Cheers, > > Matthew Moore > > Senior Server Engineer and Team Leader > > University IT Service > > Cardiff University > > 42 Park Place > > Cardiff > > CF10 3BB > > Tel: +44 (0)29 2087 0867 > > Email:moorem10 at cardiff.ac.uk > > Matthew Moore > > Uwch Beiriannydd Gweinyddion ac Arweinydd T?m > > Gwasanaeth TG y Brifysgol > > Prifysgol Caerdydd > > 42 Plas y Parc > > Caerdydd > > CF10 3BB > > Ff?n : +44 (0)29 2087 0867 > > E-bost:moorem10 at cardiff.ac.uk > > ________________________________________ > > From:zendto-bounces at zend.to on behalf of Dale E. Qualls > > Sent: 23 November 2016 14:45:00 > > To:zendto at zend.to > > Subject: [ZendTo] Recipient Pickup Identification > > Morning all! > > I'm hoping that you can help me with two things. > > First, when an internal sender drops off a file, the notification message to the recipient doesn't show as coming from the sender. It shows as coming from the administrator account. Where is this configured? One of the problems is that if there is a NDR or an out of the office email returned, it comes to the administrator account, it does not go to the internal person that dropped off the file. > > Secondly, looking at a dropoff summary, where the information is listed on who picked up the file, everything looks good with the exception of the Recipient. It always shows "%s" (sans quotes) instead of the name or email address of the recipient that picked up the file. I'm guessing that variable isn't being filled in somewhere? > > I'm on version 4.01 and I'm hesitant to upgrade as this works so beautifully (except for the two issues above?) > > Thanks! > > Dale > > [http://www.pattishall.com/imgs/pattishalllogo.jpg] > > Dale E. Qualls > > Director of Information Technology > > Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP > > 200 South Wacker Drive, Suite 2900 > > Chicago, IL 60606-5896 > > Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 > > deq at pattishall.com > > www.pattishall.com > > Follow us on Twitter > > > [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/blf-badge.jpg] [http://images.pattishall.com/images/25pixelimage.gif] Pattishall Ranks GOLD in Illinois in the prestigious > > WTR 1000 [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2014chambers-65.jpg] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2013gototop500.jpg] > > ________________________________ > > The preceding message and any attachments may contain confidential information protected by the attorney-client or other privilege. You may not forward this message or any attachments without the permission of the sender. If you believe that it has been sent to you in error, please reply to the sender that you received the message in error and then delete it. Nothing in this email message, including the typed name of the sender and/or this signature block, is intended to constitute an electronic signature unless a specific statement to the contrary is included in the message. > > ________________________________ > > _______________________________________________ > > ZendTo mailing list > > ZendTo at zend.to > > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > > > > Jules > -- > Julian Field MEng MBCS CITP CEng > 'Talent is God-given ... be humble; > fame is man-given ... be grateful; > conceit is self-given ... be careful.' - John Wooden > www.Zend.To > Twitter: @JulesFM > PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng 'Adversity is like a strong wind. I don't mean just that it holds us back from places we might otherwise go. It also tears away from us all but the things that cannot be torn, so that afterward we see ourselves as we really are, and not merely as we might like to be.' - Arthur Golden www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161123/57079a4f/attachment-0001.html From deq at pattishall.com Wed Nov 23 17:09:25 2016 From: deq at pattishall.com (Dale E. Qualls) Date: Wed, 23 Nov 2016 17:09:25 +0000 Subject: [ZendTo] Recipient Pickup Identification Message-ID: Will do. It'll be in mid-December though. I'm on vacation after today and I never make changes in the 30 days before going on vacation? [http://www.pattishall.com/imgs/pattishalllogo.jpg] Dale E. Qualls Director of Information Technology Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP 200 South Wacker Drive, Suite 2900 Chicago, IL 60606-5896 Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 deq at pattishall.com www.pattishall.com Follow us on Twitter From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Jules Sent: Wednesday, November 23, 2016 11:02 AM To: ZendTo Users Subject: Re: [ZendTo] Recipient Pickup Identification Whether that chunk of code will work with your version of ZendTo, I haven't a clue. Let me know how you get on! :-) Cheers, Jules. On 23/11/2016 16:51, Dale E. Qualls wrote: Thanks, Jules! [http://www.pattishall.com/imgs/pattishalllogo.jpg] Dale E. Qualls Director of Information Technology Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP 200 South Wacker Drive, Suite 2900 Chicago, IL 60606-5896 Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 deq at pattishall.com www.pattishall.com Follow us on Twitter [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/blf-badge.jpg] [http://images.pattishall.com/images/25pixelimage.gif] Pattishall Ranks GOLD in Illinois in the prestigious WTR 1000 [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2014chambers-65.jpg] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2013gototop500.jpg] ________________________________ The preceding message and any attachments may contain confidential information protected by the attorney-client or other privilege. You may not forward this message or any attachments without the permission of the sender. If you believe that it has been sent to you in error, please reply to the sender that you received the message in error and then delete it. Nothing in this email message, including the typed name of the sender and/or this signature block, is intended to constitute an electronic signature unless a specific statement to the contrary is included in the message. ________________________________ From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Jules Sent: Wednesday, November 23, 2016 10:31 AM To: ZendTo Users Subject: Re: [ZendTo] Recipient Pickup Identification Dale, The answer to your question about the address the email appears to come from may also imply that you have an old version of the "deliverEmail" function in /opt/zendto/lib/NSSDropbox.php. Find the definition of that function in that file (search for "deliverEmail" and you should find a line saying something like public function deliverEmail( If your version has 5 parameters like the updated version I'm including for you below, you can *probably* replace your version of that function with this one. But **MAKE A BACKUP COPY OF THE FILE FIRST!!!** in case it doesn't work. Here's the current code for that function, if you choose to try replacing your existing copy of that function: ---CODE STARTS HERE--- /*! @function deliverEmail Send the $content of an email message to (one or more) address(es) in $toAddr. */ public function deliverEmail( $toAddr, $fromAddr, $subject, $content, $headers = "" ) { // If it contains any characters outside 0x00-0x7f, then encode it if (preg_match('/[^\x00-\x7f]/', $subject)) { $subject = "=?UTF-8?B?".base64_encode(html_entity_decode($subject))."?="; } if (preg_match('/[^\x00-\x7f]/', $fromAddr)) { $fromAddr = "=?UTF-8?B?".base64_encode(html_entity_decode($fromAddr))."?="; } if (preg_match('/[^\x00-\x7f]/', $this->_emailSenderAddr)) { $sender = "=?UTF-8?B?".base64_encode(html_entity_decode($this->_emailSenderAddr))."?="; } else { $sender = $this->_emailSenderAddr; } // Add the From: and Reply-To: headers if they have been supplied. if ($fromAddr!="") { $headers = sprintf("From: %s", $sender) . PHP_EOL . sprintf("Reply-to: %s", $fromAddr) . PHP_EOL . $headers; } // Add the MIME headrs for 8-bit UTF-8 encoding $headers .= "MIME-Version: 1.0".PHP_EOL; $headers .= "Content-Type: text/plain; charset=UTF-8; format=flowed".PHP_EOL; $headers .= "Content-Transfer-Encoding: 8bit".PHP_EOL; return mail( $toAddr, $subject, $content, $headers // JKF Commented out for now due to security concerns , // JKF Commented out for now due to security concerns // '-f "'.$fromAddr.'"' ); } ---CODE ENDS HERE--- Do not put the "CODE STARTS HERE" or "CODE ENDS HERE" lines into your NSSDropbox.php file. You can run the command php -l NSSDropbox.php to check the syntax of what you have just pasted in. There's a chance your email client (or my email client or the list manager) may wrap the code above badly, thereby breaking it. That version should make the recipient's email app have the sender's address in the "From:" and "Reply-To:" headers, which I think is what you are asking for. BTW I am working on an update at the moment. The ZendTo code is done, but needs some more testing. The installer is getting the most work. I've got it done for RedHat and CentOS versions 5, 6 and 7. Ubuntu next. I'm automating the whole thing, including all the PHP rebuilding, SELinux support, firewall support, everything. And you can just have it run whatever bits of the process you want to, so no need to risk it damaging your carefully configured email setup or anything like that. But if you run it on a blank server you've just installed RedHat/CentOS on, it will do everything needed except preferences.php and zendto.conf. Cheers, Jules. On 23/11/2016 14:55, Matthew Moore wrote: Hi, Less sure about the second question, but the answer to the first one can be found here: http://zend.to/preferences.php You need to amend EmailSenderAddress to change the email account. It comes from that account always. AFAIK you can't set it so that it comes from the user who added the drop off. Cheers, Matthew Moore Senior Server Engineer and Team Leader University IT Service Cardiff University 42 Park Place Cardiff CF10 3BB Tel: +44 (0)29 2087 0867 Email: moorem10 at cardiff.ac.uk Matthew Moore Uwch Beiriannydd Gweinyddion ac Arweinydd T?m Gwasanaeth TG y Brifysgol Prifysgol Caerdydd 42 Plas y Parc Caerdydd CF10 3BB Ff?n : +44 (0)29 2087 0867 E-bost: moorem10 at cardiff.ac.uk ________________________________________ From: zendto-bounces at zend.to on behalf of Dale E. Qualls Sent: 23 November 2016 14:45:00 To: zendto at zend.to Subject: [ZendTo] Recipient Pickup Identification Morning all! I'm hoping that you can help me with two things. First, when an internal sender drops off a file, the notification message to the recipient doesn't show as coming from the sender. It shows as coming from the administrator account. Where is this configured? One of the problems is that if there is a NDR or an out of the office email returned, it comes to the administrator account, it does not go to the internal person that dropped off the file. Secondly, looking at a dropoff summary, where the information is listed on who picked up the file, everything looks good with the exception of the Recipient. It always shows "%s" (sans quotes) instead of the name or email address of the recipient that picked up the file. I'm guessing that variable isn't being filled in somewhere? I'm on version 4.01 and I'm hesitant to upgrade as this works so beautifully (except for the two issues above ?) Thanks! Dale [http://www.pattishall.com/imgs/pattishalllogo.jpg] Dale E. Qualls Director of Information Technology Pattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP 200 South Wacker Drive, Suite 2900 Chicago, IL 60606-5896 Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015 deq at pattishall.com www.pattishall.com Follow us on Twitter [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/blf-badge.jpg] [http://images.pattishall.com/images/25pixelimage.gif] Pattishall Ranks GOLD in Illinois in the prestigious WTR 1000 [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2014chambers-65.jpg] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2013gototop500.jpg] ________________________________ The preceding message and any attachments may contain confidential information protected by the attorney-client or other privilege. You may not forward this message or any attachments without the permission of the sender. If you believe that it has been sent to you in error, please reply to the sender that you received the message in error and then delete it. Nothing in this email message, including the typed name of the sender and/or this signature block, is intended to constitute an electronic signature unless a specific statement to the contrary is included in the message. ________________________________ _______________________________________________ ZendTo mailing list ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng 'Talent is God-given ... be humble; fame is man-given ... be grateful; conceit is self-given ... be careful.' - John Wooden www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 _______________________________________________ ZendTo mailing list ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng 'Adversity is like a strong wind. I don't mean just that it holds us back from places we might otherwise go. It also tears away from us all but the things that cannot be torn, so that afterward we see ourselves as we really are, and not merely as we might like to be.' - Arthur Golden www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161123/44ae5339/attachment-0001.html From r6nix-zendto at yahoo.com Fri Nov 25 21:47:34 2016 From: r6nix-zendto at yahoo.com (Chris Day) Date: Fri, 25 Nov 2016 21:47:34 +0000 (UTC) Subject: [ZendTo] Unable to write to DB References: <374710310.506780.1480110454606.ref@mail.yahoo.com> Message-ID: <374710310.506780.1480110454606@mail.yahoo.com> Hi Jules, Same issue as Dariusz. ?After applying your patch to Timestamp.php the error given by verify.php is: Warning: require_once(/opt/zendto/lib/Timestamp.php): failed to open stream: No such file or directory in /opt/zendto/lib/NSSDropoff.php on line 28 Fatal error: require_once(): Failed opening required '/opt/zendto/lib/Timestamp.php' (include_path='.:/usr/share/pear:/usr/share/php') in /opt/zendto/lib/NSSDropoff.php on line 28 My environment: zendto-4.12-5 RedHat 6.8 x64PHP 5.3.3MySQL?5.6.29-2 The database looks ok, and adduser.php works. __Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161125/c2022628/attachment.html From r6nix-zendto at yahoo.com Fri Nov 25 21:55:08 2016 From: r6nix-zendto at yahoo.com (Chris Day) Date: Fri, 25 Nov 2016 21:55:08 +0000 (UTC) Subject: [ZendTo] Unable to write to DB References: <2093515918.503876.1480110908918.ref@mail.yahoo.com> Message-ID: <2093515918.503876.1480110908918@mail.yahoo.com> Jules, Apologies. ?I had a typo in Timestamp.php After retrying with your patch in place, the error is now: Upload ErrorYou must choose at least one file to drop-off. Use the back button in your browser to go back and fix this omission before trying again. __ Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161125/0068a474/attachment.html From Jules at Zend.To Mon Nov 28 09:09:21 2016 From: Jules at Zend.To (Jules) Date: Mon, 28 Nov 2016 09:09:21 +0000 Subject: [ZendTo] Unable to write to DB In-Reply-To: <2093515918.503876.1480110908918@mail.yahoo.com> References: <2093515918.503876.1480110908918.ref@mail.yahoo.com> <2093515918.503876.1480110908918@mail.yahoo.com> Message-ID: I did say it might not work. It clearly doesn't, not for your version anyway. I am actively working on an update. The new CentOS/RedHat installer is getting there. Hopefully some of that will be good for the Ubuntu installer as well. The app itself hasn't had much serious testing yet. Jules. On 25/11/2016 21:55, Chris Day wrote: > Jules, > > Apologies. I had a typo in Timestamp.php > > After retrying with your patch in place, the error is now: > > Upload Error > You must choose at least one file to drop-off. Use the back button in > your browser to go back and fix this omission before trying again. > > __ > Chris > > > > _______________________________________________ > ZendTo mailing list > ZendTo at zend.to > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules -- Julian Field MEng MBCS CITP CEng 'Adversity is like a strong wind. I don't mean just that it holds us back from places we might otherwise go. It also tears away from us all but the things that cannot be torn, so that afterward we see ourselves as we really are, and not merely as we might like to be.' - Arthur Golden www.Zend.To Twitter: @JulesFM PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161128/6a04ea45/attachment.html From kle at msktd.com Mon Nov 28 16:17:51 2016 From: kle at msktd.com (Ken Etter) Date: Mon, 28 Nov 2016 11:17:51 -0500 Subject: [ZendTo] Recipient Pickup Identification In-Reply-To: <77ebd101-bef1-0272-22b4-f3f54e501b0f@Zend.To> References: <77ebd101-bef1-0272-22b4-f3f54e501b0f@Zend.To> Message-ID: <583C125F0200001300115379@mail.msktd.com> Jules, I'm on 4.12 and my NSSDropbox.php has the code you provide below, but I still have the problem Dale mentioned. If an employee at my firm creates a drop off and the recipient has an auto-reply active on their email, the email is sent to an "admin" account rather than the employee who created the drop-off. Looking at the headers of an email sent from my zend.to install, the "From:" is the address defined in zendto.conf and the "Reply-to:" is the user. Is there something I am missing or how do I make all replies to ZendTo notification emails go back to the user who dropped off the file? Or at least do this for users who are employees of my company? Ken Etter, System Administrator Architectural Group 260.432.9337 | msktd.com >>> Jules 11/23/2016 11:30 AM >>> > Dale, The answer to your question about the address the email appears to come from may also imply that you have an old version of the "deliverEmail" function in /opt/zendto/lib/NSSDropbox.php. Find the definition of that function in that file (search for "deliverEmail" and you should find a line saying something like public function deliverEmail( If your version has 5 parameters like the updated version I'm including for you below, you can *probably* replace your version of that function with this one. But **MAKE A BACKUP COPY OF THE FILE FIRST!!!** in case it doesn't work. Here's the current code for that function, if you choose to try replacing your existing copy of that function: ---CODE STARTS HERE--- /*! @function deliverEmail Send the $content of an email message to (one or more) address(es) in $toAddr. */ public function deliverEmail( $toAddr, $fromAddr, $subject, $content, $headers = "" ) { // If it contains any characters outside 0x00-0x7f, then encode it if (preg_match('/[^\x00-\x7f]/', $subject)) { $subject = "=?UTF-8?B?".base64_encode(html_entity_decode($subject))."?="; } if (preg_match('/[^\x00-\x7f]/', $fromAddr)) { $fromAddr = "=?UTF-8?B?".base64_encode(html_entity_decode($fromAddr))."?="; } if (preg_match('/[^\x00-\x7f]/', $this->_emailSenderAddr)) { $sender = "=?UTF-8?B?".base64_encode(html_entity_decode($this->_emailSenderAddr))."?="; } else { $sender = $this->_emailSenderAddr; } // Add the From: and Reply-To: headers if they have been supplied. if ($fromAddr!="") { $headers = sprintf("From: %s", $sender) . PHP_EOL . sprintf("Reply-to: %s", $fromAddr) . PHP_EOL . $headers; } // Add the MIME headrs for 8-bit UTF-8 encoding $headers .= "MIME-Version: 1.0".PHP_EOL; $headers .= "Content-Type: text/plain; charset=UTF-8; format=flowed".PHP_EOL; $headers .= "Content-Transfer-Encoding: 8bit".PHP_EOL; return mail( $toAddr, $subject, $content, $headers // JKF Commented out for now due to security concerns , // JKF Commented out for now due to security concerns // '-f "'.$fromAddr.'"' ); } ---CODE ENDS HERE--- Do not put the "CODE STARTS HERE" or "CODE ENDS HERE" lines into your NSSDropbox.php file. You can run the command php -l NSSDropbox.php to check the syntax of what you have just pasted in. There's a chance your email client (or my email client or the list manager) may wrap the code above badly, thereby breaking it. That version should make the recipient's email app have the sender's address in the "From:" and "Reply-To:" headers, which I think is what you are asking for. BTW I am working on an update at the moment. The ZendTo code is done, but needs some more testing. The installer is getting the most work. I've got it done for RedHat and CentOS versions 5, 6 and 7. Ubuntu next. I'm automating the whole thing, including all the PHP rebuilding, SELinux support, firewall support, everything. And you can just have it run whatever bits of the process you want to, so no need to risk it damaging your carefully configured email setup or anything like that. But if you run it on a blank server you've just insta lled RedHat/CentOS on, it will do everything needed except preferences.php and zendto.conf. Cheers, Jules. On 23/11/2016 14:55, Matthew Moore wrote: Hi,Less sure about the second question, but the answer to the first one can be found here:http://zend.to/preferences.phpYou need to amend EmailSenderAddress to change the email account. It comes from that account always. AFAIK you can't set it so that it comes from the user who added the drop off.Cheers,Matthew MooreSenior Server Engineer and Team LeaderUniversity IT ServiceCardiff University42 Park PlaceCardiffCF10 3BBTel: +44 (0)29 2087 0867Email: moorem10 at cardiff.ac.ukMatthew MooreUwch Beiriannydd Gweinyddion ac Arweinydd T?mGwasanaeth TG y BrifysgolPrifysgol Caerdydd42 Plas y ParcCaerdyddCF10 3BBFf?n : +44 (0)29 2087 0867E-bost: moorem10 at cardiff.ac.uk________________________________________From: zendto-bounces at zend.to ( mailto:zendto-bounces at zend.to) on behalf of Dale E. Qualls ( mailto:deq at pattishall.com) Sent: 23 November 2016 14:45:00To: zendto at zend.toSubject: [ZendTo] Recipient Pickup IdentificationMorning all!I'm hoping that you can help me with two things.First, when an internal sender drops off a file, the notification message to the recipient doesn't show as coming from the sender. It shows as coming from the administrator account. Where is this configured? One of the problems is that if there is a NDR or an out of the office email returned, it comes to the administrator account, it does not go to the internal person that dropped off the file.Secondly, looking at a dropoff summary, where the information is listed on who picked up the file, everything looks good with the exception of the Recipient. It always shows "%s" (sans quotes) instead of the name or email address of the recipient that picked up the file. I'm guessing that variable isn't being filled in somewhere?I'm on version 4.01 and I'm hesitant to upgrade as this works so beautifully (except for the two issues above ?)Thanks!Dale[http://www.pattishall.com/imgs/pattishalllogo.jpg]Dale E. QuallsDirector of Information TechnologyPattishall, McAuliffe, Newbury, Hilliard & Geraldson LLP200 South Wacker Drive, Suite 2900Chicago, IL 60606-5896Direct: (312) 554-7979 Main: (312) 554-8000 Fax: (312) 554-8015deq at pattishall.com ( mailto:deq at pattishall.com) www.pattishall.com ( http://www.pattishall.com) Follow us on Twitter ( http://www.twitter.com/Pattishall) [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/blf-badge.jpg] [http://images.pattishall.com/images/25pixelimage.gif] Pattishall Ranks GOLD in Illinois in the prestigiousWTR 1000 [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2014chambers-65.jpg] [http://images.pattishall.com/images/25pixelimage.gif] [http://images.pattishall.com/images/2013gototop500.jpg]________________________________The preceding message and any attachments may contain confidential information protected by the attorney-client or other privilege. You may not forward this message or any attachments without the permission of the sender. If you believe that it has been sent to you in error, please reply to the sender that you received the message in error and then delete it. Nothing in this email message, including the typed name of the sender and/or this signature block, is intended to constitute an electronic signature unless a specific statement to the contrary is included in the message._______________________________________________________________________________ZendTo mailing listZendTo at zend.tohttp://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto Jules-- Julian Field MEng MBCS CITP CEng'Talent is God-given ... be humble; fame is man-given ... be grateful; conceit is self-given ... be careful.' - Joh n Woodenwww.Zend.ToTwitter: @JulesFMPGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161128/a9062f5e/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 18080 bytes Desc: Portable Network Graphics Format Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20161128/a9062f5e/attachment-0001.png