Re: All email forward a copy to testing server

2010-04-15 Thread Wietse Venema
Patric Falinder: > Ok after a little trail and error I tried to remove the > "no_address_mappings" from "-o receive_override_options=" in mater.cf > and it started working:D I did as I first was told, with the options in > main.cf so I didn't add the -o recipient_bcc_maps = > regexp:/etc/postfix/re

Re: All email forward a copy to testing server

2010-04-14 Thread Patric Falinder
Patric Falinder skrev 2010-04-15 08:21: > Mark Martinec skrev 2010-04-13 14:17: >> Patric, >> >>> I looked in to it a little more and it looks like Maia re-writes the >>> new.sub.domain.com to sub.domain.com. >>> I get: >>> >>> /usr/sbin/amavisd-new[22834]: (22834-04) Checking: [62.127.194.20] >>>

Re: All email forward a copy to testing server

2010-04-14 Thread Patric Falinder
Mark Martinec skrev 2010-04-13 14:17: > Patric, > >> I looked in to it a little more and it looks like Maia re-writes the >> new.sub.domain.com to sub.domain.com. >> I get: >> >> /usr/sbin/amavisd-new[22834]: (22834-04) Checking: [62.127.194.20] >> -> >> , >> >> When I guess it should be: >> >> /

Re: All email forward a copy to testing server

2010-04-13 Thread Mark Martinec
Patric, > I looked in to it a little more and it looks like Maia re-writes the > new.sub.domain.com to sub.domain.com. > I get: > > /usr/sbin/amavisd-new[22834]: (22834-04) Checking: [62.127.194.20] > -> > , > > When I guess it should be: > > /usr/sbin/amavisd-new[22834]: (22834-04) Checking:

Re: All email forward a copy to testing server

2010-04-13 Thread Patric Falinder
Patric Falinder skrev 2010-04-13 11:41: Wietse Venema skrev 2010-03-29 15:00: Patric Falinder: /etc/postfix/recipient_bcc: /@sub\.domain\.com/ /^(.*)@sub\.domain\.com$/ $...@new.sub.domain.com Wietse Venema skrev 2010-03-29 14:47: That first line has no result value. Patric Falinder: What

Re: All email forward a copy to testing server

2010-04-13 Thread Patric Falinder
Wietse Venema skrev 2010-03-29 15:00: Patric Falinder: /etc/postfix/recipient_bcc: /@sub\.domain\.com/ /^(.*)@sub\.domain\.com$/ $...@new.sub.domain.com Wietse Venema skrev 2010-03-29 14:47: That first line has no result value. Patric Falinder: What should I set the result value to? I got

Re: All email forward a copy to testing server

2010-03-29 Thread Wietse Venema
Patric Falinder: > /etc/postfix/recipient_bcc: > /@sub\.domain\.com/ > /^(.*)@sub\.domain\.com$/ $...@new.sub.domain.com Wietse Venema skrev 2010-03-29 14:47: > That first line has no result value. Patric Falinder: > What should I set the result value to? > I got this example from the mailinglist

Re: All email forward a copy to testing server

2010-03-29 Thread Ansgar Wiechers
On 2010-03-29 Patric Falinder wrote: > Wietse Venema skrev 2010-03-29 14:47: >> Patric Falinder: >>> /etc/postfix/recipient_bcc: >>> /@sub\.domain\.com/ >>> /^(.*)@sub\.domain\.com$/ $...@new.sub.domain.com >> >> That first line has no result value. > > What should I set the result value to? > I go

Re: All email forward a copy to testing server

2010-03-29 Thread Patric Falinder
Wietse Venema skrev 2010-03-29 14:15: Patric Falinder: ah, I changed that but now I get this error message: warning: regexp map /etc/postfix/recipient_bcc, line 1: using empty replacement string warning: recipient_bcc_maps lookup of patric.falin...@sub.domain.com returns an empty string result

Re: All email forward a copy to testing server

2010-03-29 Thread Ralf Hildebrandt
* Patric Falinder : > Wietse Venema skrev 2010-03-29 14:47: > >Patric Falinder: > >>/etc/postfix/recipient_bcc: > >>/@sub\.domain\.com/ > >>/^(.*)@sub\.domain\.com$/ $...@new.sub.domain.com > > > >That first line has no result value. > > > > Wietse > What should I set the result value to? > I g

Re: All email forward a copy to testing server

2010-03-29 Thread Patric Falinder
Wietse Venema skrev 2010-03-29 14:47: Patric Falinder: /etc/postfix/recipient_bcc: /@sub\.domain\.com/ /^(.*)@sub\.domain\.com$/ $...@new.sub.domain.com That first line has no result value. Wietse What should I set the result value to? I got this example from the mailinglist so I did

Re: All email forward a copy to testing server

2010-03-29 Thread Wietse Venema
Patric Falinder: > /etc/postfix/recipient_bcc: > /@sub\.domain\.com/ > /^(.*)@sub\.domain\.com$/ $...@new.sub.domain.com That first line has no result value. Wietse

Re: All email forward a copy to testing server

2010-03-29 Thread Wietse Venema
Patric Falinder: > > ah, I changed that but now I get this error message: > > > > warning: regexp map /etc/postfix/recipient_bcc, line 1: using empty > > replacement string > > warning: recipient_bcc_maps lookup of patric.falin...@sub.domain.com > > returns an empty string result > > warning: recip

Re: All email forward a copy to testing server

2010-03-29 Thread Patric Falinder
Patric Falinder skrev 2010-03-24 12:00: Ansgar Wiechers skrev 2010-03-24 11:49: On 2010-03-24 Patric Falinder wrote: If I have a subdomain that I need to do this with, sub.domain.com, should it he like this then? /etc/postfix/recipient_bcc: if /@sub\.domain\.com/ /^...@sub\.domain\.com$/ $...@

Re: All email forward a copy to testing server

2010-03-24 Thread Patric Falinder
Ansgar Wiechers skrev 2010-03-24 11:49: On 2010-03-24 Patric Falinder wrote: If I have a subdomain that I need to do this with, sub.domain.com, should it he like this then? /etc/postfix/recipient_bcc: if /@sub\.domain\.com/ /^...@sub\.domain\.com$/ $...@new.domain.com endif You can probably o

Re: All email forward a copy to testing server

2010-03-24 Thread Ansgar Wiechers
On 2010-03-24 Patric Falinder wrote: > If I have a subdomain that I need to do this with, sub.domain.com, > should it he like this then? > > /etc/postfix/recipient_bcc: > if /@sub\.domain\.com/ > /^...@sub\.domain\.com$/ $...@new.domain.com > endif You can probably omit the "if ... endif", the mat

Re: All email forward a copy to testing server

2010-03-24 Thread Patric Falinder
> (copy of an answer from a few days ago) > > To deliver to two destinations, you need two recipients. > > You can use a regexp recipient_bcc_maps to add another > recipient, then use smtp_generic_maps to rewrite it back to > the original during delivery. Use a transport_maps entry to > direct th

Re: All email forward a copy to testing server

2010-03-22 Thread Noel Jones
On 3/22/2010 8:03 AM, postfix users wrote: Dear Noel, Thanks for your reply. Does it mean on my new Exchange 2010 server, I need to add "@new.example.com" email address for each recipient? For example, If I send email to p...@example.com. The smtp_generic_maps included in the example confi

Re: All email forward a copy to testing server

2010-03-22 Thread postfix users
Dear Noel, Thanks for your reply. Does it mean on my new Exchange 2010 server, I need to add "@new.example.com" email address for each recipient? For example, If I send email to p...@example.com. After postfix process, it rewrite the email address p...@new.example.com and delivery to our new

Re: All email forward a copy to testing server

2010-03-19 Thread Noel Jones
On 3/19/2010 8:34 PM, postfix users wrote: Hi, I am migrating the Exchange 2000 to Exchange 2010, but before we switch over to new server, I want make a copy of email to new server for testing. Existing Config: Postfix -> Amavisd -> Exchange 2000 Here what I want : Postfix ---> Amavisd -> E

Re: All email forward a copy to testing server

2010-03-19 Thread Stan Hoeppner
postfix users put forth on 3/19/2010 8:34 PM: > Hi, > > I am migrating the Exchange 2000 to Exchange 2010, but before we switch over > to new server, I want make a copy of email to new server for testing. > > > Existing Config: > > Postfix -> Amavisd -> Exchange 2000 > > Here what I want : >

All email forward a copy to testing server

2010-03-19 Thread postfix users
Hi, I am migrating the Exchange 2000 to Exchange 2010, but before we switch over to new server, I want make a copy of email to new server for testing. Existing Config: Postfix -> Amavisd -> Exchange 2000 Here what I want : Postfix ---> Amavisd -> Exchange 2000 ---> Exchange 2010 I