OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
domain alias

From: Christian Veigl (cvbdf-net.com)
Date: Tue Oct 02 2007 - 03:54:22 CDT


Hello there.

Is there a way to supply the results of a virtual_mailbox_maps-lookup
to the pipe(8) command ?

My setup includes alises for whole domains.

Meaning i have a 'real' domain domain.real.com and an 'alias' domain
domain.alias.com. Now mail addressed to $userdomain.alias.com should be
delivered to $userdomain.real.com.

Postfix works great with this.

What does not work so far is the following:

Delivery is done by maildrop via pipe. So far i did not figure out how to
get the result from the lookup from virtual_mailbox_maps (which works)
into maildrop.

All maildrop can get, is the original recipient address ($userdomain.alias.com
in the above example).

And that mail can't be deliverd since there are no mailboxes for that
(alias) domain.

I helped myself symlinking around between mailboxes - but i really hope
there's another way.

cv.

--
Christian Veigl
cv AT bdf DASH net DOT com
BDF-net

BOFH excuse #64:

CPU needs recalibration