punit jain:
> Hi ,
>
> My organisation is primarily a domino setup but we are now moving to
> postfix. Postfix is the edge server with a valid MX now. I accept mail for
> my domain xxx.com. I am presently in process of moving all the users to
> postfix slowly with time. Do we have any setting in postfix wherein i accept
> mail for my domain and if the user is not existing on postfix for my domain
> then all mails should be relayed to domino server?
Accepting mail for non-existent recipients would fill up your mail
queues with spam. Postfix does not have a mechanism for doing bad
things like this.
Instead, you can use transport maps to direct mail for specific
users to the domino server:
/etc/postfix/main.cf:
transport_maps = hash:/etc/postfix/transport
/etc/postfix/transport:
[email protected] smtp:[domino-server.example.com]
You still need to create Postfix accounts for these users. though.
In the example above, the [] avoids complications due to MX record lookups.
> I am not in a position to
> create a userlist wherein i can setup transport rules for each local user,
> simply because userlist is too big and tough to sort out all users. I found
> setting for smtpd_reject_unlisted_recipient = yes which i should accept mail
> for all users ( though including spam as well but thats not a concern yet)
> but i dont know how to relay mails for unlisted user on postfix server to
> domino ?
Don't do it.
Wietse