Redirecting an e-mail to a script

Matthew Miller mattdm at mattdm.org
Thu Oct 28 02:19:06 UTC 2004


On Wed, Oct 27, 2004 at 10:10:56PM -0400, Shane Presley wrote:
> So I was told that all I had to do is put a .forward file in /home/bb
> and use the .forward file to call the script.
[snip]
> In conversation with some folks here they also mentioned that:
>       -I may have to use an alias, not a .forward
>       -I may have to install procmail


Luckily, Fedora Core is already set up to use postfix as the local delivery
agent. So, remove the .forward file, and make a .procmailrc containing this:

:0
| /path/to/your/script


And there you go.

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>




More information about the fedora-list mailing list