View Single Post
  #7  
Old 27th April 2010, 16:59
kongi123 kongi123 is offline
Junior Member
 
Join Date: Apr 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Many thanks again, RogueCoder. It now almost works. Besides adding your code in virtual file, I have to define virtual_alias_domains in main.cf, right? The problem is that I don't know the value to be used in virtual_alias_domains for "any domain". This is my code:

/etc/postfix/main.cf:
virtual_alias_domains = (.*) <--- The problem is in this line, I think- It is not working
virtual_alias_maps = hash:/etc/postfix/virtual

/etc/postfix/virtual
(.*) admin@myserver.com

Otherwise, it should work. However, I just predict a further problem. If a sender uses "bcc:" and then the email is sent to admin, as configed. Can the admin see the email list in bcc field? How can the admin see it? Thanks.
Reply With Quote