Email fowarding rules

apps

#1

is it possible to foward email to a specific address to a php script? this is in reference to setting up an email2blog style blog for phone blogging. i tried to add an email with fowarding set to: but control panel specified that the fowarding address should contain an @ symbol
"|php /server/path/to/blag.php"


#2

I think you need to setup the forwarding to deliver mail to a shell user and then put the pipe command in a file named .forward.postfix

See the section on procmail in the wiki:

http://wiki.dreamhost.com/index.php/KB_/_Email#Can_I_use_procmail_to_filter_my_mail.3F