Re: How can i run shell script after mail arrive ?



Jabka Atu wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello ,...

how can i run a script when mail arrive ? (kmail and icedove).
create a .forward file in your home directory, and put a line in it of the form:
|"|$HOME/bin/your.program -and some arguments"

look at http://linuxgazette.net/issue14/procmail.html for some details

if you want to do something fancier, install procmail (Google it)

do a little research - you want to get permissions set properly, to avoid opening up a really big security hole in your system, and you want to be careful not to set up any mail loops


|


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • kmail wont send attachments.
    ... Using Kmail in Sarge and it won't send attachments, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Dates and times in Icedove
    ... I am beginning to think the same way, especially if I can import all my IceDove files to either Mutt or Kmail. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • securing desktop
    ... and I would like to secure the desktop. ... permissions on the home directory (ie, ... making booting into that user on the computer impossible ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: migrating old mail from thunderbird to icedove
    ... file that controls which mail folders and accounts are available. ... BUT you cannot let IceDove ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Icedove
    ... but another problem is that it does not open the browser when ... In Gnome, icedove can piggyback on other configurations to ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)