Re: All email forward a copy to testing server

2010-04-15 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] patric.falin...@omg.nu -

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 =

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-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:

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] patric.falin...@omg.nu - patric.falin...@sub.domain.com,patric.falin...@sub.domain.com When I

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-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: recipient_bcc_maps

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 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

Re: All email forward a copy to testing server

2010-03-29 Thread Ralf Hildebrandt
* Patric Falinder patric.falin...@omg.nu: 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

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 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 got this example

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 so I

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 the

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 match alone

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

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 Is it

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 : Postfix ---

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 -