problem with queryprogram result limit

This is a discussion on problem with queryprogram result limit within the alt.comp.mail.exim forums, part of the Mail Servers and Related category; Hi, I'm using the queryprogram router to process dynamic email addresses (those are build out of simple expressions like ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.exim

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-15-2005
wobsta
 
Posts: n/a
Default problem with queryprogram result limit

Hi,

I'm using the queryprogram router to process dynamic email addresses
(those are build out of simple expressions like x_and_y@mydomain.com).
My router program usually returns either a REDIRECT or a FAIL. Overall
the system works pretty well, however I do have the problem, that for
some expressions I generate REDIRECT lists which are longer than 1023
bytes. Any idea how I can work around that? I solution I could think of
would be to use the router several times and having the queryprogram
generate parts of the REDIRECT list, but I don't know how to do that.
(I do have an upper limit for the length of the result, but its bigger
than 1023.)

Thanks for any hints,

André

PS: I'm running debian stable (sarge) with exim4 -bV:
Exim version 4.50 #1 built 27-May-2005 08:08:19
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December 3,
2003)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configuration file is /var/lib/exim4/config.autogenerated

Reply With Quote
  #2 (permalink)  
Old 08-29-2005
wobsta
 
Posts: n/a
Default Re: problem with queryprogram result limit

My current solution is to use a patched exim, where I increased the
buffer to 16384 characters. This is much more than I'll ever need. I
think its fine to fix the buffer size, i.e. set a maximum as its done
with the execution time ulimit as well, but it would be great to make
the buffer size a config option. Any thoughts?

André

Reply With Quote
Reply


Thread Tools
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

vB 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 02:33 PM.


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