|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Automtic User Subdomains
From: Roy S. Rapoport (postfix-users
ols.inorganic.org)
Date: Wed Jun 02 2004 - 01:36:32 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
For each user named 'foo' on my system, I'd like to have it so
'<ANYTHING>
foo.users.inorganic.org' goes to foo
inorganic.org
Normally, I'd need two entries in virtual:
foo.users.inorganic.org filler
foo.users.inorganic.org foo
inorganic.org
It _looked_ like (reading virtual and regexp_table) I could do the second
half automatically thus:
/
(.*).users.inorganic.org/ ${1}
inorganic.org
So I figured maybe I'd be able to do this with the first line also,
resulting in these two lines in my virtual table:
/(.*).users.inorganic.org/ filler
/
(.*).users.inorganic.org/ ${1}
inorganic.org
I've made no changes to main.cf because there doesn't seem to be a need to
include alias domains in both virtual and, say, mydestination. postconf -n
output is attached, of course.
Unfortunately, mailing to something
rsr.users.inorganic.org gets me a
bounce with the dreaded
---
Diagnostic-Code: X-Postfix; mail for rsr.users.inorganic.org loops back to mysel
---
And these logfile entries:
---
16.239.56.246]
Jun 1 23:30:49 puppy postfix/smtpd[15774]: [ID 197553 mail.info] connect from mproxy.gmail.com[216.239.56.249]
Jun 1 23:30:49 puppy postfix/smtpd[15774]: [ID 197553 mail.info] 67CCD43E1: client=mproxy.gmail.com[216.239.56.249]
Jun 1 23:30:49 puppy postfix/cleanup[15777]: [ID 197553 mail.info] 67CCD43E1: message-id=<d9e4c7fc04060123302d52216a
mail.gmail.com>
Jun 1 23:30:49 puppy postfix/qmgr[15769]: [ID 197553 mail.info] 67CCD43E1: from=<royrapoport
gmail.com>, size=743, nrcpt=2 (queue active)
Jun 1 23:30:49 puppy postfix/smtpd[15774]: [ID 197553 mail.info] disconnect from mproxy.gmail.com[216.239.56.249]
Jun 1 23:30:49 puppy postfix/smtp[15778]: [ID 197553 mail.info] 67CCD43E1: to=<whatever
rsr.users.inorganic.org>, relay=none, delay=0, status=bounced (mail for rsr.users.inorganic.org loops back to myself)
---
What am I missing? What docs should I be reading to figure this out?
-roy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]