Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible in post-fix to forward an Mail send from particular user From: abc@example.com TO:anyuser@ourcompany.com should forward copy of email to other user at external domain abc@somewhere.com, the original recipient should also get the email. only copy of the mail should be forwarded.

i.e From: abc@example.com TO:anyuser@ourcompany.com Copy of message should receive to "abc@somewhere.com"

share|improve this question
    
Have a look at postfix.org/postconf.5.html#always_bcc –  NickW May 14 '13 at 13:38
    
@NickW: thank you very much.i tested and working fine. can be the mail routed as mentioned above with out sending copy to original recipient ? –  ppnair May 15 '13 at 7:44
    
You might need to look into address rewriting in that case, always bcc is part of that, but there is a lot more you can do. postfix.org/ADDRESS_REWRITING_README.html –  NickW May 15 '13 at 8:13
    
Yes it can, but you need to read up a little to decide which method is best for you, is the domain you want to send to external (not hosted on the same machine)? You might want to use virtual alias maps postfix.org/ADDRESS_REWRITING_README.html#virtual.. if not, you may just want a normal alias.. –  NickW May 15 '13 at 9:30
    
@NickW :Will the address re-writing work for my scenario. Mail originating from internet domain abc@example.com sending to my domain TO:anyuser@ourcompany.com which in turn i want to route to other email address which is in other domain "abc@somewhere.com" in internet –  ppnair May 15 '13 at 9:30
show 3 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.