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
Opened by uu5dgyj (uu5dgyj) - Wednesday, 20 April 2016, 08:20 GMT
Last edited by Felix Yan (felixonmars) - Friday, 22 December 2017, 09:06 GMT
|
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
Friday, 22 December 2017, 09:06 GMT
Reason for closing: Implemented
Additional comments about closing: 4.90-1
===
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
===
can this be added to the build? should I contribute something?