On Fri, 2012-02-17 at 15:43 -0500, Rich wrote: > I have a postfix with lotus notes setup. That peice is working fine. I > use a transport map entry to send the email to the Domino server. > What I want to do is send all incoming and outgoing mail to a second > server that will be for historical purposes. I will be using cyrus as > the mailstore. > > My challenge is to set up the postfix mail-relay I have in place to > send all the email to both the main domino server and the historical > cyrus box. How can I do this?
Do you have all the users created on the cyrus box too ? In that case 1) create a recipient_bcc_maps regexp file For eg /^(.*)@example.com$/ {$1}@cyrus.example.com 2) Define in transport hash file to send to cyrus directly via lmtp on tcp or send to another smtp server on the cyrus box. For eg. cyrus.example.com lmtp:[cyrus.example.com]:24 3) Rewrite the recipient address before sending using lmtp_generic_maps For eg @cyrus.example.com @example.com That should work AFAIK , please test it before you implement though :-) Thanks Ram PS: You seem to have historic reasons for sending to cyrus , infact it should be other way around. Get rid of the domino and make the cyrus server a primary server. Domino breaks a lot of standards and there is hardly any reason why you should prefer it over cyrus.