Package: irssi-scripts Version: 20100512 Severity: normal File: /usr/share/irssi/scripts/awayproxy.pl Usertags: pca.it-communication
Hi there!
I recently configured the awayproxy.pl script on my squeeze server with
~/.irssi/scripts/awayproxy.pl -> /usr/share/irssi/scripts/awayproxy.pl
This because README.Debian contains (emphasis is mine):
--8<---------------cut here---------------start------------->8---
Some frequently asked questions with answers:
Q: How do I run scripts?
A: In irssi do /script load script.pl . There is a default alias for
/script load to /run in newer versions of irssi.
Q: How do I rerun scripts?
A: Just do /script load script.pl .
Q: How do I unload scripts?
A: Just do /script unload script.pl .
Q: How do I run scripts automatically at startup?
A: Put them into ~/.irssi/scripts/autorun/ directory. Or better would be if
you placed them in ~/.irssi/scripts/ (or kept them in the default
^^^^^^^^^^^^^^^^^^^^^^^^^^^
installation directory) and created symlinks to autorun directory
^^^^^^^^^^^^^^^^^^^^^^
(eg. cd ~/.irssi/scripts/autorun/ ; ln -s ../script.pl .)
--8<---------------cut here---------------end--------------->8---
However, I then started to get mail delivery failure notifications with
the IRC messages received when I was away:
<[email protected]>: connect to postbox.fabulous.com[128.242.120.13]:25:
Connection refused
This is because the default values for awayproxy.pl are:
--8<---------------cut here---------------start------------->8---
# script operation mode:
# 0 - to send messages both to email and when you get back to proxy
# 1 - only email
# 2 - only irc
# 3 - off
$config{script_mode} = 1;
p# email address where to send the email
$config{emailto} = '[email protected]';
--8<---------------cut here---------------end--------------->8---
I would suggest to change the default value for script_mode to 2, thus
the instructions in README.Debian (symlinking the files shipped in the
installation directory) would still work ;-)
I reported this bug in the version in squeeze, but it is still present
in the Git repository, thus sid.
Thx, bye,
Gismo / Luca
-- System Information:
Debian Release: 6.0.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages irssi-scripts depends on:
ii irssi 0.8.15-2 terminal based IRC client
Versions of packages irssi-scripts recommends:
ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar
Versions of packages irssi-scripts suggests:
pn libdbi-perl <none> (no description available)
ii net-tools 1.60-23 The NET-3 networking toolkit
ii perl 5.10.1-17squeeze3 Larry Wall's Practical Extraction
ii perl-modules 5.10.1-17squeeze3 Core Perl modules
ii w3m [www-browser] 0.5.2-9 WWW browsable pager with excellent
-- no debconf information
pgpLfDqWoWjub.pgp
Description: PGP signature

