[Risolto] Nas notifica fine download?

Installazione, configurazione e uso di Ubuntu come server: web, ftp, mail, news, proxy, dns e altro.
Avatar utente
FlameMEX
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 302
Iscrizione: martedì 4 ottobre 2016, 11:56

Re: Nas notifica fine download?

Messaggio da FlameMEX »

Codice: Seleziona tutto

Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Avatar utente
damy kosko
Prode Principiante
Messaggi: 169
Iscrizione: domenica 21 marzo 2010, 10:17
Desktop: ubuntu
Distribuzione: 18.04 64bit
Sesso: Maschile

Re: Nas notifica fine download?

Messaggio da damy kosko »

buonasera, ti do una risposta un po da ignorante e non so se su ubuntu server è fattibile, ma su ubuntu normale su qbittorrent tra le impostazioni c'è già la possibilità di ricevere la mail al completamento dei download. Spero ti abbia detto qualcosa che ti possa interessare.
Damiano Cosco
Avatar utente
FlameMEX
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 302
Iscrizione: martedì 4 ottobre 2016, 11:56

Re: Nas notifica fine download?

Messaggio da FlameMEX »

se si poteva fare da riga di comando l'avrei già fatto, ma il server non ha ambiente grafico per poter sfruttare quella potenzialità.
Si.. potrei farlo ma devo appesantire il meno possibile il processore... perciò niente GUI...

Grazie lo stesso..
Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Nas notifica fine download?

Messaggio da axilot »

dall errore
smtp-server: 530 authentication required for mail submission
mi è venuto in mente che devi aggiungere la seguente riga al file /etc/s-nail.rc
smtp-auth=login
quindi in sostanza
set smtp=mail.tin.it:587
smtp-auth=login
set smtp-auth-user=tuoindirizzo@tin.it
set smtp-auth-password=latua password
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Avatar utente
FlameMEX
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 302
Iscrizione: martedì 4 ottobre 2016, 11:56

Re: Nas notifica fine download?

Messaggio da FlameMEX »

Codice: Seleziona tutto

Resolving host "mail.tin.it:587" ... done
Connecting to "62.211.72.20:587" ...connected.
smtp-server: 530 authentication required for mail submission
"/home/naslinux/dead.letter" 8/191
... message not sent
Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Nas notifica fine download?

Messaggio da axilot »

prova ad aggiungere anche la riga
set smtp-use-starttls
e se non và anche quest'altra
set ssl-verify=ignore
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Avatar utente
FlameMEX
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 302
Iscrizione: martedì 4 ottobre 2016, 11:56

Re: Nas notifica fine download?

Messaggio da FlameMEX »

Codice: Seleziona tutto

Stopped loading "/etc/s-nail.rc" due to errors (enable *debug* for trace)
Resolving host "mail.tin.it:587" ... done
Connecting to "62.211.72.20:587" ...connected.
smtp-server: 530 authentication required for mail submission
"/home/naslinux/dead.letter" 8/191
... message not sent

Codice: Seleziona tutto

set smtp=mail.tin.it:587
smtp-auth=login
set smtp-auth-user=*******s@tin.it
set smtp-auth-password=**********bg2
set smtp-use-starttls
set ssl-verify=ignore
Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Nas notifica fine download?

Messaggio da axilot »

a questo punto a aprte provare a cambiare l'ordine dei comandi tante volte li leggesse in sequenza non sò che dire,
set smtp=mail.tin.it:587
smtp-auth=login
set smtp-use-starttls
set ssl-verify=ignore
set smtp-auth-user=*******s@tin.it
set smtp-auth-password=**********bg2
quella configurazione sembra funzionare con gmail ma evidentemente tin.it cè qualcosa che non và

vedi qui per tentare qualche altra possibile configurazione (ma sempre per gmail per tin.it non ho trovato nulla)
https://dominicm.com/configure-email-no ... rch-linux/
https://bbs.archlinux.org/viewtopic.php?id=182653&p=2
https://sourceforge.net/p/s-nail/s-nail ... /32460802/


EDIT prova così
set smtp=submission://mail.tin.it
smtp-auth=login
set smtp-use-starttls
set ssl-verify=ignore
set smtp-auth-user=*******s@tin.it
set smtp-auth-password=**********bg2
io ho provato con il mio provider (che usa la 465 ) e con
set smtp=smtps://mioserver:465 mi funziona
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Avatar utente
FlameMEX
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 302
Iscrizione: martedì 4 ottobre 2016, 11:56

Re: Nas notifica fine download?

Messaggio da FlameMEX »

ma per dire una stronzata, non andra aperta la porta?

Da questo errore dopo il seguente comando.

Codice: Seleziona tutto

sudo  echo "Messaggio di Prova" | s-nail -v -r ******@tin.it -s "Prova" ******@tin.it

Codice: Seleziona tutto

Unknown command: `smtp'
Stopped loading "/etc/s-nail.rc" due to errors (enable *debug* for trace)
Resolving host "mail.tin.it:submission" ... done
Connecting to "62.211.72.20:submission" ...connected.
smtp-server: 530 authentication required for mail submission
"/home/naslinux/dead.letter" 8/191
... message not sent
Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Nas notifica fine download?

Messaggio da axilot »

Scusa ho notato solo ora che manca "set" davanti a smtp-auth=login.


set smtp=submission://mail.tin.it
set smtp-auth=login
set smtp-use-starttls
set ssl-verify=ignore
set smtp-auth-user=*******s@tin.it
set smtp-auth-password=**********bg2


Posta sempre l output completo dei comandi non solo l errore.
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Avatar utente
FlameMEX
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 302
Iscrizione: martedì 4 ottobre 2016, 11:56

Re: Nas notifica fine download?

Messaggio da FlameMEX »

Codice: Seleziona tutto

 naslinux@naslinux:~$ sudo  echo "Messaggio di Prova" | s-nail -v -r *******s@tin.it -s "Prova" ******s@tin.it
Resolving host "mail.tin.it:submission" ... done
Connecting to "62.211.72.20:submission" ...connected.
smtp-server: 500 STAR command unrecognized
"/home/naslinux/dead.letter" 8/191
... message not sent
Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Nas notifica fine download?

Messaggio da axilot »

prova in modalità very verbose (-vv) per capire quale è il comando che non gli piace

Codice: Seleziona tutto

sudo  echo "Messaggio di Prova" | s-nail -vv -r ******@tin.it -s "Prova" ******@tin.it
ovviamente maschera i dati sensibili prima di postare l'output
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Avatar utente
FlameMEX
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 302
Iscrizione: martedì 4 ottobre 2016, 11:56

Re: Nas notifica fine download?

Messaggio da FlameMEX »

Codice: Seleziona tutto

naslinux@naslinux:~$ sudo  echo "Messaggio di Prova" | s-nail -vv -r ********@tin.it -s "Prova" *******@tin.it
LOAD 12 bytes <#@ s-nail.rc>
LOAD 43 bytes <#@ Configuration file for S-nail(1) v14.8.9>
LOAD 33 bytes <# S-nail(1): v14.8.9 / 2016-06-21>
LOAD 0 bytes <>
LOAD 78 bytes <## The standard POSIX 2008/Cor 1-2013 mandates the following initial settings:>
LOAD 78 bytes <# (Keep in sync: ./main.c:_startup(), ./nail.rc, ./nail.1:"Initial settings"!)>
LOAD 67 bytes <# [a]   noallnet, noappend, asksub, noaskbcc, noaskcc, noautoprint,>
LOAD 57 bytes <# [b-e] nobang, nocmd, nocrt, nodebug, nodot, escape="~",>
LOAD 65 bytes <# [f-i] noflipr, nofolder, header, nohold, noignore, noignoreeof,>
LOAD 49 bytes <# [j-o] nokeep, nokeepsave, nometoo, nooutfolder,>
LOAD 47 bytes <# [p-r] nopage, prompt="? ", noquiet, norecord,>
LOAD 51 bytes <# [s]   save, nosendwait, noshowto, nosign, noSign,>
LOAD 20 bytes <# [t-z] toplines="5">
LOAD 8 bytes <# Notes:>
LOAD 52 bytes <# - no*onehop* doesn't exist in this implementation.>
LOAD 78 bytes <#   (To pass options through to an MTA, either add them after a "--" separator>
LOAD 73 bytes <#   on the command line or by setting the *sendmail-arguments* variable.)>
LOAD 65 bytes <# - *prompt* is "\\& " by default, which will act POSIX-compliant>
LOAD 41 bytes <#   unless the user would set *bsdcompat*>
LOAD 0 bytes <>
LOAD 71 bytes <## The remaining content adjusts the standard-imposed default settings.>
LOAD 78 bytes <# Note that some of the following flags are specific to S-nail(1) and may thus>
LOAD 50 bytes <# not work with other Mail(1) / mailx(1) programs.>
LOAD 77 bytes <# Entries are marked [OPTION] if their availability is compile-time dependent>
LOAD 0 bytes <>
LOAD 12 bytes <## Variables>
LOAD 0 bytes <>
LOAD 62 bytes <# If threaded mode is activated, automatically collapse thread>
LOAD 16 bytes <set autocollapse>
LOAD 0 bytes <>
LOAD 35 bytes <# Enter threaded mode automatically>
LOAD 20 bytes <#set autosort=thread>
LOAD 0 bytes <>
LOAD 64 bytes <# Append rather than prepend when writing to mbox automatically.>
LOAD 61 bytes <# This has no effect unless *hold* is unset (it is set below)>
LOAD 10 bytes <set append>
LOAD 0 bytes <>
LOAD 28 bytes <# Ask for a message subject.>
LOAD 7 bytes <set ask>
LOAD 0 bytes <>
LOAD 77 bytes <# *bsdannounce* prints a header summary on folder change and thus complements>
LOAD 75 bytes <# *header* on a per-folder basis (it is meaningless unless *header* is set)>
LOAD 15 bytes <set bsdannounce>
LOAD 0 bytes <>
LOAD 59 bytes <# Uncomment this in order to get coloured output in $PAGER.>
LOAD 74 bytes <# (Coloured output is only used if $TERM is either found in *colour-terms*>
LOAD 33 bytes <# or includes the string "color")>
LOAD 17 bytes <#set colour-pager>
LOAD 0 bytes <>
LOAD 48 bytes <# Assume a CRT-like terminal and invoke a $PAGER>
LOAD 7 bytes <set crt>
LOAD 0 bytes <>
LOAD 39 bytes <# Define date display in header summary>
LOAD 63 bytes <#set datefield="%R %m-%d" datefield-markout-older="   %g-%m-%d">
LOAD 0 bytes <>
LOAD 70 bytes <# When composing messages a line consisting of `.' finalizes a message>
LOAD 7 bytes <set dot>
LOAD 0 bytes <>
LOAD 65 bytes <# Immediately start $EDITOR (or $VISUAL) when composing a message>
LOAD 14 bytes <#set editalong>
LOAD 0 bytes <>
LOAD 68 bytes <# Startup into interactive mode even if the (given) mailbox is empty>
LOAD 15 bytes <#set emptystart>
LOAD 0 bytes <>
LOAD 78 bytes <# When replying to or forwarding a message the comment and name parts of email>
LOAD 52 bytes <# addresses are removed unless this variable is set.>
LOAD 14 bytes <#set fullnames>
LOAD 0 bytes <>
LOAD 64 bytes <# [OPTION] Add more entries to the history as is done by default>
LOAD 17 bytes <set history-gabby>
LOAD 0 bytes <>
LOAD 62 bytes <# Do not forward to mbox by default since this is likely to be>
LOAD 54 bytes <# irritating for most users today; also see *keepsave*>
LOAD 8 bytes <set hold>
LOAD 0 bytes <>
LOAD 72 bytes <# Quote the original message in replies by "> " as usual on the Internet>
LOAD 21 bytes <set indentprefix="> ">
LOAD 0 bytes <>
LOAD 39 bytes <# Mark messages that have been answered>
LOAD 16 bytes <set markanswered>
LOAD 0 bytes <>
LOAD 67 bytes <# Try to circumvent false or missing MIME Content-Type descriptions>
LOAD 71 bytes <# (Can be set to values for extended behaviour, please see the manual.)>
LOAD 25 bytes <set mime-counter-evidence>
LOAD 0 bytes <>
LOAD 78 bytes <# Control loading of mime.types(5) file: the value may be a combination of the>
LOAD 79 bytes <# letters "s" and "u": if "u" is seen ~/.mime.types will be loaded if possible;>
LOAD 77 bytes <# "s" adds /etc/mime.types, if available; setting this without any value uses>
LOAD 69 bytes <# only a set of builtin mimetypes; the default behaviour equals "us".>
LOAD 79 bytes <# An extended syntax that allows loading of other, specified files is available>
LOAD 66 bytes <# if the value contains an equal sign "=", see the manual for more>
LOAD 27 bytes <#set mimetypes-load-control>
LOAD 0 bytes <>
LOAD 35 bytes <# Do not remove empty mail folders.>
LOAD 75 bytes <# This may be relevant for privacy since other users could otherwise create>
LOAD 33 bytes <# them with different permissions>
LOAD 8 bytes <set keep>
LOAD 0 bytes <>
LOAD 74 bytes <# Do not move `save'd or `write'n message to mbox by default since this is>
LOAD 63 bytes <# likely to be irritating for most users today; also see *hold*>
LOAD 12 bytes <set keepsave>
LOAD 0 bytes <>
LOAD 78 bytes <# When writing mailbox files we strip Content-Length: and Lines: header fields>
LOAD 72 bytes <# from edited / changed messages, because S-nail doesn't deal with these>
LOAD 77 bytes <# (non-standard) fields -- and since other MUAs may rely on their content, if>
LOAD 78 bytes <# present, it seems more useful to strip them than to keep them, now that they>
LOAD 54 bytes <# became invalid; set this to include them nonetheless>
LOAD 24 bytes <#set keep-content-length>
LOAD 0 bytes <>
LOAD 46 bytes <# A nice prompt for ISO 6429/ECMA-48 terminals>
LOAD 42 bytes <#set prompt="\033[31m?\?[\$ \@]\& \033[0m">
LOAD 0 bytes <>
LOAD 66 bytes <# Automatically quote the text of the message that is responded to>
LOAD 9 bytes <set quote>
LOAD 0 bytes <>
LOAD 76 bytes <# On group replies, specify only the sender of the original mail in  To: and>
LOAD 76 bytes <# mention it's other recipients in the secondary Cc: instead of placing them>
LOAD 21 bytes <# all together in To:>
LOAD 20 bytes <set recipients-in-cc>
LOAD 0 bytes <>
LOAD 71 bytes <# When responding to a message, try to answer in the same character set>
LOAD 26 bytes <#set reply-in-same-charset>
LOAD 0 bytes <>
LOAD 77 bytes <# [OPTION] Outgoing messages are sent in UTF-8 if possible, otherwise LATIN1.>
LOAD 74 bytes <# Note: it is highly advisable to read the section "Character sets" of the>
LOAD 77 bytes <# manual in order to understand all the possibilities that exist to fine-tune>
LOAD 74 bytes <# charset usage (variables also of interest: *ttycharset*, *charset-8bit*,>
LOAD 74 bytes <# *sendcharsets-else-ttycharset*; and of course we inherit the $LC_CTYPE />
LOAD 60 bytes <# $LC_ALL / $LANG environment variables and react upon them)>
LOAD 33 bytes <set sendcharsets=utf-8,iso-8859-1>
LOAD 0 bytes <>
LOAD 76 bytes <# When sending a message wait until the MTA (including the builtin SMTP one)>
LOAD 78 bytes <# exits before accepting further commands.  Only with this variable set errors>
LOAD 43 bytes <# reported by the MTA will be recognizable!>
LOAD 13 bytes <#set sendwait>
LOAD 0 bytes <>
LOAD 73 bytes <# Display real sender names in header summaries instead of only addresses>
LOAD 12 bytes <set showname>
LOAD 0 bytes <>
LOAD 74 bytes <# Show recipients of messages sent by the user himself in header summaries>
LOAD 10 bytes <set showto>
LOAD 0 bytes <>
LOAD 11 bytes <## Commands>
LOAD 0 bytes <>
LOAD 68 bytes <# Only include these selected header fields when forwarding messages>
LOAD 30 bytes <fwdretain subject date from to>
LOAD 0 bytes <>
LOAD 64 bytes <# Only include the selected header fields when printing messages>
LOAD 67 bytes <retain date from to cc subject message-id mail-followup-to reply-to>
LOAD 0 bytes <>
LOAD 33 bytes <## Some pipe-TYPE/SUBTYPE entries>
LOAD 0 bytes <>
LOAD 42 bytes <# HTML as text, inline display via lynx(1)>
LOAD 28 bytes <#if $features !@ HTML-FILTER>
LOAD 54 bytes <#   set pipe-text/html="lynx -stdin -dump -force_html">
LOAD 6 bytes <#endif>
LOAD 0 bytes <>
LOAD 47 bytes <# PDF display, asynchronous display via xpdf(1)>
LOAD 292 bytes <#set pipe-application/pdf="@&set -C;#   : > \"${TMPDIR}/${NAIL_FILENAME_GENERATED}\";#   trap \"rm -f \\\"${TMPDIR}/${NAIL_FILENAME_GENERATED}\\\"\" #      EXIT INT QUIT PIPE TERM;#   set +C;#   cat > \"${TMPDIR}/${NAIL_FILENAME_GENERATED}\";#   xpdf \"${TMPDIR}/${NAIL_FILENAME_GENERATED}\"">
LOAD 0 bytes <>
LOAD 11 bytes <# s-it-mode>
LOAD 0 bytes <>
LOAD 33 bytes <set smtp=submission://mail.tin.it>
LOAD 19 bytes <set smtp-auth=login>
LOAD 21 bytes <set smtp-use-starttls>
LOAD 21 bytes <set ssl-verify=ignore>
LOAD 32 bytes <set smtp-auth-user=*******@tin.it>
LOAD 34 bytes <set smtp-auth-password=******************>
Credentials: host "*********@tin.it", user "********@tin.it", pass "****************"
Resolving host "mail.tin.it:submission" ... done
Connecting to "62.211.72.20:submission" ...connected.
220 vsmtpvtin3.tin.it ESMTP Service ready
>>> EHLO naslinux.dev.local
250-vsmtpvtin3.tin.it
250-DSN
250-8BITMIME
250-PIPELINING
250-HELP
250-AUTH=LOGIN
250-AUTH LOGIN CRAM-MD5 DIGEST-MD5 PLAIN
250-DELIVERBY 300
250 SIZE 31457280
>>> STARTTLS
500 STAR command unrecognized
smtp-server: 500 STAR command unrecognized
"/home/naslinux/dead.letter" 8/191
... message not sent
Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Nas notifica fine download?

Messaggio da axilot »

sembra un problema con l' SSL, sembra che il server non lo supporti, prova a commentare la riga set smtp-use-starttls
ed in caso anche la successiva (ma non dovrebbe essere necessario)

Codice: Seleziona tutto

set smtp=submission://mail.tin.it
smtp-auth=login
#set smtp-use-starttls
set ssl-verify=ignore
set smtp-auth-user=*******s@tin.it
set smtp-auth-password=**********bg2
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Avatar utente
FlameMEX
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 302
Iscrizione: martedì 4 ottobre 2016, 11:56

Re: Nas notifica fine download?

Messaggio da FlameMEX »

woowooowooow

Arrivata perfettmante :D, possiamo passare allo step successivo.... fiuuuuuuuuuuu

Codice: Seleziona tutto

250 <59C12245023008A4> Mail accepted
>>> QUIT
Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Nas notifica fine download?

Messaggio da axilot »

ok bene
copia incolla il seguente codice (ho tolto un pò di righe inutili) in un file che chiami come ti pare e salvi dove vuoi (ricorda di modificare i campi relativi alla posta con il tuo indirizzo @tin.it)

Codice: Seleziona tutto

#!/bin/sh

##
##  User-configurable Variables
##

NAIL=/usr/bin/s-nail

TO_ADDR=tuaposta@tin.it

###
###  Send the mail...
###

SUBJECT="Torrent Done!"
FROM_ADDR="tuaposta@tin.it"
TMPFILE=`mktemp -t transmission.XXXXXXXXXX`
echo "Transmission finished downloading \"$TR_TORRENT_NAME\" on $TR_TIME_LOCALTIME" >$TMPFILE
$NAIL -v -S from="$FROM_ADDR" -s "$SUBJECT"  "$TO_ADDR" < $TMPFILE
rm $TMPFILE
poi rendi lo script eseguibile con

Codice: Seleziona tutto

sudo chmod +x tuoscript.sh
per testare che funzioni lancia lo script con

Codice: Seleziona tutto

./tuoscript.sh
se tutto è ok cambia il percorso ed il nome dello script nel file di configurazione di transmission
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Avatar utente
FlameMEX
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 302
Iscrizione: martedì 4 ottobre 2016, 11:56

Re: Nas notifica fine download?

Messaggio da FlameMEX »

perfetto, funge alla perfezione....

ora mi aspetto che scaricando un torrent mi arrivi la mail giusto?...

faccio subito una prova

provato la mail non arriva..... il file "torrentdone.sh"

che ho generato si trova il root:

Codice: Seleziona tutto

   "script-torrent-done-filename": "torrentdone.sh",
scusa ho dimenticato di buttare giù il demone....

ora riprovo....

nada nn arriva
Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Nas notifica fine download?

Messaggio da axilot »

prova a mettere lo slash" / " o a spostare il file in altra directory,
"script-torrent-done-filename": "/torrentdone.sh",

ma si trova nella root o nella home?
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Avatar utente
FlameMEX
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 302
Iscrizione: martedì 4 ottobre 2016, 11:56

Re: Nas notifica fine download?

Messaggio da FlameMEX »

home
Avatar utente
axilot
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2704
Iscrizione: lunedì 7 luglio 2008, 17:29
Distribuzione: Ubuntu 16.04 64bit

Re: Nas notifica fine download?

Messaggio da axilot »

allora il path è
"script-torrent-done-filename": "~/torrentdone.sh",
Edit:
anzi a scanso di equivoci meglio se espliciti il path (cambia tuouser con il tuo nome utente)
"script-torrent-done-filename": "/home/tuouser/torrentdone.sh",
Ultima modifica di axilot il venerdì 13 ottobre 2017, 12:01, modificato 2 volte in totale.
"Experience, the name men give to their mistakes" (O.Wilde)
Pc principale: Ubuntu 16.04 64Bit - Pc secondario: Ubuntu 18.04 64 Bit - Raspberry Pi: Rpi 1B+, Rpi 2, Rpi 3+, Rpi Zero W
Scrivi risposta

Ritorna a “Ubuntu su server”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 5 ospiti