in reply to call a script via an email

A little more detail is needed here:

You know all the petty stuff, we allow to distract us from the real problem ;)
I'd use procmail and formail on a debian box :
# Procmail recipe... lookaway. :0: * Sender:.*someone@example.com `formail -I"" |perl somescript.pl` # End of recipe.

# Cheesy Perl code fragment. while(<>){ chomp; next unless /^command:/; my $command = $'; next if $command =~ /(:?kill -9)|(?:halt)|(?:fsck)/; system( $command ); }

Something like that anyway.
More importantly look at PGP verification of sender,
we wouldn't want people spoofing emails to the address.

Alternatively try search cpan, category mail

--

Brother Frankus.

¤