<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">On 21/05/2020 15:06, Luigi Capriotti
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!127d5d22beee1e59c7b391045cbfe9891072267ff1e97352ffe74d941f0aeafa9ff62d6990451038f5b8178a6eba5f14!@mx.jul.es">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<div dir="ltr">Tks Junes,
<div><br>
</div>
<div>for the sake of future reference, I figured out the
following:</div>
<div><br>
</div>
<div>USERNAME shall be part of the "automationUsers" array in
preferences.php - as the comments there clearly describe..</div>
<div>SENDEREMAIL is actually the email of the internal user
who shall receive the file</div>
<div>RECIPIENTNAME is the email of the external user who is
supposed to send the file to SENDEREMAIL</div>
</div>
</div>
</blockquote>
So they are the sender and recipient of the *request*, not the
resulting drop-off.<br>
<br>
<blockquote type="cite"
cite="mid:WM!127d5d22beee1e59c7b391045cbfe9891072267ff1e97352ffe74d941f0aeafa9ff62d6990451038f5b8178a6eba5f14!@mx.jul.es">
<div dir="ltr">
<div><br>
</div>
<div>In my case localhost worked just fine, but I trust the
proper FQDN must work in all possible cases, maybe combined
wit --insecure.</div>
<div><br>
</div>
<div>Happy camper here :)</div>
</div>
</blockquote>
That's what I like to hear! :-)<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<br>
<blockquote type="cite"
cite="mid:WM!127d5d22beee1e59c7b391045cbfe9891072267ff1e97352ffe74d941f0aeafa9ff62d6990451038f5b8178a6eba5f14!@mx.jul.es">
<div dir="ltr">
<div>Luigi<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, May 21, 2020 at
12:20 PM Jules <<a href="mailto:Jules@zend.to"
moz-do-not-send="true">Jules@zend.to</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div> Luigi,<br>
<br>
Using <a href="https://localhost/" target="_blank"
moz-do-not-send="true">https://localhost/</a> is almost
inevitably going to fail. Try using the name of the host
that is on the SSL cert that the server is using.<br>
<br>
Also, the "--insecure" option is there to tell curl to not
do all the certificate checks it would normally. That
definitely improves its chances of working if you use <a
href="https://localhost/" target="_blank"
moz-do-not-send="true">https://localhost/</a> !<br>
<br>
Also, add the "--debug" option to the autorequest command,
and it will show you the curl command instead of executing
it. Then you can copy and paste that curl command into a
shell and run it manually without any of the --silent or
other "quietening" option. At which point you can see
what's happening.<br>
<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div>On 21/05/2020 09:40, Luigi Capriotti via ZendTo
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>would anyone please clarify what I am doing wrong
with autorequest, as I invoke the script with:</div>
<div><br>
</div>
<div>USERNAME=lcapriotti<br>
PASSWORD=MYPASSWORD<br>
<br>
SENDEREMAIL=<email of the recipient of the
request><br>
SENDERNAME=SNAME<br>
SENDERORG=SORG<br>
<br>
RECIPIENTNAME=<email of the internal user who
shall receive the file><br>
RECIPIENTEMAIL=RECEMAIL<br>
<br>
SUBJECT='Test'<br>
PASSPHRASE=ANYPWD<br>
<br>
NOTE="Test Note"<br>
<br>
bash -x /opt/zendto/bin/autorequest --username
$USERNAME --password "$PASSWORD" --senderemail
$SENDEREMAIL --sendername "$SENDERNAME" --senderorg
$SENDERORG \<br>
--subject "$SUBJECT" --passphrase
"$PASSPHRASE" --recipientname "$RECIPIENTNAME"
--recipientemail $RECIPIENTEMAIL \<br>
--note "$NOTE" -i <a
href="https://localhost/" target="_blank"
moz-do-not-send="true">https://localhost/</a><br>
</div>
<div><br>
</div>
<div>but I cannot get any result - neither as output
from the script nor in practical terms (no
requests are generated).</div>
<div>ZendTo logs states I am authenticating correctly
though:</div>
<div><br>
</div>
<div>2020-05-21 10:39:17 ::1 [ZendTo]: Info: user
authentication verified user as 'lcapriotti'<br>
2020-05-21 10:39:17 ::1 [ZendTo]: Info: Creating
request with encryption enabled<br>
</div>
<div><br>
</div>
<div>Thanks in advance</div>
<div>Luigi</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
ZendTo mailing list
<a href="mailto:ZendTo@zend.to" target="_blank" moz-do-not-send="true">ZendTo@zend.to</a>
<a href="http://jul.es/mailman/listinfo/zendto" target="_blank" moz-do-not-send="true">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'People will believe a big lie sooner than a little one, and if you
repeat it frequently enough people will sooner or later believe
it.' - Walter Langer
<a href="http://www.Zend.To" target="_blank" moz-do-not-send="true">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'I have lost friends, some by death ... others through sheer inability
to cross the street.' - Virginia Woolf
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>