[plug] Receiving emails to a script

Randal Adamson ranz at himladeon.com
Tue Apr 6 16:11:29 WST 2004


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





More information about the plug mailing list