I need someone's help setting up a way to pipe incoming emails from *@uploads.mydomain.com to a php program
The problem is, I don't know how to set up emails and subdomains in postfix through webmin. I don't know how to tell postfix to handle emails from a subdomain and the documentation is not doing as I expect.
Once the uploads.mydomain.com subdomain is setup, I can handle getting it to the PHP script, I just don't know how to tell postfix to handle the domain, and the subdomain.
Does anyone have experience with Webmin and postfix? Or even just postfix?
- I am using procmail and postfix
- I have set up the DNS to handle the subdomain uploads.mydomain.com
- I have successfully gotton ALL emails to go to my php script (yay)
- I am UNABLE to get emails from the SUBDOMAINS to go to my php script.
Here is the successful "redirect to PHP script", but I don't know how to tell postfix to handle the main domain and subdomain. What is a postfix virtual domain? What is transport mapping? Are users considered to be aliases? Hmmm..
I have one day to figure this out, it's a small detail and I'm sure I'm missing something.