-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I've seen the topic in this mailing list related to integration of
rspamd and exim. I'm the author of rspamd and I'd really very
appreciate if exim will be able to interact with rspamd natively.

As you see there is a patch to src/spam.c for rspamd support:
https://bitbucket.org/vstakhov/rspamd/src/23df2e6bd3ee/contrib/exim/patch-exim-src_spam.c.diff

This patch is very far from perfect as it breaks compatibility with
spamassassin and it cannot handle a lot of information from rspamd. I
can write a new patch to fix these problems, but I need some
information about exim's design to fit my code for it. So here are the
questions:

1) Should I write the new function like
int spam(uschar **listptr) {...} -> int rspam(uschar **listptr) {...} ?
2) Why do you think that push_line function in the current patch is
not good for exim (it uses writev for effective data transmission)?
3) Can I introduce some new global variables like <spamd_action> -
this can be useful as rspamd has 'actions': policies for recommended
action with this email (like 'accept', 'reject', 'add header' etc)?

Anyway, if you think that rspamd support is not worth to be included
in the mainstream of exim I'd like to know that things to improve the
current patch, so I'd appreciate any answers and comments.

- -- 
Vsevolod Stakhov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQTi3FAAoJEAdke2eQCBQ3yBUP/iv+IQ0L1uG1thDMY0O3cxZs
6f7rwt4rUshXqNixnS9sMpwnqiTdrEEaB+osyc21WC1K6hunKCHcnmxN9hTnSDav
mafH7WbUUIKaSvg67yyb6UBfxlKheJK0MyN8PCm1VQlnjRjCyjvEg7/iodsJaYfv
Yds4aPgvOnOBiDiyOHZwDWgySpqbsgu+2S9peOMGqmUvjNmKWtrJNjXcafkQFjx5
30/po7Ui8WpOjPKLwcYMAIp1isu4MKg/Be0GPkjgEnxGVo3Dzs6Oh8B/bM1XcCul
7QsTuY+DdPDSQW8k603Dpgta1culfIIYNKPFUIfM79lV2/wQYzzi/KTa9srWyYhr
zsZv/VVv6wM54ZeIzuqf7TJgdA4FTd9jN/Fe2VpGMVIVuqIImxba9M24pN2CxPS/
pyJ5dF3OgBxqPUILQby3UsI1xXlBV94C308NNR1OHF8QnOeamKCjXufAhTOsDKPX
XXxdw75urN8h2v+dwD4iisNzX1ZnIOWXM/kQ6UoXdcXzpls+EHLCqiLGUVP9Gtun
sMY3JYfIDjKRy1mcloqZ8kIPOPVm1Ez0yGb0fSfIdpZStqbdmF0H0ws6gGnNMkRm
T7TQkSGorjEhLK6FE78C+ETRRtmo7klUBbWiMoJPdGj8hoijDFedFX2AHA6MZs5g
T6kvk2Bv0qqBGdwJ3ITz
=5p/J
-----END PGP SIGNATURE-----

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to