Mail server automatically cc all email for user to other acct but group...

Back on April 2007, David_X answered this question:
How to have the mail server automatically cc all e-mail for user to other accounts, (gmail, hotmail, etc). Here is the old post that explains that:
http://discussions.apple.com/thread.jspa?messageID=4357149&#4357149
What I did not catch at the time was if you setup a Group, one of three ways, the cc step no longer works. There is a fourth way but it is not practical. Creating local groups on individual Macs.
*Group method 1 per David_X:*
Use edited group files on the server.
The following sends to members of groups but does not show all recipients in the received message...
In /etc/postfix/aliases, add...
groupname: :include:/path/to/groupname.txt
In a file called groupname.txt (using plaintext editor)...
[email protected]
[email protected]
Reload aliases...
sudo newaliases
sudo postalias aliases
sudo postfix reload
Mail sent to [email protected] gets passed to amavisd once, before then being relayed out for each individual recipient.
*Group method 2 per David_X:*
Make a user, e.g., "accounts"
In mail settings, select 'Forward' option and enter the group members' email addresses, comma separated e.g.,
[email protected],[email protected]
This gets a bit 'long' for lots of members.
The email then gets sent to each of the people in this list.
*Group method 3 that I just discovered:*
Create a group in Workgroup Manager.
Drag the users you want in it.
Save.
Test sending to that group.
Best part, the group name shows up in Address Book if you have LDAP setup.
So I have setup all three. If I send an email to any type of group, they work.
The problem:
If one of those members in the group also has a BCC setup to Gmail or any other outside email, they never get the e-mail copied out to the external account.
Example:
I send an email to [email protected]. He gets the email there and also a copy at his Gmail account.
If I send an email to the Sales group that jsmith belongs to, he gets the email there but nothing at the Gmail account.
It looks like the mail server processes the "aliases" file and skips the "Recipient_bcc" file that handles the forwards.
Is there a way to have my cake and eat it too? David_X your thoughts also?
Thanks everyone!

Bump.
Short version. Sales guy has a Gmail account he wants his e-mail copied to also.
Send e-mail directly to his Xserve account, he gets it there and it gets sent on to his Gmail account.
Send an e-mail to the sales Group that he is a member of, he gets it there but it never gets sent out to the Gmail account.
Ideas?

Similar Messages

  • How to have mail server automatically cc all email for a user to other acct

    I have a user on my 4.9 Xserve who wants her email automatically send to another account. I set forwarding first, but her email client keeps asking her for a password (and hers doesn't work) and won't allow her to see past email. Is that normal? Anyway, I've shut off forwarding for now, and am wondering if it's possible to have it automatically cc'd to another account (send a copy, but don't interfere with her ability to manage the email in her normal account with an IMAP client). Any ideas?
    Thanks,
    Mike

    Be aware that you are about to enter the dark zone of Unix file editing. Once there, you may never want to come back. Your friends and relatives will spurn you and you will start to dress in dark clothes and listen to impenetrable music.
    You can also screw up your whole system... but hey, who wants to live forever
    If you have a skateboard, sit it on your desk, then switch off all other lights except for an anglepoise...
    In Terminal, cd to postfix directory, and just for interest, list the files already there...
    cd /etc/postfix
    ls -l
    You should see the main.cf one which you will edit later.
    Create the new recipient_bcc file using 'pico', one of the built-in text editors. This is the easiest to start with because it contains on-screen help. There are others, including 'vi' which I would normally use. You will prefix the command with 'sudo' which temporarily makes you the 'super-user' (root) and needs the admin password. So...
    sudo pico recipient_bcc
    Add the two email addresses, separated by a tab or space, on the left: the local email address, and on the right: the address to send copies to (BCCs). To edit existing text, use arrow keys. Save the file using ctrl-o, confirm filename, then exit (ctrl-x).
    For postfix to be able to read this as a database, you need to 'postmap' it...
    sudo postmap recipient_bcc
    To confirm, list the files and you will see the two new ones (ls -l).
    Before editing the main.cf file, make a backup copy of it...
    sudo cp main.cf main.cf.bak
    If you need to revert to the backup, you reverse the orig/target args...
    sudo cp main.cf.bak main.cf
    Edit the main.cf file (sudo pico main.cf) and either 'next page' to bottom or enter '^_' (ctrl + underscore char) then specify line number 999.
    add the line...
    recipientbccmaps = hash:/etc/postfix/recipient_bcc
    Postfix knows to use the postmaped .db file so you do not specify that one in the line.
    Save and exit file.
    Reload the postfix main.cf configuration file...
    sudo postfix reload
    Test it by sending an email to the user and watch the mail.log in Console app. You should see the BCC being sent to the other email address. If something has gone wrong, replace the main.cf with the backup, issue postfix reload, then try again.
    Once you have confirmed it working, dance around the room playing air guitar and give high-fives to any innocent bystander.
    -david
    Links...
    http://www.postfix.org/postconf.5.html
    http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/pico.1.h tml
    http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/cp.1.htm l
    http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/postfix. 1.html

  • HT2500 how do i automatically save all emails after i have read them

    How do I set up Mail to automatically save all emails that I have read?

    Unless Mail has changed in Mountain Lion, which I don't use, you shouldn't have to do anything. They should just remain where they were. Are they disappearing after being read?
    Maybe there's some Preference in 10.8 Mail I don't know about. In my 10.6 Mail, I would Open>Mail>Preferences>Accounts>Mailbox Behaviors. Should be at that location in ML Mail>Preferences or somewhere in Preferences.
    Btw, you're in the Snow Leopard (10.6) forum.

  • Can i restrict apple mail client from downloading all emails...and allow it to pick a start date for gmail mail to sync? i am flooded with old emails, thousands on them ...eating hard drive space of my macbook pro and un necessary overhead

    can i restrict apple mail client from downloading all emails...and allow it to pick a start date for gmail mail to sync? i am flooded with old emails, thousands on them ...eating hard drive space of my macbook pro and un necessary overhead

    The genius bar technicians can check your MBP for possible hardware problems and specific software issues that you may have.  The diagnosis will be free.  Any extensive repairs will not be free.
    If you have minor software problems, you essentially will have to deal with them yourself.  Examine these two comprehensive documents for possible problem definition and solutions.  If you encounter problems that you are unable to cope with, start a new discussion and there will be persons willing to assist you in solving them.
    https://discussions.apple.com/docs/DOC-3521
    https://discussions.apple.com/docs/DOC-3353
    Ciao.

  • Any way to select all emails for delete with one touch?

    The only time I really need to see emails on my iPhone is when I am away from home. When I am home, and receive a huge number of emails on my iMac, I also receive the same ones on my iPhone.
    I review them on the iMac, and then have to delete them from the iPhone. I go into the account on the iPhone and touch edit, but then have to scroll and check off each one so I can delete them.
    Is there any way to "select all" instead of checking off each one?

    The iPhone's mail client does not synchronize with the incoming mail server for a POP account. The iPhone's mail client is no different in this regard from accessing a POP account with an email client on your computer. You have an option to remove messages from the server when downloaded for a POP account with the iPhone's mail client as is available with an email client used on your computer to access a POP account.
    All server stored mailboxes with an IMAP account are kept synchronized with the server automatically with each email client used to access the account including with the iPhone's mail client. A POP account is not synchronized with the server - not with the iPhone's mail client or with an email client on your computer.

  • HT204093 mail is automatically archiving my email messages

    The mail program is sending all emails to Archive automatically

    Hi Sumeetmehra,
    I apologize, I'm a bit unclear on the exact nature or scope of the issue you are describing (when it started, if anything recently changed, etc). If you are having unusual behavior regarding the Archive function, you may find the information and steps outlined in the following articles helpful, in particular checking to see if you currently have any active Mail Rules:
    Mail (Yosemite): Use the Archive mailbox
    Mail (Yosemite): Use rules to manage your inbox
    Regards,
    - Brenden

  • Mail does not create new emails based on the highlighted mailbox, but rather the receiving mailbox of whatever individual email happens to be highlighted. This was not the case prior to Lion. Is this a bug or an error on my part?

    Mail does not create new emails based on the highlighted mailbox, but rather according the receiving mailbox of whatever individual email happens to be highlighted. This was not the case prior to Lion. Is this a bug or an error on my part? (I do have the setting for creating new emails from the highlighted mailbox checked.)

    The questions about time was not only because of thinking about the Time Machine, but also possible impact on recognizing which messages remaining on a POP server (doesn't apply to IMAP) have been already downloaded. In the Mail folder, at its root level, in Mail 3.x there is a file named MessageUidsAlreadyDownloaded3 that should prevent duplicate downloading -- some servers may not communicate the best with respect to that, and the universal index must certainly be involved in updating that index file. If it corrupts, it can inhibit proper downloading. However, setting the account up in a New User Account and having the same problem does not point that way, unless your POP3 server is very different from most.
    That universal index is also typically involved when messages are meant to be moved from the Inbox to another mailbox -- in Mail 3.x the message does not move, but rather is copied, and then erased from the origin mailbox. That requires updating the Envelope Index to keep track of where the message is, and should keep track of where it is supposed to have been removed after the "Move".
    Ernie

  • How do I add multiple emails for one contact to the same group list?

    When trying to set up a group email list using address book, is there a way to include multiple emails for the same contact to one group.  For example I'm trying to set up a baseball team group email.  Some kids want emails sent to both mom and dad which have different emails.  I currently have them in my address book as the boy's name with the emails listed as mom and dad.  I can add one "mom" to the list but when I compose the email, it will use the most recent email used.  I would like the group to contain both addresses for mom and dad without setting up to different contacts for the same player.

    var cToAddr = this.getField("saManager").value + ";" + this.getField("ManagerEmail").value;

  • HT201363 I want to change the email address used as rescue email for my security questions. But I can't remember the answers to the security questions and I dont have access to the rescue email anymore. Please help.

    I want to change the email address used as rescue email for my security questions. But I can't remember the answers to the security questions and I dont have access to the rescue email anymore. Please help.

    -If you established a rescue email address, there will be a link on the "Passwords & Security" page of id.apple.com.  Clicking the link will send the reset to your rescue email address (NOTE:  This is not the same address as your Apple ID email)
    -If there is no link on the page, then you didn't establish a rescue email address.  Contact AppleCare at 800.694.7466 (If you are in the US), and ask for account security.  You will need to answer some questions to verify your identity, AND you will need access to a computer to generate a temporary support pin.
    -If you are not in the US, click http://support.apple.com/kb/HT5699 - Apple ID: Contacting Apple for help with Apple ID account security
    HTH

  • I have an iMac 7.1 and a pc in my office. My pc recieves all emails as well as my phone but on my iMac i receive them speradically. I checked with my ISP and there are no issues. I can send emails. I have a pop account. Please help in dire straits

    I have an iMac 7.1 and a pc in my office. My pc recieves all emails as well as my phone but on my iMac i receive them speradically. I checked with my ISP and there are no issues. I can send emails. I have a pop account. Please help in dire straits

    Sorry, no idea at this point with so few details to go on. It will probably help if you'll post what version of Mac OS X you're running and who your email provider is. Someone then may have some ideas.
    Regards.

  • The default account option in iOS for contacts is missing; while I have multiple account options for mail and contacts are turned on for iCloud and other accounts.

    The default account option in iOS for contacts is missing; while I have multiple account options for mail and contacts are turned on for iCloud and other accounts.  I previously was able to select between my Microsoft Exchange Contacts (work account) and iCloud (personal), but both those options are now gone.  I tried turning contacts for both off and on and rebooting, but it didn't help.  Any ideas?

    Just a guess but if the exchange account is from your employer, your employer may have installed a security profile to your device preventing you from adding or editing contacts in the exchange account by removing the Default Account setting.  You would need to check with your employer's IT department to confirm this.  You could also test this by adding a Gmail account and turning on contacts syncing with Gmail to see if the setting reappears.

  • Make mail dock badge show all emails in inbox

    Is there a way to make it so that the badge on the mail icon in the dock shows the number of emails in the inbox (not just the unread ones?)
    thanks

    Thanks for the update. I guess it would be great if both Apple and MS come up with a solution for this issue as it is very critical. Please keep me posted if hear from them.
    I found some article in Apple support with the following details. I tried both the options and it doesn't work either. More info here http://docs.info.apple.com/article.html?path=Mail/2.0/en/ml1002.html
    Reindex mailboxes. To do so, quit Mail and, in the Mail folder in your home Library folder, move the Envelope Index file and any folders that begin with "Mac-", "Exchange-", or "IMAP-" to a different location, such as your desktop. When you open Mail, it reindexes all messages in local mailboxes or POP folders and re-downloads all messages from the mail server. This process can take several minutes depending on how many messages are in your mailboxes.
    For a POP account, reimport mailboxes. To do so, choose File > Import Mailboxes, and then choose "Mail for Mac OS X." In the Mail folder in your home Library folder, select the folder that begins with "POP-" (for example, [email protected]). If the problem persists, try again, this time choosing "Other" and then selecting the affected mailbox itself (for example, Library/Mail/POP- [email protected]/Inbox.mbox).
    Message was edited by: Santhosh Paramesh

  • Mail Won't Import All Emails

    I just upgraded from an iMac G4 running 10.3.9 to a SR MacBook Pro with 10.4.9. I used the Migration Assistant to move my mail, but not all of the messages transferred. I also tried copying ~/Library/Mail manually but got the same results. When Mail imports the messages, the progress bar has the correct number (### of 2167), but it stops midway and I end up getting only 532 messages. Any suggestions?

    The conversion from Mail 1.x to Mail 2.x is broken. Here’s an example of the most common variant of this problem and how to proceed in those cases:
    Just upgraded, Most of my old Inbox is gone!
    Your problem, however, is different in that you don’t even get an incomplete conversion. If Mail stalls during the conversion process, you may try to identify the mailboxes that Mail is choking on, quit Mail, move those mailboxes out of ~/Library/Mail/ (e.g. to the Destkop), and trash any Envelope Index-named files you may see in ~/Library/Mail/, so that Mail re-creates the index and tries to import the remaining mailboxes again, then manually import the problematic mailboxes as Other.
    Alternatively, you may want to set up Mail from scratch and manually import your mail back afterwards. This would allow you to use Mail normally while solving the problem of importing the old mail as you see fit:
    1. Quit Mail if it’s running.
    2. In the Finder, go to ~/Library/. Move (not copy) the entire Mail folder out of there, to the Desktop.
    3. In the Finder, go to ~/Library/Preferences/. Locate com.apple.mail.plist and move it to the Desktop.
    4. Open Mail and set it up again from scratch. If given the option to import existing mailboxes or something like that, don’t. Just enter the account information and check that everything works fine.
    5. You’ll have to re-configure all your settings in Mail > Preferences. For spam-related security reasons, the first thing you should do is go to Preferences > Viewing and disable Display remote images in HTML messages if it’s enabled.
    6. Do File > Import Mailboxes and follow the instructions to import your mail from the old Mail folder that’s now on the Desktop. Import the Mailboxes folder first, then each of the POP-username@mailserver account folders, if any.
    There are two ways to import Mail 1.x mailboxes into Mail 2.x. The obvious one is importing them as Mail for Mac OS X. But Mail 1.x stored mail in standard mbox format plus some additional support files, and this allows Mail 1.x mailboxes to also be imported as Other, i.e. as generic mailboxes in standard mbox format.
    Importing as Mail for Mac OS X produces the best results when it works, because it takes into consideration all the files in the mailboxes, not just the mbox files where the messages are stored, and hence, allows information such as status flags to be preserved. Importing as Other, on the other hand, may work in cases where importing as Mail for Mac OS X doesn’t, because it looks at the mbox files only, ignoring the support files which is what Mail 2.x usually chokes on, but precisely because of that, information such as status flags is lost and previously deleted messages may reappear.
    Hence, you may try importing as much as you can as Mail for Mac OS X, then import the problematic mailboxes as Other.
    Note that what Mail asks for when importing depends on the format chosen. Mail always asks for the folder that contains the “things” to be imported. If Mail for Mac OS X is chosen as the data format, the “things” to be imported are the *.mbox folders, so you must choose the folder that contains them, not the *.mbox folders themselves. On the other hand, if Other is chosen as the data format, the “things” to be imported are the mbox files, so you must choose the *.mbox folders that contain them in that case.
    Note also that some of the mailboxes now on the Desktop may have already been partially converted to the new *.emlx format during the previous (failed) attempt to convert them in place. If you tell Mail 2.x to import as Mail for Mac OS X a mailbox that already has a Messages folder, Mail will simply ignore the Mail 1.x files present there. If the mailbox was successfully converted to the new format, that’s fine, but if the conversion was incomplete, that’s not what you want.
    As a result of doing all the above, some messages may be duplicated. Andreas Amann’s Mail Scripts has a Remove Duplicates script that you may find useful.
    If all is well and you don’t miss anything, the files on the Desktop can be deleted, although you may want to keep them for a while, just in case.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. You can easily locate any of the folders referred to in this post by copying the folder path here, doing Go > Go to Folder in the Finder, and pasting the folder path there.

  • Deleting all emails for 1 of 2 email accounts in the Message area

    Background:
    I do not have Blackberry Enterprise ServerI have 2 email accounts setup on my Blackberry Pearl 8130: 
    1 personal Yahoo account and 1 work account 
    Everything works fine, I receive email for both accounts, all is good.  Except that I get 200+ emails a day on my work account!I do not want to go in and delete work emails one by one or in groups  The lowest number of days I can choose to choose in General Options -> Keep Messages is 15 days (and it looks like that is an overall setting, I would like 2 days for my work account and 3 months for my personal account which is a whole other question) 
    So, I deleted my work account from the Email Settings thinking that all emails linked to the work email account would ‘go away’, then I will just recreate the account later.  BUT all the emails are still in the Messages area, all 1500+ work emails that I want to get rid of. 
    Question:How can I, without going 1 by 1 or in groups of emails, have all the emails in the Messages area deleted that are for a specific email account?I do want and need to keep my personal email on my phone so I can’t just in and “Delete Prior” as it will delete my personal emails that I need to keep on my phone  
    Any thoughts?
    Or does it matter if at some point I end up with 10K emails?  I'm not sure.
    Thanks!
    Solved!
    Go to Solution.

    Since you can't do a Delete Prior, the only other options is to hold down the SHIFT button (lower left button, may look like aA) to scroll and select groups of emails to delete. There isn't a way to only show emails from a certain group to delete. You can either delete all at once, Delete Prior by the date, or select groups of messages.
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • How do I setup google mail server account in Outlook 2011 for Mac?

    My company just switched from an Exchange server to a google mail server for business, and I've been trying to setup my account in Outlook 2011 for Mac to sync mail/folders/calendars/contacts, with not much luck. I have a new macbook pro - please help! What are my options?

    Did you ever have success with this? I am about to do the same thing.

Maybe you are looking for

  • Need the format for input file for standard program

    hi can any one please give me the format in which the file to be uploaded to program RFBIBL00 , must be in for example my excel file to be uploaded has the following columns. company code accounting doc line item fiscal year doc type doc date so is t

  • Memory leak on SunOne Web Server 6.1 on application reload

    Hi! I am pretty sure that i have found a memory management problem in SunOne Web Server 6.1 . It started with an OutOfMemory error we got under heavy load . After some profiling with Jprofiler i didn't find any memory leaks in the application.Even un

  • Non-blocking or wait-free Synchronisation for Java

    Are there information or patterns about this topic? Who can help me ? Are there Books, Article, Papers and so on?

  • WD iView not fetching the data

    Hi,      I developed some WD (Java) application.But certain iView like sales order,delivery order not displaying the sales order number & delivery order number. Fuction module is working fine in backend.How to resolve this,can anyone help me for the

  • Netweaver CE 7.1 (Not trial version)

    Hi, I'm trying to find a download link for the full CE 7.1 installation.  It appears to be available according to the PAM I have looked at but I cannot find (after searching through the SWDC on service.sap.com) anywhere to actually download it to ins