Delivering Mail to Multiple users from Consolidated External Mailbox

Hi everyone
I'm new to the use of postfix, spamassassin and so on to send and recieve email. On PCs when setting up a small server at home, or with students to demonstrate some of the issues involoved I've used the rather nicely set up Mercury Mail system.
Now I have my own MacMini with OSX Server 10.6.x on it and want to do the same things as I used to do.
POP email from my ISP. The ISP email boxes act as central consolidation points for two or more domains.
Because my DSL connection may be allocated a different IP address when it drops, it has been easier to direct mail this way.
Mail to @mydomain.com and @anotherdomain.com all go to one mailbox at the ISP (thanks to my DNS registry).
Mail may also be retrieved from a GMail account via POP3 or similar to be consolidated on the server/backed up locally.
What I need to do:
- Mail needs to be retrieved from the mailboxes
- Mail needs to be checked for SPAM level and marked as SPAM as needed
- The OSX server via Postfix (?) needs to redirect mail to the appropriate OD user
- If no appropriate user detected then mail is copied to the postmaster account and bounced.
I have seen various tutorials out there for fetchmail/mpop out there but found them a tad confusing.
I have also seen replacement software, but I want to make use of the built in systems such as fetchmail to do what I want.
It would also be nice to have the passwords stored in the keychain for a little more security.
Can anyone help with a suitable guide or willing to help me write a guide to tell people how to do this?
Cheers
Ady

OK so I have found from various sources, and through trial and error that I am able to do the following in a shell script:
--- start script ---
user=<ISP USERNAME>
isp=<ISP NAME>
server=<SERVER NAME AT ISP eg mail>
TMPFILE=`mktemp /tmp/fm.XXXXXX` || exit 1
password=$(security find-internet-password -s $server.$isp -a $user -g 2>&1 | perl -ne '/password: "(\S*)"/ and print $$
cat <<EoF > $TMPFILE
set postmaster '<LOCAL POSTMASTER ACCOUNT>'
set bouncemail
poll $server.$isp with proto POP3 and options no dns
user "$user" there with password '$password'
options fetchall keep mda '/usr/bin/procmail -d %T'
EoF
fetchmail -v -f $TMPFILE
rm -f $TMPFILE
--- end of script ---
thanks to http://serverfault.com/questions/149452/how-can-i-use-fetchmail-or-another-email -grabber-with-osx-keychain-for-authenti
and for the autostart fetchmail on boot from http://discussions.apple.com/thread.jspa?threadID=2218143&tstart=225
making this executable and putting in the /etc folder as run-fetchmail is the first step
Now this works to deliver messages to the local mail, but you need to access it via the terminal - hmmm...
the fetchall is to grab all the messages even read ones whilst I test...
so I tried removing the mda section so it used the default mda on snow leopard, but the message are not being delivered to the respective users mail.app accessible mailboxes.
I will add daemon to the file once I have the fetching working correctly
so - how on earth do I get the mail to be delivered to the Mail.app accessible mail delivery agent?

Similar Messages

  • Sending mail to multiple mailid from apex

    Hi,
    I need to send mail to multiple users from apex which is taken from a database table column. Is it possible to use LOV to send mail to multiple mail id? I tried with using collection but unable to reach it.
    APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY_B(
    p_collection_name => List_of_mailid,
    p_query => select column from table where cond='Y');
    any ideas.... thanks in advance.

    What you need to do is, build a string with the multiple e-mail addresses, and then when you want to send mail See this oldie but goodie thread:
    Have mutiple email addresses in Apex Email functionality
    Thank you,
    Tony Miller
    Dallas, TX

  • Send Mails to Multiple Users

    Hi,
    I have a requirement where I need to send mail to multiple users, for this I was following below link
    Re: Email to Multiple Email Address through WF
    Followed the above link and created 2 users with Notification Preference as MAILHTML and added to a role having email id as NULL and Notification Preference as MAILHTML . But I am not able to send mails rather it is going as notifications to the user Worklist.
    Please help me to resolve this issue.
    Regards,
    Prateek

    Hi, Andy,
    Use the Oracle-supplied package utl_mail for sending email messages:
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/u_mail.htm#i1001258
    It would be easier if you did not use dbms_output, or, if you really wanted to, do not call it directly. Write your own procedure (let's call it add_to_message) that concatenates a string to the end of a message that will ultimately be sent as an email. If you want to display the string using dbms_ouptut.put line as well as append it to the message, then call dbms_ouptut.put line inside add_to_message.
    If you really must get the text from dbms_output, use dbms_output.get_line (or get_lines)
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_output.htm#i999346

  • How to prevent multiple users from updating the same data in coherence

    Hi,
    I have a Java Web Application and for data cache am using coherence 3.5. The same data maybe shared by multiple users which maybe in hundreds. Now how do I prevent multiple users from updating the same data in coherence i.e. is there something in coherence that will only allow one user a time to update. If one user is in a process of updating a data in coherence and some other user also tries to update then the second user should get an error.
    Thanks

    I have a question on the same line. How can I restrict someone from updating a cache value when I a process is already working on it. I tried locking the cache key but it does not stop other process to update it , it only does not allow other process to get lock on it.

  • Prevent multiple users from editing/approving the same form SPD 2013,SP 2013

    Hello all, I have a workflow with a to do task, the task is assigned to a group so any of the users in that group can go in and do a quality check on form data and approve it.  How do I prevent multiple users from working on the
    same form? do I just require check out? or is there a way to notify the rest of the group that a user has already started the quality check.

    The "Require Checkout" option is your best bet.  You can also enable the auto checkout on edit option to allow minimal effort on the side of the user.  Other users will then get the error message stating the item is checked out, if they try to
    edit it.
    If you'd like, you could add a workflow to the task list that triggers when something is changed.  That workflow can check if the item is checked out and if so, email the other users assigned to the task.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Prevent multiple users from updating coherence cache data at the same time

    Hi,
    I have a web application which have a huge amount of data instead of storing the data in Http Session are storing it in coherence. Now multiple groups of users can use or update the same data in coherence. There are 100's of groups with several thousand users in each group. How do I prevent multiple users from updating the cache data. Here is the scenario. User logs-in checks in coherence if the data there and gets it from coherence and displays it on the ui if not get it from backend i.e. mainframe systems and store it in coherence before displaying it on the screen. Now some other user at the same time can also perform the same function and if don't find the data in coherence can get it from backend and start saving it in coherence while the other user is also in the process of saving or updating. How do I prevent this in coherence. As have to use the same key when storing in coherence because the same data is shared across users and don't want to keep multiple copies of the same data. Is there something coherence provides out-of-the-box or what is best approach to handle this scenario.
    Thanks

    Hi,
    actually I believe, that if we are speaking about multiple users each with its own HttpSession, in case of two users accessing the same session attribute in their own session, the actually used cache keys will not be the same.
    On the other hand, this is probably not what you would really like, you would possibly like to share that data among sessions.
    You should probably consider using either read-through caching with the CacheLoader implementor doing the expensive data retrieval (if the data to be cached can be obtained outside of an HTTP container), or side caching with using Coherence locks or entry-processors for concurrency control on the data retrieval operations for the same key (take care of retries in this case).
    Best regards,
    Robert

  • How do I run users from an external hard drive?

    I used to have a 2 TB hard drive in my iMac. One of the users contains all my music, photos and videos. It's a very large file, of course.
    I have just swapped out the 2 TB drive for a 120 GB SSD and reconnected the 2 TB drive as an external HD. The problem is, I've only got 60 GB of space left on it and that's not enough room for my media user. It's sitting on the external drive but I can't figure out how to access it.
    I would like to be able to (1) run the media user from the external drive or, if that's not possible, (2) move the media user to the SSD but store the music, photos, video etc. on the external HD.
    Any tips? Thanks!

    OK, here's how to do it on Photo Booth. It's a little different for every app, it seems.
    On Photo Booth, you don't use aliases. The app doesn't like them. Instead, start by deleting the Photo Booth Library file in the new user. (You only want to do this if you have no photos in Photo Booth, I assume. Remember I've started with a completely new user.) Then launch Photo Booth. It will tell you there's no library and ask you to either create one or point to one.
    Then point to your Photo Booth Library file on your external drive. (Again, permissions have to be set to allow the SSD drive access.)
    By the way, I am not an expert in any of this. There may be better ways of doing all this, but I couldn't find them on discussions so I'm recording them here in case they help people in future. Feel free to chime in with a more elegant solution, if there is one! But this all does seem to be working so far.

  • Send mail to multiple users

    Dear all,
    I'm using FM 'EFG_GEN_SEND_EMAIL' to send an Email, for a single user its working fine, but I want to know is it possible sending the same mail to multiple users with the same FM, I searched the forum for the same & ended up finding no satisfying results. Using FM ''SO_NEW_DOCUMENT_ATT_SEND_API1' we can attain this but I want to know if it is possible with the former FM.
    Thanks & Regards
    Ajai

    Hi,
    PFB the code that i have used to send mail. In case you need any additional clarification, please feel free to ask..Hope it will help you:
    *To fill the content message
      REFRESH i_message.
      wa_message = l_subject.      "Production Error Log Details for Error Code &
      APPEND wa_message TO i_message.
      CLEAR wa_message.
      wa_message = ' '.
      APPEND wa_message TO i_message.
      CLEAR wa_message.
      wa_message = l_system.
      APPEND wa_message TO i_message.
      CLEAR wa_message.
      wa_message = l_sdate.
      APPEND wa_message TO i_message.
      CLEAR wa_message.
      wa_message = l_message.
      APPEND wa_message TO i_message.
      CLEAR wa_message.
      wa_message = l_description.
      APPEND wa_message TO i_message.
      CLEAR wa_message.
      wa_message = l_count.
      APPEND wa_message TO i_message.
      CLEAR wa_message.
      wa_message = ' '.
      APPEND wa_message TO i_message.
      CLEAR wa_message.
      wa_message = l_message2.
      APPEND wa_message TO i_message.
      CLEAR wa_message.
    * To populate the subject/generic message attributes
      wa_doc_data-obj_langu  = sy-langu.
      wa_doc_data-obj_name   = c_objname.
      wa_doc_data-obj_descr  = text-t20. "Production Error Log Details
      wa_doc_data-sensitivty = c_r.
    * Fill receipient information
      CLEAR wa_receivers.
      REFRESH i_receivers.
      LOOP AT i_emailid INTO wa_emailid.
        IF wa_emailid-email_id CA c_attherate.  "@
          wa_receivers-receiver = wa_emailid-email_id.
          wa_receivers-rec_type = c_u.  "U
        ELSE.
          TRANSLATE wa_emailid-email_id TO UPPER CASE.
          wa_receivers-receiver = wa_emailid-email_id.
          wa_receivers-rec_type = c_c.  "C
        ENDIF.
        wa_receivers-com_type = c_int.
        wa_receivers-notif_del = c_x.
        wa_receivers-notif_ndel = c_x.
        APPEND wa_receivers TO i_receivers.
        CLEAR wa_receivers.
      ENDLOOP.
    * Call the Function Module to send the e-mail alongwith the attachments if any
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_data
          put_in_outbox              = c_x
          commit_work                = c_x
        IMPORTING
          sent_to_all                = wa_sent_all
        TABLES
          contents_txt               = i_message
          receivers                  = i_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc EQ 0.
        MESSAGE text-t08 TYPE 'S'."Mail(s) Send Successfully
      ELSE.
        MESSAGE text-t09 TYPE 'E'."Error in Sending Mail
      ENDIF.
      REFRESH:
               i_message[],
               i_receivers[].

  • Sending  mail to  Multiple User

    Hello Everybody ,
    I have Developed one Workflow for Material Creation ,
    Now the Problem is that After Creation of material By End User the mail  should to 3-4 User  for Display the Material.
    So how can we Maintain 3-4 user name in Workflow ..........?
    For one User  it's working Fine but I want that mail should  goes to  Multiple User .
    ASAP.
    Regrads,
    Sandeep

    Hi Krishna
    I completed the send   mail to Multiple User ,
    Here my three user  can see the  Material in his work item  .
    But when one user exeuted his  work item .
    othe user work item is automatically deleted ....................?  that should nt happened ?
    Actually My requriement is that   When  End User ( A1   )is created  material  ....
    After the creation of Material Worklfow should triggerd ...........
    After Creation of Material   Can be View by 3 Higher Level  Person of Different Department    i.e ( FI  ,  SD  , PP  ) 
    A1 ( Created By End User )  -
    >    A2  ,  A3 ,   A4  ( This Person Can view Material  in their  Respective  Inbox  Work Item )
    My Prb is that Work Item goes to (   A2 , A3 ,  A4  )  But anyone of this one executed his Work Item  .........then other two person Work Item is automatically Deleted ...........and this should nt happened...........
    I want that each and every person can view the Material in Display Mode at any time  and any Sequence ....Please help me Friend .............
    I  have done lot's of R/D  but didn't got any solution ...
    Regrads,
    Sandeep Jadhav

  • How to send emails to Multiple Users from a Single People Picker lookup field using Sharepoint designer workflow

    Hi All,
    I am working with SharePoint 2013 designer workflow. we are using office 365.
    Our requirement to send email to multiple users, get the user groups from lookup list people and groups column.
    But SP designer sending emails to the first user alone.
    Please guide me to proceed.
    Advance Thanks.
    Regards
    Jenkins NS
    Thanks and Regards Jenkins

    finally I got a solution
     Identified a workaround to solve the issue using SharePoint designer.
    Step 1
    Create a lookup list Example department
    Columns
    Title (by default) – Single line of text
    Users – Person or Group
    Emails – Multiple lines of text
    hidden the Emails column (go to content type and set the column as hidden)
    Create a SharePoint designer Workflow
    Start Workflow automatically when an item is created
    Also Start Workflow automatically when an item is changed
    Workflow Stage 1
    Set Emails to current Item: Users
    The workflow will get all users email ids and add in the Emails column delimiter as semicolon.
    Step 2
    Create a custom list to get the email ids and send email
    Create a lookup column ex: analysis and refer department list, Allow multiple values
    Then Create a SharePoint designer workflow
    full details workflow steps please follow below
    URL
    http://jenkinsblogs.com/2015/04/30/how-to-send-emails-to-multiple-users-from-lookup-list-people-picker-field-using-sharepoint-designer-workflow/
    Thanks and Regards Jenkins

  • Exchange 2010 Limit certain users from sending external mail

    Hi 
    I would like to know if its possible to limit certain users in a Mailstore from sending external emails?
    I am able to limit individual users but not users in particular mailstores. 
    Is it possible? If so how do i go about it?
    VeeCT

    Hi VeeCT,
    Agree with Amit. And the basic steps are as follows:
    Creat a new Distribution Group,  add the users to the group.
    Creat a new Transport Rule to restrict the group.
    Hope it helps
    Best regards

  • Passing Multiple rows from one external webpart list to another

    Hi Folks,
                    I have almost spent 1 week looking into this without any success. I have an external list "List A"  (in a webpart) with one of the columns as "State".
    Another external list "List B"  (in a webpart ) has state and user as columns. In some case I want to pass 1 state and in another I want to pass multiple state.  Passing one state from List A to List B works fine. But Multiple state does
    not work because the webpart list has the property "Send First row to connected web parts when page loads".  If I disable this option then the web part does not pass anything. Is there a way to pass multiple rows from one Webpart
    external list to other?

    http://www.sharepointanalysthq.com/2010/07/bcs-external-list-limitations/
    No Lookups
    Unfortunatly the only thing that you can do a look up on in an external list is on the ID column, anything else and you are out of luck.
    http://social.technet.microsoft.com/Forums/en-US/615771a0-ba78-4e38-9e2d-ded0204173ba/external-list-referenced-as-sharepoint-lookup?forum=sharepointgeneralprevious
    Try below webpart. it should help
    http://www.sparqube.com/SharePoint-Lookup-Column/
    If this helped you resolve your issue, please mark it Answered

  • Users from an external organization authenticating to a Remote Dekstop App

    Hi,
    We have set up Remote Desktop Apps using Remote Desktop Services
    The apps are permissioned with AD user accounts in our forest
    When an external company that has network access (i.e. routable addresses) tries to log in (with credentials in our AD) they sometimes get in and other times do not. They see an error message saying 'The credentials did not work' or 'The Local Security Authority
    cannot be contacted'
    I think this may be because all the Domain controllers for that domain are not reachable from the external company's PC
    i.e. if they get lucky they try and authenticate using a reachable DC but sometimes they pick a DC that is not routable and see this error
    Is my thinking correct?
    How is a DC chosen by a PC belonging to an external company?
    This article leads me to believe it is random:
    How Domain Controllers are Located Across Trusts
    Thank you for your time

    Hope this may help:
    "Your credentials did not work" error when connecting to Windows Azure VM's
    http://blogs.msdn.com/b/narahari/archive/2011/08/29/getting-quot-your-credentials-did-not-work-quot-when-connecting-to-windows-azure-vm-s.aspx
    http://social.technet.microsoft.com/Forums/windows/en-US/5ca3e416-e500-4b7c-a309-f15123914e5b/your-credentials-did-not-work?forum=w7itpronetworking
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/aa054168-8811-4329-8eb3-a07be874c71a/your-credentials-did-not-work-the-logon-attempt-failed?forum=winserverDS
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Send mail to multiple users in outlook through workflow

    Hello Experts,
    I have a requirement where I have to fetch all the email ID (abc@companycom) under support team in an org unit and send mail to these multiple email ids when a support message ticket is created in transaction CRMD_ORDER.The BO for this is bus2000116.Now I have created a ZBO with supertype as bus2000116 and a custom method where I am fetching the email Ids.I have also created an EXPORT MULTILINE parameter (EMAIL_ID) for this method of type ADR6-SMTP_ADDR.I have tested this ZBO and it is correctly fetching all the email ID in this parameter.
    Now in my workflow builder,I have created a Activity type and here I have created a custom task calling my ZBO and custom method of fetching email id.I have also created a container(EMAIL_ID) for this task of type ADR6-SMTP_ADDR.Here I have binded the task(fetch email step) to workflow.In the Agents I have given &&EMAIL_ID&& in expression as this is the container.
    After this step I have added the mail step and in the reciepient type I have given G organizational object and expression as &EMAIL_ID&.Here I have added a standard task(TS45308726) with BOR as (SELFITEM and method as SENDTASKDESCRIPTION)for sending mail to these multiple ids to outlook.
    I have activated the builder and tested it.In the log I can see,the event has been triggerred,workflow is started,but workflow status is set to error.The step fetch mail is getting executed correcttly with 4 email ids in the container.and the third step send mail is also failed.giving error as "Work item 000000066700: Object 000000066700 method SENDTASKDESCRIPTION cannot be executed".
    Kindly give your valuable suggestions to rectify this issue.In SBWP i could see the workflow started but mails are not reaching my outlook.Your solution will be highly appreciated.
    Thanks & Regds
    vlp

    Hello Everyone,
    I have another issue.My workflow when directly executed sends mail to all users very quickly.All steps gets executed very quickly.This I could see through the workflow log and SOST and SCOT.But when I try to trigger the workflow through my transaction CRMD_ORDER(i have given proper BO and event) it is taking hours and still in Inprocess status.Infact its not even going to the first step(fetch email ids).
    I am totally confused on this behaviour.Kindly provide your ultimate solutions and I am very thankful for giving such good solutions to all my queries.
    Regds
    VLP

  • How can multiple users from different locations access my Muse website files to update them?

    We're a team, and we need to be able to work together remotely.
    How can I let another user (on the East Coast - I'm on the West coast) have access to my Muse website files so that they can work on them and make changes - but I can also work on them here?
    I've already made them an Admin in the Manage section of the live Muse website that is hosted on Business Catalyst.
    BTW, they also belong to Creative Cloud.
    Thanks!

    You need to share your .muse file with this other person.
    Muse does not currently support multiple users opening the same .muse file at the same time.
    There's lots of options for sharing a file - you could copy it up to a company network server, or email the file back and forth, or use a filesharing service like Dropbox, SendThisFile, Adobe SendNow, or Creative cloud sync, among others.
    Which one is right for you depends on the size of your file, how often you're sending the file back and forth, and personal preferences
    Whatever you choose, it's important that you DO NOT have 2 users working on the same .muse file at the same time. This can cause corruption of your .muse file. I'd also recommend frequent backups of your .muse file, as you might find that one of you clobbers a change made by the other and you want to be able to go back to your old copy of your .muse file to copy/paste some content to your latest copy of your .muse file.

Maybe you are looking for

  • Dvt:pivotFilterBar - how to get selected values from filter

    Hi all, I have a question: how to programmatically get selected values from pivot table's filter bar? I have tried to use pivotTable.getDataModel().getDataAccess().getValueQDR(startRow, startCol, DataAccess.QDR_WITH_PAGE);but for page edge dimensions

  • Windows 7 Back up

    Trying to Back up my Windows 7 using Windows "Backup & Restore" I can backup files but, whilst telling me I need 75GB for a System Image, System also tells me that my external Hard Disk with 900GB free space has insufficient space!Help

  • Jsp file include

    Hi! If I have a common directory in the Tomcat's Webapps directory, where all the includable files are, how can I include one of those jsp files in my web application? In php you can do this: include_once ( "../../library/DBConnection.php" ); But can

  • Can not download the App from App Strore

    I don't know what's going on that I can not download the app from App Store using my iPad2. but I can download the app from App Store using my iphone 3S.

  • Database Model

    Hi How can I create Database Model using BPA ?. Each event function I chosen may be a table and need to create a columns and types for this. Much appreciate your advice. Srini