[plug] Receiving emails to a script

Randal Adamson ranz at devdata.net
Tue Apr 6 17:27:15 WST 2004


I have some tweaking to do :) I'll send an email to let people know how
I went.

Thanks to all who responded.

Ranz

-----Original Message-----
From: plug-bounces at plug.linux.org.au
[mailto:plug-bounces at plug.linux.org.au] On Behalf Of Randal Adamson
Sent: Tuesday, 6 April 2004 4:11 PM
To: plug at plug.linux.org.au
Subject: [plug] Receiving emails to a script

Hi,

Has anyone played with receiving emails into a script? I am after some
pointers. I hope to do a script in Perl. From what I can gather I need
to run it in the ~/.forward file with some code like this:

|/path/to/my/script.pl

Looking thru my O'Reilly Sendmail book - they talk about something
called smrsh - and that sendmail has locked down users from using the
.forward file. Which probably has something to do with why I can't get
mine to work properly.

I've been doing a bit of googling and can't seem to get the info I need.

So, any info whether this is the correct way or not would be muchly
appreciated.

Not that it should matter, but I'm using Debian for this.

Many thanks,

Ranz


_______________________________________________
PLUG discussion list: plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
Committee e-mail: committee at plug.linux.org.au






More information about the plug mailing list