<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>trans_watchdog</title>
		<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog</link>
		<description>Posts in the discussion thread &quot;trans_watchdog&quot;</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-635043</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-635043</link>
				<description></description>
				<pubDate>Mon, 16 Nov 2009 19:21:31 +0000</pubDate>
				<wikidot:authorName>iceet</wikidot:authorName>				<wikidot:authorUserId>393874</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hey Frater, thanks for the excellent script. It's working great for me. The only issue I have is that it is not automatically deleting the *.torrent.transmission files in the watchdog folder after max seedtime or max ratio is reached. It removes the torrents from transmission's list, but those files still remain. Is there any way to make them delete those as well?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-582920</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-582920</link>
				<description></description>
				<pubDate>Sat, 12 Sep 2009 18:55:37 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The third is throttling when samba is busy.<br /> You can have transmission killed when samba is busy or have it throttled so it doesn't use too much cpu.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-582855</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-582855</link>
				<description></description>
				<pubDate>Sat, 12 Sep 2009 17:00:30 +0000</pubDate>
				<wikidot:authorName>Trotelj</wikidot:authorName>				<wikidot:authorUserId>374258</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thank you for your explenation. =)</p> <p>How about these things:</p> <div class="code"> <pre> <code>TW_FULL_THROTTLE_DOWN=0 TW_FULL_THROTTLE_UP=300 ... TW_SCHEDULE_THROTTLE_DOWN=2000 TW_SCHEDULE_THROTTLE_UP=200 ... TW_THROTTLE_DOWN=100 TW_THROTTLE_UP=1</code> </pre></div> <p>The first couple throtle for "full speed" aka 1 in the scheduler?<br /> the second couple throtle for 0 in the scheduler?<br /> and the third stands for?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-582670</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-582670</link>
				<description></description>
				<pubDate>Sat, 12 Sep 2009 10:46:51 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It's the scheduler for throttling or full speed (0 = throttle, 1 = full speed)<br /> They represent the hours…</p> <p>0 = 00h<br /> 1 = 01h<br /> .<br /> .<br /> 22 = 22h<br /> 23 = 23h</p> <p>There are 2 Arrays. 1 for workdays and 1 for weekend….</p> <p>The Array WORKDAY defines which day is a Weekend and which day is a Workday…..</p> <p>0 = Sunday<br /> 1 = Monday<br /> 2 = Tuesday<br /> 3 = Wednesday<br /> .<br /> 6 = Saturday</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-582605</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-582605</link>
				<description></description>
				<pubDate>Sat, 12 Sep 2009 08:19:40 +0000</pubDate>
				<wikidot:authorName>Trotelj</wikidot:authorName>				<wikidot:authorUserId>374258</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Can some one please tell me how these things work:</p> <div class="code"> <pre> <code>SCHEDULE_WEEKEND=([0]="0" [1]="0" [2]="1" [3]="1" [4]="1" [5]="1" [6]="1" [7]="$ SCHEDULE_WORKDAY=([0]="1" [1]="1" [2]="1" [3]="1" [4]="1" [5]="1" [6]="1" [7]="$ ... WORKDAY=([0]="0" [1]="1" [2]="1" [3]="1" [4]="1" [5]="1" [6]="0")</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-552944</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-552944</link>
				<description></description>
				<pubDate>Tue, 04 Aug 2009 14:31:52 +0000</pubDate>
				<wikidot:authorName>arryo</wikidot:authorName>				<wikidot:authorUserId>302773</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Since I can download my specific type of torrent go to my desired folder (using transmission Remote), I don't need that option anymore. Your program takes care of the user authorization problem. I don't know why my transmission always makes my download torrent as root, therefore I can't delete/move from samba</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-552925</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-552925</link>
				<description></description>
				<pubDate>Tue, 04 Aug 2009 14:10:58 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>If TW_MAILERSERVICE is empty it will not try to mail.</p> <p>Moving the torrent is the reason why I wrote this script. It is not designed to be optionally turned off.<br /> Why don't you want to do this?</p> <p>What DO you want the watchdog to do?</p> <p>You may consider putting an extra "_exit" in.<br /> This way the script only does the 1-minute part (automatically adding a torrent).</p> <div class="code"> <pre> <code># Only run rest of code every 5 minutes [ ! "$((${MINUTE}%${TW_INTERVAL}))" == "0" ] &amp;&amp; _exit</code> </pre></div> <div class="code"> <pre> <code>_exit # Only run rest of code every 5 minutes [ ! "$((${MINUTE}%${TW_INTERVAL}))" == "0" ] &amp;&amp; _exit</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-552878</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-552878</link>
				<description></description>
				<pubDate>Tue, 04 Aug 2009 12:56:29 +0000</pubDate>
				<wikidot:authorName>arryo</wikidot:authorName>				<wikidot:authorUserId>302773</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Frater,</p> <p>If I don't want to move my torrent after finish downloading and I dont want to use mail option. What should I do to turn off those options?</p> <p>Thanks</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-549509</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-549509</link>
				<description></description>
				<pubDate>Fri, 31 Jul 2009 10:48:37 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-546885</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-546885</link>
				<description></description>
				<pubDate>Tue, 28 Jul 2009 20:38:23 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>777 gives the files all the rights to everyone (<strong><em>rwxrwxrwx</em></strong>)</p> <p>I deliberately give no executable rights because they are treated as the hidden flag in samba.<br /> I give them <strong><em>rw-rw-r—</em></strong></p> <div class="code"> <pre> <code>chmod -R ug-x+rwX /shares/internal/PUBLIC chmod -R ug-x+rwX /shares//Public/Shared* chown -R www-data:www-data /shares/internal/PUBLIC chown -R nobody:jewab /shares//Public/Shared*</code> </pre></div> <p>This makes me think you didn't set the proper user (chown)<br /> This can be done in /opt/etc/trans_watchdog.conf</p> <p>for bluering:</p> <div class="code"> <pre> <code>TW_DATAGROUP=www-data TW_DATAUSER=www-data</code> </pre></div> <p>for whitelight:</p> <div class="code"> <pre> <code>TW_DATAGROUP=jewab TW_DATAUSER=nobody</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-546775</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-546775</link>
				<description></description>
				<pubDate>Tue, 28 Jul 2009 17:30:27 +0000</pubDate>
				<wikidot:authorName>anpe008</wikidot:authorName>				<wikidot:authorUserId>326731</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I had the same problem. I run another 10 min cron job to apply the access rights on my "Downloaded" folder (/shares/Public/WWW/Qtorrent):</p> <blockquote> <p>chmod -R 777 /shares/Public/WWW/Qtorrent</p> </blockquote> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-546670</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-546670</link>
				<description></description>
				<pubDate>Tue, 28 Jul 2009 15:38:01 +0000</pubDate>
				<wikidot:authorName>Pro90</wikidot:authorName>				<wikidot:authorUserId>355554</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi!</p> <p>although I have the trans_watchdog script running which should take care of user rights, it seems that i don't have the rights to move downloaded files under Windows Vista. How can that problem be solved???</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-523455</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-523455</link>
				<description></description>
				<pubDate>Wed, 01 Jul 2009 15:31:06 +0000</pubDate>
				<wikidot:authorName>arryo</wikidot:authorName>				<wikidot:authorUserId>302773</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thank you, I didn't check that thread before because i thought it only applies to White Light while i'm using Blue ring</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-522714</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-522714</link>
				<description></description>
				<pubDate>Tue, 30 Jun 2009 16:33:42 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have helped anpe with installing the trans_watchdog on his worldbook.<br /> He wrote a tutorial to install the watchdog.</p> <p><a href="http://mybookworld.wikidot.com/forum/t-165210/how-to-set-up-wd-mbwe-white-light-properly-transmission-1-72-automate-and-manage-torrents">http://mybookworld.wikidot.com/forum/t-165210/how-to-set-up-wd-mbwe-white-light-properly-transmission-1-72-automate-and-manage-torrents</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-522686</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-522686</link>
				<description></description>
				<pubDate>Tue, 30 Jun 2009 15:40:44 +0000</pubDate>
				<wikidot:authorName>arryo</wikidot:authorName>				<wikidot:authorUserId>302773</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This is very nice wrap up but I suggest you should also include the installation procedure too. Because what I saw is just a file (trans_watchdog), I downloaded it but I don't know where should I put that file and how to activate it</p> <p>Thanks</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-521863</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-521863</link>
				<description></description>
				<pubDate>Mon, 29 Jun 2009 17:42:18 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have noticed that ever since I introduced "mktemp" in my script it is creating files temporary files in /tmp which are never deleted again. Please download trans_watchdog again to get this fixed.</p> <p>You should manually delete these files.<br /> This can be done with this command</p> <div class="code"> <pre> <code>cd /tmp rm -f tmp*</code> </pre></div> <p>You may already have so many files that this command fails with this error-message: <em><strong>"rm: Argument list too long"</strong></em><br /> You can then use this command which takes a while to complete….</p> <div class="code"> <pre> <code>cd /tmp find . -name 'tmp*' | xargs rm</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520736</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520736</link>
				<description></description>
				<pubDate>Sun, 28 Jun 2009 11:43:10 +0000</pubDate>
				<wikidot:authorName>anpe008</wikidot:authorName>				<wikidot:authorUserId>326731</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Haven not registered yet. So i do not have an email account yet.<br /> The point is works now. Thanks.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520692</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520692</link>
				<description></description>
				<pubDate>Sun, 28 Jun 2009 09:14:45 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm doing the anti-spam techniques at the ISP I work for so this sounds quite familiar…<br /> BTW…. I CAN use my own IP to send email even if I use my gmail-address as from-address….<br /> You could change the from address to the one you're given by your provider…</p> <p>You can also do an "nslookup &lt;your wan-ip&gt;".<br /> You will the get the reverse DNS of your wan IP which is the domain of your provider's IP-space on the Internet.<br /> If you use &lt;yourname&gt;@&lt;yourispdomain&gt; as your from-address it may work…</p> <p>But still… Why are you not using your ISP's outgoing mailserver?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520684</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520684</link>
				<description></description>
				<pubDate>Sun, 28 Jun 2009 08:53:05 +0000</pubDate>
				<wikidot:authorName>anpe008</wikidot:authorName>				<wikidot:authorUserId>326731</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have tried it but received this when i run sendEmail alone:</p> <blockquote> <p>Jun 28&nbsp;10:48:15 localhost sendEmail[23767]: ERROR =&gt; Received: 550-5.7.1 [84.74.89.39] The IP you're using to send mail is not authorized to, 550-5.7.1 send email directly to our servers. Please use the SMTP relay at your, 550-5.7.1 service provider instead. Learn more at <a href="http://mail.google">http://mail.google</a>, 550&nbsp;5.7.1 .com/support/bin/answer.py?answer=10336&nbsp;23si5766300bwz.52</p> </blockquote> <p>I run:</p> <blockquote> <p>sendEmail -f username(@)gmail.com -t username(@)gmail.com -u "TEST1" -m "TEST" -s gmail-smtp-in.l.google.com:25</p> </blockquote> <p><a href="http://mail.google.com/support/bin/answer.py?answer=10336">http://mail.google.com/support/bin/answer.py?answer=10336</a></p> <p>"'The IP you're using to send email is not authorized…'<br /> In order to prevent spam, Gmail refuses mail when the sending IP address does not match the sending domain. To send mail from your server to Gmail, we suggest using the SMTP relay provided by your ISP. Please note that we are unable to whitelist IP addresses or otherwise make exceptions at this time."</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520451</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520451</link>
				<description></description>
				<pubDate>Sat, 27 Jun 2009 23:22:01 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I already thought it was strange you already had it working…<br /> But why aren't you just using the incoming mailserver?</p> <p>You can even make the mailserver empty and then it will address the incoming mailserver automatically…..<br /> Why are you making it so hard for yourself?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520393</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520393</link>
				<description></description>
				<pubDate>Sat, 27 Jun 2009 21:32:17 +0000</pubDate>
				<wikidot:authorName>anpe008</wikidot:authorName>				<wikidot:authorUserId>326731</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>BTW… I will add those modules to my prep_whitelight……</p> </blockquote> <p>I think you have to add 2 variables (MAILUSERNAME, MAILPASSWORD) to the trans_watchdog as well in order to have sendEmail correctly.<br /> If i install only the perl modules and I want to use authorization than i have to change the following line in trans_watchdog to give the username/password for authorization:<br /> From:</p> <blockquote> <p>sendEmail -s ${MAILSERVER} -f ${MAILFROM} -t ${MAIL_TO} -o tls=no -o message-file="${INFO}" -u "${IP}: ${TORRENTNAME} torrent finished" -q</p> </blockquote> <p>To somthing like:</p> <blockquote> <p>sendEmail -s ${MAILSERVER} -f ${MAILFROM} -t ${MAIL_TO} -o <strong>tls=auto</strong>-o message-file="${INFO}" -u "${IP}: ${TORRENTNAME} torrent finished" -q <strong>-xu ${MAILUSERNAME} -xp ${MAILPASSWORD}</strong></p> </blockquote> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520301</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520301</link>
				<description></description>
				<pubDate>Sat, 27 Jun 2009 17:00:41 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>port 25 of course….<br /> That's the port for normal SMTP-delivery</p> <p>587 is normally used for authenticated SMTP.</p> <div class="code"> <pre> <code># telnet gmail-smtp-in.l.google.com. 25 Trying 74.125.79.114... Connected to gmail-smtp-in.l.google.com.. Escape character is '^]'. 220 mx.google.com ESMTP 24si2726729eyx.53 quit 221 2.0.0 closing connection 24si2726729eyx.53 Connection closed by foreign host.</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520293</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520293</link>
				<description></description>
				<pubDate>Sat, 27 Jun 2009 16:37:19 +0000</pubDate>
				<wikidot:authorName>anpe008</wikidot:authorName>				<wikidot:authorUserId>326731</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>OK.</p> <p>"perl-crypt-ssleay - 0.55-1" is not needed just:</p> <blockquote> <p>"perl-io-socket-ssl - 0.999-1"<br /> "perl-net-ssleay - 1.30-1"</p> </blockquote> <hr /> <blockquote> <p>gmail-smtp-in.l.google.com.</p> </blockquote> <p>Is it the incoming smtp-server of gmail?<br /> What port is used for that: 587 as well?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520267</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520267</link>
				<description></description>
				<pubDate>Sat, 27 Jun 2009 15:46:33 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Good to know you could help yourself<br /> Do tell in your guide that this is only necessary if your outgoing SMTP-server needs SSL to connect.</p> <p>In this case your target is a gmail-address and you should have used the INCOMING smtp-server of gmail, not the outgoing. Gmail will then accept the mail over unencrypted SMTP.</p> <p><em>gmail-smtp-in.l.google.com.</em></p> <p>You could have solved it as well by using your ISP's outgoing mailserver.<br /> Most of the time they don't use SSL.</p> <p>BTW… I will add those modules to my prep_whitelight……</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520258</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520258</link>
				<description></description>
				<pubDate>Sat, 27 Jun 2009 15:40:40 +0000</pubDate>
				<wikidot:authorName>anpe008</wikidot:authorName>				<wikidot:authorUserId>326731</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>OK. It works now. Thanks. :)</p> <p>I will add it to my guide.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520227</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520227</link>
				<description></description>
				<pubDate>Sat, 27 Jun 2009 14:45:36 +0000</pubDate>
				<wikidot:authorName>anpe008</wikidot:authorName>				<wikidot:authorUserId>326731</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I installed</p> <p>"perl-io-socket-ssl - 0.999-1"<br /> "perl-net-ssleay - 1.30-1"<br /> "perl-crypt-ssleay - 0.55-1"</p> <p>from optware and when i run sendEmail i receive:</p> <blockquote> <p>Jun 27&nbsp;16:40:55 localhost sendEmail[2232]: DEBUG =&gt; Connecting to smtp.gmail.com:465<br /> Jun 27&nbsp;16:40:55 localhost sendEmail[2232]: ERROR =&gt; Connection attempt to smtp.gmail.com:465 failed: IO::Socket::INET: Cannot assign requested address<br /> Jun 27&nbsp;16:40:55 localhost sendEmail[2232]: HINT =&gt; Try specifying a different mail relay with the -s option.</p> </blockquote> <p>what is needed then?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520171</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520171</link>
				<description></description>
				<pubDate>Sat, 27 Jun 2009 12:36:28 +0000</pubDate>
				<wikidot:authorName>anpe008</wikidot:authorName>				<wikidot:authorUserId>326731</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>It will mail you when the torrent is done</p> </blockquote> <p>I think it is worth to mention that in order to mail the downloaded torrents it need the sendEmail as well, if i am correct.</p> <p>This is where I stuck. Everything works now except the mailing functionality.<br /> after cat /opt/etc/trans_watchdog.conf i have these settings:</p> <p>MAILFROM=<span class="wiki-email">moc.liamg|XXX#moc.liamg|XXX</span><br /> MAILSERVER=smtp.gmail.com<br /> MAIL_TO=<span class="wiki-email">moc.liamg|XXX#moc.liamg|XXX</span></p> <p>I have Sendmail as well next to trans_watchdog.</p> <p>and i do not receive any emails although i have all the downloaded torrent file in the "downloded-dir".</p> <p>After executing sendEmail with its parameters i have this error:</p> <blockquote> <p>Jun 27&nbsp;14:55:08 localhost sendEmail[29750]: ERROR =&gt; No TLS support! SendEmail can't load required libraries. (try installing Net::SSLeay and IO::Socket::SSL)</p> </blockquote> <p>For authorization i need the TLS/SSH.</p> <p>Does my perl installation have the IO::Socket::SSL and Net::SSLeay modules available?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520135</guid>
				<title>Re: trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520135</link>
				<description></description>
				<pubDate>Sat, 27 Jun 2009 11:01:34 +0000</pubDate>
				<wikidot:authorName>anpe008</wikidot:authorName>				<wikidot:authorUserId>326731</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks the detailed description! I think it helps a lot to understand the processes.<br /> I added that thread to my guide.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-165520#post-520116</guid>
				<title>trans_watchdog</title>
				<link>http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog#post-520116</link>
				<description></description>
				<pubDate>Sat, 27 Jun 2009 09:53:20 +0000</pubDate>
				<wikidot:authorName>frater</wikidot:authorName>				<wikidot:authorUserId>139187</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Someone asked me to give a short list of what trans_watchdog is doing.<br /> I never really took the time and just started writing and learning in the progress as I am just recently introduced into bash-scripting.</p> <ul> <li>Check if transmission is running…</li> <li>Check every minute if a torrent-file is placed in the watchdog</li> <li>Sanitize the name of the torrent-file (replace diacritical character with their non-diacritical counterpart <a href="http://en.wikipedia.org/wiki/Diacritic">http://en.wikipedia.org/wiki/Diacritic</a>) and remove special characters.</li> <li>Add that torrent if it the maximum downloadable setting has not been reached (MAX_SIMULTANEOUS)</li> <li>Every &lt;INTERVAL&gt; minutes (5) it will continue the script for more work (rest of this list)</li> <li>It will stop if "unrar" is currently busy (to alleviate the worldbook and keep things quick and nasty)</li> <li>If transmission is not running it will start transmission if KEEP_TRANSMISSION_RUNNING is set and then stop the script</li> <li>If transmission is running but not responding it wil restart transmission (if KEEP_TRANSMISSION_RUNNING is set) and stop the script</li> <li>If SUPERSOCIAL is set it will check if samba is busy (using top)</li> <li>If $THROTTLE_DONTKILL is set as well, it will throttle transmission, otherwise it will stop it.</li> <li>It will check a hourly schedule based on 2 arrays. One for weekdays and one for weekend (you can customize which days are weekend) and throttle transmission accordingly.</li> <li>Every 3 hours it will turn transmission-daemon off if it's not handling torrents and KEEP_TRANSMISSION_RUNNING is set</li> <li>If a torrent is downloaded it will pause the torrent, move it to the "finished dir", put a symbolic link instead of the torrent and unpause it.</li> <li>If the torrent is rar-file or dir with rars, it will unrar its contents.</li> <li>If unrarring is successfull and KEEPRAR is set to off it will delete the original file and remove the torrent from the list</li> <li>It will mail you when the torrent is done</li> <li>It will remove a torrent if its lifetime has exceeded a certain age MAX_SEEDTIME</li> <li>It will remove a torrent if MAX_RATIO has been reached.</li> <li>Getting rid of symbolic links if they are not used by transmission-daemon</li> </ul> <p>It's doing some more.. Especially checking if everything is as it should be…</p> <p>After a file has been downloaded I have a seperate script (running every hour) which automatically places AVI's and DVD's to a special directory where I can view them from my xbox (XBMC). These 2 scripts (mkdvd &amp; mvmovie) do this after an extensive cleanup of the name also using a slightly modified IMDB-script because most torrents are infested with all kinds of ugly tags.<br /> <a href="http://wd.mirmana.com/mvmovie">http://wd.mirmana.com/mvmovie</a><br /> <a href="http://wd.mirmana.com/imdb">http://wd.mirmana.com/imdb</a><br /> <a href="http://wd.mirmana.com/mkdvd">http://wd.mirmana.com/mkdvd</a></p> <p>Please use a seperate thread if you have problems <strong><em>installing</em></strong> the script, but do come here if you have notes/problems about using it….</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>