FS#49019 - [exim] add "sqlite" lookup type

Attached to Project: Community Packages
Opened by uu5dgyj (uu5dgyj) - Wednesday, 20 April 2016, 08:20 GMT
Last edited by Felix Yan (felixonmars) - Friday, 22 December 2017, 09:06 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Looks like exim is not build with sqlite support. I am about to setup a greylist configuration with sqlite database as lookup backend. When mail comes in it errors out like this:

{{{
[...] temporarily rejected after DATA: failed to expand ACL string "${loo
kup sqlite {/var/spool/exim/db/greylist.db SELECT host from resenders WHERE helo='${quote_sqlite:$sender_h
elo_name}' AND host='$sender_host_address';} {1}}": unknown lookup type "sqlite"
}}}

I checked exim.Makefile: it probably needs LOOKUP_SQLITE=yes uncommented.

Additional info:
* package version 4.87-1


Steps to reproduce:
* use the 'sqlite' lookup type at some place in the configuration
This task depends upon

Closed by  Felix Yan (felixonmars)
Friday, 22 December 2017, 09:06 GMT
Reason for closing:  Implemented
Additional comments about closing:  4.90-1
Comment by uu5dgyj (uu5dgyj) - Tuesday, 21 June 2016, 12:17 GMT
here is a diff

===
diff /var/abs/community/exim/PKGBUILD /home/build/abs/exim/PKGBUILD
17c17
< depends=('gdbm' 'pcre' 'pam' 'openssl' 'libldap')
---
> depends=('gdbm' 'pcre' 'pam' 'openssl' 'libldap' 'sqlite')
38a39
> groups=('modified')
diff /var/abs/community/exim/exim.Makefile /home/build/abs/exim/exim.Makefile
299c299
< # LOOKUP_SQLITE=yes
---
> LOOKUP_SQLITE=yes
1225c1225
< LOOKUP_LIBS=-lldap -llber
---
> LOOKUP_LIBS=-lldap -llber -lsqlite3
===
Comment by uu5dgyj (uu5dgyj) - Sunday, 24 September 2017, 14:04 GMT
patch still works with current exim 4.89-1

can this be added to the build? should I contribute something?

Loading...