mail archive

Alexander Marx marx at oab.de
Thu Apr 24 10:15:20 CEST 2008


Tobias Oed schrieb:
> Alexander Marx wrote:
>> Hi List.
>>
>> maybe you have some tips for me.
>>
>> I am using kolab 2.0.3. I am searching for a tool (or will try to 
>> develop one)
>> which is able to archive all incoming and outgoing emails.
>>
>> Do you have some experience with this?
>>
>> Or any idea how to implement the smtpprox into kolab??? 
>> http://bent.latency.net/smtpprox/
>>
>> I want to implement the tool like this:
>>
>> internet->kolab(25)->amavis(10024)->ARCHIVETOOL(listens on 10030 and 
>> gives it back on 10027)->local mailbox
>>
>> The archivetool should safe the message to disk in a per-user- folder 
>> (based on from: or to: address)
>>
>> I played around with smtpprox, but it seems, that kolab never passes 
>> the mail to the smtpprox
>>
>> AND:
>>
>> a second hint:
>>
>> I tried to install Kolab 2.1 release on a ubuntu 8.0.4 hardy heron 
>> and the MD5 sum of the openpkg-2.5.4-2.5.4 seems wrong.
>>
>> Installation fails with the error openpkg-2.5.4-2.5.4.*-*-*.sh not found
>>
>> I read the hint and installed gcc-3.4 and linked all files correctly, 
>> but the error remains.
>>
>> Thanx in advance
>
> My company has developed a tool to do just this. Open Mail Archive 
> (OMA)  intercepts the mails and stores info on them in mysql db. The 
> mails can be archived (on cd/dvd or what not) searched and restored 
> using a web interface. There is even an auth plugin that works against 
> a kolab ldap tree. The version available right now uses the always_bcc 
> trick, the one
> under development uses a postfix content filter and works like your
> diagram. More info here
>
> http://octant.org/news.php
>
> Tobias Oed
>
Well i downloaded the files and installed them. But i get an error by 
testing the program:
|
$cat /home/user/mail_test | /usr/local/oma/bin/mail_delivery.php|

i get:
/data/oma/bin/mail_delivery.php: line 2: ?php: No such file or directory
/data/oma/bin/mail_delivery.php: line 3: /bin: is a directory
/data/oma/bin/mail_delivery.php: line 4: 10201_database_linux32.zip: 
command not found
/data/oma/bin/mail_delivery.php: line 5: 10201_database_linux32.zip: 
command not found
/data/oma/bin/mail_delivery.php: line 6: syntax error near unexpected 
token `('
/data/oma/bin/mail_delivery.php: line 6: `* $Date: 2006-12-11 11:55:11 
+0100 (lun, 11 déc 2006) $'

Can i simply pass a mail to a PHP script???



-- 
 
Alexander Marx

Fachinformatiker Systemintegration
ACE (Astaro certified engineer)
LPIC (101)






More information about the users mailing list