procmail
[Top] [All Lists]

Re: Procmail Database Interface?

1999-07-12 11:47:04

You can probably do something like

    :0
    ! `script $key`

where script is a Perl or shell script, or a dedicated program, which
returns the correct address for $key (which Procmail would somehow

If I can get the "To" e-mail address from the incoming message, run a PERL
script with that as a parameter, have the PERL script return the forwarding
address (where the message should be forwarded to), and then have procmail
take this retrieved address and actually do the forwarding, it would be
perfect.

How can I get procmail to call the PERL script with the correct "To" e-mail
address?  How can I get procmail to find this address and call the PERL
script with it?

Thanks,
Russell

<Prev in Thread] Current Thread [Next in Thread>