Re: [courier-users] Filter API

This is a discussion on Re: [courier-users] Filter API within the Courier-Imap forums, part of the Mail Servers and Related category; This is a MIME-formatted message. If you see this text it means that your E-mail software does not ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-30-2006
Bernd Wurst
 
Posts: n/a
Default Re: [courier-users] Filter API

This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--===============1447567835==
Content-Type: multipart/signed; protocol="application/pgp-signature";
micalg=pgp-sha1;
boundary="=_schokokeks.org-30182-1167503682-0001-2"

This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_schokokeks.org-30182-1167503682-0001-2
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hallo.

Am Samstag, 30. Dezember 2006 18:56 schrieb Sam Varshavchik:
> See, it's a matter of efficiency. Rather than receiving a message, saving
> its contents into a file, and then rereading the file again to parse the
> message, the message is parsed on the fly, as it is being received and
> saved into its file. Which means that the parsing part happens pretty mu=

ch
> before everything else happens.


Ok, I understand.

So reformatting the MIME-part before filter invocation would cost some=20
performance (because this doesn't need to be done if a filter revokes the=20
message), right? And you want to pass the unmodified received message to th=
e=20
filter, too, I suppose.

I would suggest two possible solutions and it would be cool if you state yo=
ur=20
opinion. It's just brainstorming, maybe it's nonsense. :)

1. The filter system could be extended to support additional filters that a=
re=20
called after reformatting and are r/w.
2. The filter system could be extended to support additional return codes f=
or=20
acceptance. E.g. code 201 would mean "re-parse the message, it has been=20
modified", while 200 leaves the processing untouched as it is for now.

cu, Bernd

=2D-=20
Der Vorteil der Klugheit besteht darin,
da=DF man sich dumm stellen kann.
Umgekehrt ist das wesentlich schwieriger. - Kurt Tucholsky

--=_schokokeks.org-30182-1167503682-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iQIVAwUARZaxNQ0b18vi86Q/AQKzEA/+MqDFojutDnRK4FTL65CsbOXSEFJhk815
1lSbqFJFpVfiNmQLOdOgN41S+Us+53CrD3LYbAjsKLgjquOuLv mkRpAKq7FmtQJ2
86XgArFGqswM0+r6q074NxrQwvTePlndGAOf9xVc+lBgze+xTL J6LxrMEnpmNBts
fpanSaFxzNz1puZ3HDO1YfFUSABKy7Lf+3QLMBHTST4oPYqm+h CexjM5Ex/QYR4i
AGi22tswOdv6PI8jFRJqHBT5JkTUqnXluwwvPXzD/BZ9rXgX61M9RTwU9H8LyYy6
iWfinO6L1c5/qbU/SLdiCtCg+tu2ukFZWFQwd0GZJSOSCjjsc7pYVgPizZCxVbkt
OkpA2yB7pRnEi8Zl671oc2ajIA/pbaYBtoi6Iw4Hu0uzKBl5Xxi5v4N8Rg9pMign
4ps29TBSI4rhAunVeDeTRP3LNzFCslKegIv5I7VO8cIXYLlr1+ Sxg/EvXelCmAee
1Q8X/nRnwo4s3206HGoPw6WgLxFxInOH4q6sXmVodWZ9HzBmhJK/xyKh0NtqMw5a
3OMJdp3oQr5aGcWXNEbnIzqHBukwCVpcHM+EyiNC6NrAAaJscL kyMC6eqFNI3++y
TffspgMpzCI46fO7QeNRRL0rlMrOMDZprxt935hFhMfvR7n8fF zSmHL1nsdq6pMF
RMjaI/JGmVI=
=2Ecg
-----END PGP SIGNATURE-----

--=_schokokeks.org-30182-1167503682-0001-2--


--===============1447567835==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
--===============1447567835==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users

--===============1447567835==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:04 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0