Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-28-2007, 01:13 PM
Special Member
 
Posts: 146
Question [SOLVED] Automatically CC an account? Is this possible?

I have an email account that I use only for tech support. While in that account, I would like to automatically CC a different account for every email (as a record of the email).

I don't mean forwarding - that is for email you are recieving. I mean automatically sending (or CCing) a different email account for every email sent.

Is this possible?

Thanks,
Rob
Reply With Quote
  #2 (permalink)  
Old 07-03-2007, 01:34 PM
Moderator
 
Posts: 6,237
Default

Just came accross someone else asking today-and as this is only a few days old thought I'd share:
Quote:
Originally Posted by fajarpri View Post
Mail copies (always_bcc) in domain / certain user
-can already do in postfix: always_bcc = address@domain.com (you can also do maps with 'sender_bcc_maps' and 'recipient_bcc_maps')
-user side: Bug 15306 - User defined auto bcc

Last edited by mmorse; 07-03-2007 at 01:47 PM..
Reply With Quote
  #3 (permalink)  
Old 08-29-2007, 01:07 PM
rib rib is offline
Active Member
 
Posts: 25
Default

I cant seem to figure out how to get always_bcc to work for 1 specific user

ie. All sent mail from a@domain.com to be sent to b@domain.com
Quote:
-can already do in postfix: always_bcc = address@domain.com (you can also do maps with 'sender_bcc_maps' and 'recipient_bcc_maps')
how do i specify the sender/forwarding address in that scenario?

if someone could post an example I would appreciate it

Thanks in advance
Reply With Quote
  #4 (permalink)  
Old 08-30-2007, 08:00 AM
rib rib is offline
Active Member
 
Posts: 25
Default

to get it to work it did the following steps

in /opt/zimbra/postfix/conf i created a file called sender_bcc
and added the user i wanted to copy/send to
employee@domain.com boss@domain.com

in /opt/zimbra/postfix/conf/main.conf I added sender_bcc_maps = hash:/opt/zimbra/postfix/conf/sender_bcc

then run as zimbra user
postmap /opt/zimbra/postfix/conf/sender_bcc

restart postfix -
postfix reload


This did the trick for me
Reply With Quote
  #5 (permalink)  
Old 07-29-2008, 01:18 AM
Senior Member
 
Posts: 62
Default

hi

what is the correct file "main.cf" or "main.conf"?

there is only a file "main.cf" available. i used this file only instead of "main.conf"

but i am not able to run following commands with in zimbra user
Quote:
restart postfix -
i got following error

Quote:
-bash: restart: command not found
but i am able to run

Quote:
postfix reload
the output is

Quote:
postfix/postfix-script: refreshing the Postfix mail system
but there is no copy of mail sent to destination email address.

Last edited by nskmdu; 07-29-2008 at 01:32 AM..
Reply With Quote
  #6 (permalink)  
Old 10-22-2008, 01:16 PM
Special Member
 
Posts: 117
Default

hi,

does i reach with always_bcc also emails which are sent from the zimbra webgui to an other zimbra user on that machine?

greetings
thomas
Reply With Quote
  #7 (permalink)  
Old 01-05-2009, 01:50 PM
Intermediate Member
 
Posts: 19
Default sender_bcc_maps with Zimbra 3.13

Regarding Rib's post:

Quote:
to get it to work it did the following steps

in /opt/zimbra/postfix/conf i created a file called sender_bcc
and added the user i wanted to copy/send to
employee@domain.com boss@domain.com

in /opt/zimbra/postfix/conf/main.conf I added sender_bcc_maps = hash:/opt/zimbra/postfix/conf/sender_bcc

then run as zimbra user
postmap /opt/zimbra/postfix/conf/sender_bcc

restart postfix -
postfix reload


This did the trick for me
Is there a reason why this doesn't work with 3.13_GA ?

When I activate this (with the postfix reload) zimbra no longer accepts connections from my mail clients. As soon as I copy back my original main.cf and reload postfix, everything's fine again.

I'd really like to use sender_bcc_maps but I can't get it to work with our old system.

And yes, I know I should upgrade to a newer version, but that's easier said than done. But I'm working on it.
Meanwhile, any input on getting this running with 3.13 would be appreciated.

Thanks
Reply With Quote
  #8 (permalink)  
Old 05-29-2009, 07:05 AM
Intermediate Member
 
Posts: 21
Default Forgot to run "Portmap" ?

I ran into the same problem, it was due to the fact that i forgot to run the postmap command.
Reply With Quote
  #9 (permalink)  
Old 05-29-2009, 07:21 AM
Intermediate Member
 
Posts: 19
Default Hey, thanks.

This is still something I'd like to use.

However, I'm don't quite understand. How is portmap used in this case?
What other configuration is needed to make it work with postfix?

Thanks again for the reply.
Reply With Quote
  #10 (permalink)  
Old 05-29-2009, 08:25 AM
Intermediate Member
 
Posts: 21
Default

@ KLGNT

Sorry, i should have been more clear.

You said :
"When I activate this (with the postfix reload) zimbra no longer accepts connections from my mail clients."

I ran into the same symptom after :
- having created a sender_bcc map,
- modified main.cf
- run postfix reload

You see above that the postmap command from rib's instructions is missing.

Now if i run :
- "postmap /opt/zimbra/postfix/conf/sender_bcc"
before "postfix reload" it works for me.

I am not sure it is related but that solved my problem.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.