Menu

#112 another procmail activity gateway...

open
None
5
2006-04-11
2006-04-11
brafreider
No

I´ve done another effort to code an email-activity
gateway. Using pear classes to parse emails and
attachments. At the moment only the text-part of the
mail and text attachments are saved into xrms. But it
should be not too much work, to get other attachments
working too.

We are using bcc: crm@ourdomain.com for outgoing mails
and procmailrc for incoming mails

when I find some time, I´ll take a look at the other
solutions and continue/ combine the work already
done... So long

Björn

Discussion

  • brafreider

    brafreider - 2006-04-11

    php script to parse and store mails in xrms

     
  • brafreider

    brafreider - 2006-04-11

    Logged In: YES
    user_id=1049428

    some more ideas (todo):

    search in company-domain field if recipient is not found in
    contacts (maybe add contact to company)

    we use the info plugin to store customer domain and server
    information; search that fields too.

    store incoming mails as open activities, outgoing based on
    some rules with a follow up...

     
  • Brian Peterson

    Brian Peterson - 2006-04-11
    • assigned_to: nobody --> vanmer
     
  • Brian Peterson

    Brian Peterson - 2006-04-11

    Logged In: YES
    user_id=204919

    Björn,

    The rest of the development team and I are very interested
    in your email activity scripts.

    I also feel that we need to consolidate the (three?) options
    that have been presented for integrating email to XRMS, and
    combine them into a single solution that can be integrated
    into the core XRMS distribution, so everyone can benefit.

    Perhaps we can take some time here to link to the other
    options, and discuss the best way to a common solution.

    We all very much want a core email->activity solution in
    XRMS, but it is hard to find the time to work on it with all
    the other things that are going on. your assistance in this
    is greatly appreciated.

    Regards,

    - Brian

     
  • andyhowie

    andyhowie - 2007-12-13

    Logged In: YES
    user_id=1959324
    Originator: NO

    Hello Björn and Brian

    I have downloaded this patch and am attempting to implement it. However in the maillogger-dist.php file I find a line that says:

    "* Usage:
    * as described in braverocks/gpowers patch, put the required lines into your procmailrc. Instead of patching sendmail, we use BCC to a local adress."

    I am not sure what is meant by these are there better instructions anywhere that I cannot find?

    Andrew

     
  • brafreider

    brafreider - 2007-12-14

    Logged In: YES
    user_id=1049428
    Originator: YES

    the procmail thing works like this:
    add a 2 lines to /etc/procmailrc:

    :0c
    | /usr/bin/php /path/to/xrms/maillogger.php

    the effect is, that every incoming mail is piped through maillogger.php (the attached maillogger-dist.php). To ensure that outgoing mail will be parsed too, we bcc every outgoing mail to crm(at)visual4.de (configured in the mail client). This is a mail account, that only accepts internal mail and deletes mail after a certain period.

    HTH,
    Björn

     

Log in to post a comment.

MongoDB Logo MongoDB