phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[phpGroupWare-developers] mailpipe.php


From: Dave Hall
Subject: [phpGroupWare-developers] mailpipe.php
Date: Tue, 26 Dec 2006 18:53:28 +1100

Hi all,

I have added some new code for managing inbound email within
phpGroupWare.

It is still a work in progress and needs a gui.  The code is there so
you can see what is in the pipe line :)

To use it add an alias like so:

address: "| /path/to/phpgroupware/mailpipe.php --email address@hidden"

If using postfix you can add an entry to your master.cf similar to this

maildrop  unix  -       n       n       -       1       pipe
 flags=DRhu user=www-data argv=/path/to/phpgroupware/mailpipe.php --email 
${recipient}

The downside is no app currently implements the interface to accept
messages.  If you want to use it, the interface your app need a method
(probably in the bolayer) which takes a single argument - a
phpgwapi.phpgwapi_mail2array object.

You also need to insert the data into the handler table.

btw I haven't tested it much yet.

Cheers

Dave
-- 
LLLLL
L*LLL
LLLLL
LLLLL DAVE
LLLLL HALL
      CONSULTING

      Open Source
      Business Solutions

      p +61 410 47 42 55
      e address@hidden
      w davehall.com.au
      f +61 3 8610 0029





reply via email to

[Prev in Thread] Current Thread [Next in Thread]