View Single Post
Old 04-01-2011, 07:32 PM  
camperjohn64
Confirmed User
 
Industry Role:
Join Date: Feb 2005
Location: Los Angeles
Posts: 1,531
Quote:
Originally Posted by Babaganoosh View Post
Forgot all about this thread. Hope you got it going. If not try this

check postfix main.cf and make sure your subdomain is listed. I think it needs to be defined in virtal_alias_domains. never tried it with a subdomain so not too sure on this

/etc/postfix/virtual
[email protected] babaganoosh

then edit your /etc/aliases
babaganoosh: "|/usr/bin/php -q /path/to/your/script"

Then run the following commands
postmap /etc/postfix/virtual
/etc/init.d/postfix restart
newaliases

This works on Ubuntu 10.04

Edit: You do not need to set up a system user for your alias.
I am going to try this on the weekend and let you know how it goes. It's the last thing that is holding me back from my iPhone version of my website.
__________________
www.gimmiegirlproductions.com
camperjohn64 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote