Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [SOLVED] forward outgoing messages to another account on the server

  1. #1
    sridharsagi is offline Intermediate Member
    Join Date
    May 2010
    Posts
    23
    Rep Power
    5

    Default [SOLVED] forward outgoing messages to another account on the server

    Hi Team,

    I am looking for the solutions to forward all the outgoing messages from a user account to be forwarded to his archival account in the same server

    Exmaple:

    I will create two account per each user.

    Say abc@example.com and abc.arc@example.com

    i want a forward the mail sent from abc@example.com to abc.arc@example.com

    Irespective of the mail sent using email client on desktop or webmail.



    My intenstion is to pop the mails on abc.arc@example.com account from another zimbra server backup.exmample.com on which there will be abc@backup.example.com.


    Please provide the solution to achieve the above senario.

    Regards,
    Sridhar

  2. #2
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    zmprov ma abc@example.com zimbraPrefBccAddress abc.arc@example.com

    This will forward all mails sent by abc to abc.arc
    Last edited by phoenix; 05-25-2010 at 03:34 AM.

  3. #3
    sridharsagi is offline Intermediate Member
    Join Date
    May 2010
    Posts
    23
    Rep Power
    5

    Default

    Thanks veronica, Where should i configured this option.

    Is threre any file?? to configure this options.

  4. #4
    sridharsagi is offline Intermediate Member
    Join Date
    May 2010
    Posts
    23
    Rep Power
    5

    Default

    Quote Originally Posted by sridharsagi View Post
    Thanks veronica, Where should i configured this option.

    Is threre any file?? to configure this options.
    when i excute the command as above by replacing the email address

    The error i get is

    ERROR: account.INVALID_ATTR_NAME (invalid attr name: [LDAP: error code 17 - zzimbraPrefBccAddress: attribute type undefined])

    Please help me

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Quote Originally Posted by sridharsagi View Post
    ERROR: account.INVALID_ATTR_NAME (invalid attr name: [LDAP: error code 17 - zzimbraPrefBccAddress: attribute type undefined])
    That's because there's a spelling error in the name of the attribute, Zimbra is spelt with one 'z'.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    sridharsagi is offline Intermediate Member
    Join Date
    May 2010
    Posts
    23
    Rep Power
    5

    Default

    Quote Originally Posted by sridharsagi View Post
    when i excute the command as above by replacing the email address

    The error i get is

    ERROR: account.INVALID_ATTR_NAME (invalid attr name: [LDAP: error code 17 - zzimbraPrefBccAddress: attribute type undefined])

    Please help me
    i am able set the ldap zimbraPrefBccAddress correctly,

    I have crossed checked by listing the attributes.

    i have restarted all zimbra services and tried to send a mail from abc@example.com and check in abc.arc@example.com

    i did not find the mail i sent.

    Is there any service to be started or any other configuration to be done

  7. #7
    sridharsagi is offline Intermediate Member
    Join Date
    May 2010
    Posts
    23
    Rep Power
    5

    Default

    Hi

    I have created the ldap attribute as mentioned.

    I sent a mail from abc@example.com to another domain.

    According to the configuration all the sent mails from abc@example.com should be forwarded to abc.arc@example.com

    I am not able to see the sent mails from abc@example.com in abc.arc@example.com

    Please help me

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    As you don't really have Zimbra 6.1 installed please update your forum profile with the output of the following command (do not post it in this thread):

    Code:
    zmcontrol -v
    You've given no evidence that a) the attribute is actually set nor b) any evidence from the log files that the message is or isn't being delivered. You could always use the Postfix always_bcc option (search the forums for details on what's necessary).
    Last edited by phoenix; 05-31-2010 at 03:35 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    sridharsagi is offline Intermediate Member
    Join Date
    May 2010
    Posts
    23
    Rep Power
    5

    Default

    Hi,

    The attribute was set properly i am able to check it with with command

    [zimbra@mail bin]$ zmprov ga sridhar.arc@example.com | grep PrefBcc
    zimbraPrefBccAddress: sridhar@backupmail.example.com

    i am not able to receive mail sent from srihdar.arc@example.com to sridhar@backupmail.example.com

    Also i want this to be setup for every account so that i can forward mail sent from each user@example.com to his account on another server that is user@backupmail.example.com

    But the Post fix solution is for sending all mail to a single account, which i dont want.

  10. #10
    sridharsagi is offline Intermediate Member
    Join Date
    May 2010
    Posts
    23
    Rep Power
    5

    Default

    Hi,

    I am able to forward the outgoing mail from abc@example.com to abc@backupmail.example.com

    I used the sender_bcc_maps feature of postfix

    i tried forward mails sent from:

    abc@example.com to abc@backupmail.example.com
    abc.arc@example.com to abc.arc@backupmail.example.com

    I have done the below to accomplist this task::

    1. I created a file /opt/zimbra/postfix-2.6.5.2z/conf/sender_bcc_maps
    2. Then i run the command
    postmap /opt/zimbra/postfix-2.6.5.2z/conf/sender_bcc_maps as zimbra user
    3. I restarted the zimbra with zmcontrol stop and the start.

    That's all everytihing is working as i needed.

    Thanks to all for the support extended on my issue.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. zmmailboxdctl is not running !!!!!!
    By olibite in forum Administrators
    Replies: 14
    Last Post: 04-28-2011, 05:50 AM
  2. all messages being deferred after server rename
    By brettcave in forum Administrators
    Replies: 3
    Last Post: 10-19-2009, 09:31 AM
  3. Replies: 2
    Last Post: 03-01-2009, 01:18 AM
  4. Messages gone from Yahoo! Server
    By amadeus in forum General Questions
    Replies: 2
    Last Post: 12-02-2008, 09:02 AM
  5. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •