Host wildcard subdomains using postfix.
Posted
by Jack M.
on Server Fault
See other posts from Server Fault
or by Jack M.
Published on 2010-04-16T18:41:38Z
Indexed on
2010/04/16
18:53 UTC
Read the original article
Hit count: 306
postfix
I'm trying to work out how I can get postfix to accept email for any sub-domain of my main site. I don't have virtual domains, just a long list of sub-domains for local delivery. In specific, I'm feeding python@*.mydomain.com
into a Python using the alias file:
python: |/www/proc_email.py
The Python can handle delivery from there. I envision this looking something along the lines of:
mydestination = encendio, localhost.localdomain, localhost, *.mydomain.com
I'm running the latest version of postfix on Ubuntu (not rightly sure how to check the version).
Thanks in advance.
© Server Fault or respective owner