OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Advanced config help needed

From: Brano (branobgmail.com)
Date: Mon Aug 13 2007 - 21:35:09 CDT


I'd appreciate help with my config (can't figure it out for hours):
- running postfix as front-end for Scalix server on the same linux box
- Scalix is listening on port 10026
- the system is receiving mails for domain1.com and domain2.com

Everything works fine, ALL e-mails are passed to Scalix however I need
one enhancement:
- I need all e-mails for certain users (i.e. root or postmaster
domain1 or domain2) to be delivered to local /var/spool/mail/root (or
postmaster) instead to Scalix (that is not configured to handle these
users and it's bouncing it back)

My confing as follows:

main.cf
----------
myhostname = mail.domain1.com
mydomain = domain1.com
mydestination = $myhostname, $mydomain, localhost, localhost.localdomain

transport_maps = hash:/etc/postfix/my_transport
relay_domains = /etc/postfix/my_relay_domains

my_transport
-------------------
domain1.com smtp:[127.0.0.1]:10026
.domain1.com smtp:[127.0.0.1]:10026

domain2.com smtp:[127.0.0.1]:10026
.domain2.com smtp:[127.0.0.1]:10026

my_relay_domains
---------------------------
domain1.com
domain2.com

Any hints highly appreciated.
Thanks,
Brano