Authentication Bypass in MailboxImportServlet vulnerability (reminder)
https://blog.zimbra.com/2022/08/authentication-bypass-in-mailboximportservlet-vulnerability/

[SOLVED] Automatically CC an account? Is this possible?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
sternfan
Advanced member
Advanced member
Posts: 144
Joined: Fri Sep 12, 2014 10:30 pm

[SOLVED] Automatically CC an account? Is this possible?

Postby sternfan » Thu Jun 28, 2007 3:13 pm

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


mmorse
Ambassador
Ambassador
Posts: 6036
Joined: Fri Sep 12, 2014 10:24 pm

[SOLVED] Automatically CC an account? Is this possible?

Postby mmorse » Tue Jul 03, 2007 3:34 pm

Just came accross someone else asking today-and as this is only a few days old thought I'd share:

[quote user="fajarpri"]Mail copies (always_bcc) in domain / certain user[/quote]-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">http://bugzilla.zimbra.com/show_bug.cgi?id=15306>Bug 15306 - User defined auto bcc
16112rib
Posts: 25
Joined: Fri Sep 12, 2014 10:44 pm

[SOLVED] Automatically CC an account? Is this possible?

Postby 16112rib » Wed Aug 29, 2007 3:07 pm

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')[/QUOTE]
how do i specify the sender/forwarding address in that scenario?
if someone could post an example I would appreciate it
Thanks in advance
16112rib
Posts: 25
Joined: Fri Sep 12, 2014 10:44 pm

[SOLVED] Automatically CC an account? Is this possible?

Postby 16112rib » Thu Aug 30, 2007 10:00 am

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
nskmdu
Advanced member
Advanced member
Posts: 62
Joined: Fri Sep 12, 2014 11:33 pm

[SOLVED] Automatically CC an account? Is this possible?

Postby nskmdu » Tue Jul 29, 2008 3:18 am

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 -

[/QUOTE]
i got following error
[QUOTE]

-bash: restart: command not found

[/QUOTE]
but i am able to run
[QUOTE]

postfix reload

[/QUOTE]
the output is
[QUOTE]

postfix/postfix-script: refreshing the Postfix mail system
[/QUOTE]
but there is no copy of mail sent to destination email address.
stegbth
Advanced member
Advanced member
Posts: 141
Joined: Fri Sep 12, 2014 11:48 pm
Location: Bavaria in Germany

[SOLVED] Automatically CC an account? Is this possible?

Postby stegbth » Wed Oct 22, 2008 3:16 pm

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
Release 8.6.0.GA.1153.UBUNTU14.64 FOSS edition, Patch 8.6.0_P6
KLGNT
Posts: 19
Joined: Fri Sep 12, 2014 11:17 pm

[SOLVED] Automatically CC an account? Is this possible?

Postby KLGNT » Mon Jan 05, 2009 3:50 pm

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[/QUOTE]
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
hocky
Posts: 21
Joined: Sat Sep 13, 2014 12:28 am

[SOLVED] Automatically CC an account? Is this possible?

Postby hocky » Fri May 29, 2009 9:05 am

I ran into the same problem, it was due to the fact that i forgot to run the postmap command.
KLGNT
Posts: 19
Joined: Fri Sep 12, 2014 11:17 pm

[SOLVED] Automatically CC an account? Is this possible?

Postby KLGNT » Fri May 29, 2009 9:21 am

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.
hocky
Posts: 21
Joined: Sat Sep 13, 2014 12:28 am

[SOLVED] Automatically CC an account? Is this possible?

Postby hocky » Fri May 29, 2009 10:25 am

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

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 41 guests