1 (edited by jny 2015-07-06 23:12:57)

Topic: iredmail - freebsd tryout. Small problem

Been an eager qmail-admin for a while now, I thought I would give this a try.
Install went without any major issues.  Had a single port, which had been renamed - but symbolic link fixed that issue.

Now ready to give this setup a try, but are seeing this in /var/log/maillog.

<SNIP>
Jul  6 16:48:14 mail postfix/proxymap[12983]: warning: ldap:/usr/local/etc/postfix/ldap/sender_bcc_maps_user.cf is unavailable. unsupported dictionary type: ldap
Jul  6 16:48:14 mail postfix/cleanup[13148]: warning: proxy:ldap:/usr/local/etc/postfix/ldap/sender_bcc_maps_user.cf lookup error for "root@mail.jny.dk"
Jul  6 16:48:14 mail postfix/cleanup[13148]: warning: 5841F1D69FA: sender_bcc_maps map lookup problem -- message not accepted, try again later
Jul  6 16:48:14 mail postfix/pickup[11894]: warning: maildrop/3E9621D6629: error writing 5841F1D69FA: queue file write error
</SNIP>











==== Required information ====
- iRedMail version (check /etc/iredmail-release):
0.9.2
- Linux/BSD distribution name and version:
FreeBSD 10.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
LDAP
- Web server (Apache or Nginx):
Apacje
- Manage mail accounts with iRedAdmin-Pro?
No
- Related log if you're reporting an issue:
Jul  6 16:48:14 mail postfix/proxymap[12983]: warning: ldap:/usr/local/etc/postfix/ldap/sender_bcc_maps_user.cf is unavailable. unsupported dictionary type: ldap
Jul  6 16:48:14 mail postfix/cleanup[13148]: warning: proxy:ldap:/usr/local/etc/postfix/ldap/sender_bcc_maps_user.cf lookup error for "root@mail.jny.dk"
Jul  6 16:48:14 mail postfix/cleanup[13148]: warning: 5841F1D69FA: sender_bcc_maps map lookup problem -- message not accepted, try again later
Jul  6 16:48:14 mail postfix/pickup[11894]: warning: maildrop/3E9621D6629: error writing 5841F1D69FA: queue file write error
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iredmail - freebsd tryout. Small problem

jny wrote:

Jul  6 16:48:14 mail postfix/proxymap[12983]: warning: ldap:/usr/local/etc/postfix/ldap/sender_bcc_maps_user.cf is unavailable. unsupported dictionary type: ldap

Postfix was not built with ldap support.
What's the content in file /var/db/ports/mail_postfix/options? did you configure 'mail/postfix' port manually?

jny wrote:

Install went without any major issues.  Had a single port, which had been renamed - but symbolic link fixed that issue.

Could you please tell me which port? so that i can fix it in next release.

3

Re: iredmail - freebsd tryout. Small problem

Hello, hit the same issues.

The renamed port was: net/py-ldap2.
s/ldap2/ldap/g on functions/packages_freebsd.sh solved the problem.

The content of /var/db/ports/mail_postfix/options is:

OPTIONS_FILE_SET+=BDB
OPTIONS_FILE_SET+=CDB
OPTIONS_FILE_UNSET+=INST_BASE
OPTIONS_FILE_SET+=LDAP_SASL
OPTIONS_FILE_UNSET+=MYSQL
OPTIONS_FILE_UNSET+=NIS
OPTIONS_FILE_SET+=OPENLDAP
OPTIONS_FILE_SET+=PCRE
OPTIONS_FILE_UNSET+=PGSQL
OPTIONS_FILE_SET+=SASL2
OPTIONS_FILE_UNSET+=SPF
OPTIONS_FILE_UNSET+=SQLITE
OPTIONS_FILE_SET+=TEST
OPTIONS_FILE_SET+=TLS
OPTIONS_FILE_UNSET+=VDA
OPTIONS_FILE_UNSET+=DOVECOT
OPTIONS_FILE_SET+=DOVECOT2
OPTIONS_FILE_UNSET+=SASLKRB5
OPTIONS_FILE_UNSET+=SASLKMIT

Still unresolved.

4

Re: iredmail - freebsd tryout. Small problem

gberkes wrote:

OPTIONS_FILE_SET+=OPENLDAP

As you can see, there's OpenLDAP support.

Did you try the latest iRedMail development version? you can check it out here:
https://bitbucket.org/zhb/iredmail/src

5

Re: iredmail - freebsd tryout. Small problem

Yes I recognised the LDAP flag.
I will build the devel version this evening and report the results.

6 (edited by gberkes 2015-08-13 19:47:47)

Re: iredmail - freebsd tryout. Small problem

The build was successful from the latest sources.
After reboot maillog is filled with:

Aug 13 13:24:42 mail postfix/proxymap[50781]: error: unsupported dictionary type: ldap  
Aug 13 13:24:42 mail postfix/proxymap[50781]: error: unsupported dictionary type: ldap  
Aug 13 13:24:42 mail postfix/proxymap[50781]: warning: ldap:/usr/local/etc/postfix/ldap/transport_maps_user.cf is unavailable. unsupported dictionary type: ldap  
Aug 13 13:24:42 mail postfix/trivial-rewrite[50782]: warning: proxy:ldap:/usr/local/etc/postfix/ldap/transport_maps_user.cf lookup error for "*"  
# grep LDAP  /var/db/ports/mail_postfix/options
OPTIONS_FILE_SET+=LDAP_SASL
OPTIONS_FILE_SET+=OPENLDAP

7

Re: iredmail - freebsd tryout. Small problem

After checking the latest ports tree, i found the compile options are slightly changed. we should use 'OPTIONS_FILE_SET+=LDAP' instead of 'OPTIONS_FILE_SET+=OPENLDAP'.

Will upload a patched iRedMail-0.9.2 immediately.

== UPDATE ==

Patched iRedMail-0.9.2 was uploaded. Download it here:
http://www.iredmail.org/download.html