Re: [exim] Block file list from mysql table

Startseite
Nachricht löschen
Nachricht beantworten
Autor: raj
Datum:  
To: jonathan vanasco
CC: exim-users
Betreff: Re: [exim] Block file list from mysql table
I think you are right Mr Vanasco.
I have been trying to do the same.
But how can I use the perl script inside filter file to read the content
from another file(block_attachment.conf),
Enabling perl module in source Local/Makefile can enable perl script in
filter file too?
Editing a flat-file using php is a piece of cake.
thank you
----- Original Message -----
From: "jonathan vanasco" <jvanasco@???>
To: "raj" <raj@???>
Cc: <exim-users@???>
Sent: Thursday, February 17, 2005 9:03 AM
Subject: Re: [exim] Block file list from mysql table


> Depending on the number of accounts you have, that could start to make
> things ineffiecient -- making additional sql calls for every attachment
> in each message processed.
>
> What about using php to manage a dbm, flatfile, or even ldap (which has
> better caching than mysql)
>
> On Feb 17, 2005, at 9:52 AM, raj wrote:
>
>> Is it possible to get the list of blocked attachments(blacklisted file
>> extension like .exe, .scr) from mysql table.
>> Now, I have the list in system filter file but I want to pull from mysql
>> dbase dynamically. I want to add/edit/delete the list using php pages
>> like I do now for the virtual users data.
>> I am using exim 4.42 without exiscan.
>> any help will be appreciated.
>> raj gautam
>> --
>> ## List details at http://www.exim.org/mailman/listinfo/exim-users
>> ## Exim details at http://www.exim.org/
>> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim
> details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>