Git Product home page Git Product logo

irssi-email-mentions's Introduction

irssi-email-mentions

Receive an email when somebody mentions you on IRC.

  • You're mailed when somebody mentions you (or when your nick appears in the message)
  • You're mailed when a message is send to everyone on the channel
  • You're mailed when somebody sends you a private message

Requirements

This plugin uses sendmail wrapper to send emails. If you have postfix or exim installed it's already in your system. Otherwise you can use nullmailer or ssmtp.

You'll also need MIME::Lite library for Perl.

On Debian/Ubuntu you can install it with

apt-get install libmime-lite-perl

Install

Copy email_mentions.pl to ~/.scripts/irssi and optionally symlink it to ~/.scripts/irssi/autorun

Lame install

$ ssh [email protected]
$ curl https://github.com/mlomnicki/irssi-email-mentions/master/install.sh | sh

Open Irssi and type the following command in any window

/script load email_mentions.pl

Configure

Define how long should the plugin wait for activity? 2 minutes is default

30s = 30 seconds, 5m = 5 minutes, etc.

/set email_mentions_delay 5m

Set email recipient. yourUsername@localhost is default

/set email_mentions_to_address [email protected]

Set email sender. irssi@localhost is default

/set email_mentions_from_address [email protected]

Don't forget to save your config

/save

irssi-email-mentions's People

Contributors

mlomnicki avatar pleia2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

irssi-email-mentions's Issues

Getting e-mail if some nick contains "all"

I just got an e-mail even though I hadn't been mentioned.

In the code I noticed this:

if($message =~ /($server->{nick})|($\@?all:)/)

the mentioned nick ended with "all".
My perl/irssi-fu is not that good, so I can't really parse $\@?all

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.