Commit Graph

64 Commits

Author SHA1 Message Date
Vsevolod Stakhov
f52769cff9 Mail::Rspamd::Client is fixed. 2011-01-13 21:39:56 +03:00
Vsevolod Stakhov
ddb0440c8d Client's methods for Mail::Rspamd::Client are now done to a single server not to all. 2011-01-13 20:42:05 +03:00
Vsevolod Stakhov
eac815c891 Fix using of $1 and $2 in Mail::Rspamd::Client (reported by Andrej Zverev) 2010-10-29 18:46:48 +04:00
Vsevolod Stakhov
8c7ee775ff Honor deliver_to argument in Mail::Rspamd::Client 2010-10-21 20:05:24 +04:00
Vsevolod Stakhov
dcdcecb499 * Add ability to specify many redirector hosts and choose them round-robin
* Fix ip address parsing in redirector config
* Fix logic of checking url in redirector if its domain is in exceptions list
* Add dependencies in perl module (suggested by AZ)
* Add BUILD_PORT define for skipping installation of FreeBSD rc scrips (suggested by AZ)
* Change version of 0.3.3
2010-10-01 19:01:28 +04:00
Vsevolod Stakhov
f795dc8138 * New trie based url scanner (based on libcamel)
* Small fixes to rspamd perl client
* Write fuzzy hashes info to log
2010-09-21 20:11:34 +04:00
Vsevolod Stakhov
328516883b * Fix Mail::Rspamd::Config for new rspamd features
* Use Mail::Rspamd::Config in rspamc client
2010-09-03 18:36:50 +04:00
Vsevolod Stakhov
2a8b8ce671 * Write symbols weights to rspamc output
* Improve logic of selecting rspamc version
* Do not try to parse broken DNS replies
* Add 'raw' flag to FROM_EXCESS_BASE64 rule (requested by citrin)
2010-07-31 18:59:40 +04:00
Vsevolod Stakhov
a4bce00dc4 * Some optimizations to client library 2010-07-20 19:54:34 +04:00
Vsevolod Stakhov
8321dee67d * Use ungreedy match to strip trailing whitespaces 2010-07-20 18:47:15 +04:00
Vsevolod Stakhov
8f6f830048 * Strip trailing whitespace characters in Mail::Rspamd::Client 2010-07-20 18:28:03 +04:00
Vsevolod Stakhov
205cb6049d * Add ability to assign several actions to one metric
* Report action in rspamc protocol
* Mail::Rspamd::Client and rspamc can now understand Action header too
* Write action to log as well
2010-07-15 19:20:45 +04:00
Vsevolod Stakhov
10a3c7a278 * Take callback argument in Mail::Rspamd::Client for processing files and directories
* Print results if rspamc is called for a directory
2010-07-02 18:28:10 +04:00
Vsevolod Stakhov
2581146ee7 * Fix URLS command 2010-06-24 21:24:52 +04:00
Vsevolod Stakhov
79ea8ac424 * Add sections about rspamc client, controller protocol, classifiers and statfiles, fuzzy hashes
* Fix imap handling in Mail::Rspamd::Client
2010-05-18 18:06:09 +04:00
Vsevolod Stakhov
971bad45c4 * Add ability to pass all filters by using flag -p in case of rspamc or adding header Pass: all in rspamc protocol 2010-04-26 17:50:13 +04:00
Vsevolod Stakhov
e09d4f6cea * Implement config object dumping to xml 2010-04-22 18:12:14 +04:00
Vsevolod Stakhov
f5c520ed89 * Make perl config parser working 2010-04-21 19:53:08 +04:00
Vsevolod Stakhov
34f6651a1e * Initial version of perl config library 2010-04-20 21:05:59 +04:00
Vsevolod Stakhov
9e16e433e1 * Add FreeBSD port 2010-03-24 19:44:52 +03:00
cebka@lenovo-laptop
ddd99f6762 * Handle writing of messages correctly in perl module 2010-03-18 17:07:43 +03:00
cebka@lenovo-laptop
80e0a6ac5f * Fix statistics of messages in controller
* Fix building and installing perl target
* Fix learn command name
* Controller's commands are now case insensitive
* Statfiles can now be selected from popup list in cgi interface
* Password for controller's commands can now be specified in cgi interface
2010-03-17 17:24:35 +03:00
cebka@lenovo-laptop
d41fec74be * Read 'END' after password command 2010-03-15 21:31:54 +03:00
cebka@lenovo-laptop
4df6a746d9 * Another addition to learning 2010-03-15 21:22:42 +03:00
cebka@lenovo-laptop
ff726239c5 * Fix learn command (-m is used instead -w) 2010-03-15 21:17:31 +03:00
cebka@lenovo-laptop
32b812257d * Fix variable name in Client.pm 2010-03-15 21:12:39 +03:00
cebka@lenovo-laptop
dc5ec7dd65 * Fixes to rspamc 2010-03-15 21:10:04 +03:00
cebka@lenovo-laptop
21dc91eac1 * Fix another spf core dump while parsing 'include' items 2010-03-15 20:54:39 +03:00
cebka@lenovo-laptop
e925ce2537 * More fixes about require 2010-03-12 21:01:42 +03:00
cebka@lenovo-laptop
beac9f2f76 * use -> require 2010-03-12 20:55:09 +03:00
cebka@lenovo-laptop
7e2548c3d8 * Bump version 2010-03-12 20:36:48 +03:00
cebka@lenovo-laptop
2c3a349ee9 * Add web management interface for rspamd (no design yet)
* Fix Mail::Rspamd::Client
2010-03-12 20:36:32 +03:00
cebka@lenovo-laptop
a1b42701ad * Make new Mail::Rspamd::Client working 2010-03-04 20:56:47 +03:00
cebka@lenovo-laptop
9097fc043e * New Mail::Rspamd::Client
things TODO:
  - improve interaction with rspamc
  - improve documentation
  - test all features
  - test clustering
  - write CGI front-end
2010-03-03 19:34:51 +03:00
cebka@lenovo-laptop
d544f1d577 * Remove useless next in cycle 2010-01-12 18:10:10 +03:00
Vsevolod Stakhov
1cf238549b * Fix issue with list concat 2009-12-14 20:02:14 +03:00
Vsevolod Stakhov
893d6efc97 * Add initial version of rspamd binlog syncronization client
* Style fix to perl module
2009-11-25 20:32:15 +03:00
Vsevolod Stakhov
b1e659182c * Add check_smtp_data function for checking some fields from SMTP dialog 2009-11-22 20:45:22 +03:00
Vsevolod Stakhov
76e9c1e434 * Some more clarifications to perl api 2009-11-16 19:39:34 +03:00
Vsevolod Stakhov
751116959b * Perl fixes:
- remove XS API, it seems that I would never support it
 - use sys(write|read) for IO in Mail::Rspamd::Client
 - add proper installation process for Mail::Rspamd::Client
 - remove some other legacy

--HG--
rename : perl/Client.pm => perl/lib/Mail/Rspamd/Client.pm
2009-11-16 18:43:30 +03:00
Vsevolod Stakhov
1985760361 * Check whether dead flag is defined in hash to avoid warning 2009-11-09 19:58:12 +03:00
Vsevolod Stakhov
b2c710add9 * Implement timeouts in rspamd perl module
* Implement upstream logics
* Add learn command
* Small fixes to other parts of client's API
2009-10-24 04:51:53 +04:00
Vsevolod Stakhov
fa60a3c26a * Add perl client library for rspamd (alpha version) 2009-10-21 20:47:58 +04:00
Vsevolod Stakhov
182b158dc8 * Fix variables substitution
* Add simple lua interface to access task structures
* Improve error reporting for regexp module
2009-03-27 19:39:01 +03:00
Vsevolod Stakhov
5497b1213a * Fix XS module to work with current type of memory allocation 2009-03-24 13:29:52 +03:00
Vsevolod Stakhov
a0320ce847 * Add smart handling of message headers 2009-03-24 13:13:57 +03:00
Vsevolod Stakhov
c79b5ccd22 * Fix error in expression parser that causes bad errors with expressions that have regexp at the end
* Improve test for fuzzy hashes
* Add new object - TextPart to perl XS library that allows access to stripped parts and fuzzy hashes
* Add documentation for expressions parser and fot Mail::Rspamd::TextPart
* Allways calculate fuzzy hash for text parts
* Store text parts separately from other parts
* Add compare_parts_distance for expressions that calculates difference in 2 parts messages
* Do not try to substitute variables in empty strings
2009-03-23 14:10:07 +03:00
Vsevolod Stakhov
cfd2ff7bb5 * Add functions to parse headers and urls into statfile tokens 2009-03-16 13:05:49 +03:00
Vsevolod Stakhov
3ff032cf72 * New rspamd protocol (changed replies)
* Add ability to attach string lists to symbols
* Check destructors and do not add identical destructors (argument and function) to pool's destructors
* Remove 2 warnings when building with gmime22
* Attach url names to surbl symbols
* Fix bug with blocking on read (I think it is linux specific thought)
2009-03-03 13:44:50 +03:00
Vsevolod Stakhov
def8d3d1a9 * Add compatibility with gmime24 2009-03-02 13:09:33 +03:00