On Sunday, January 09, 2011 08:44:12 pm Wietse Venema wrote: >Instead of guessing, try to read the documentation. > >man 5 postconf | less +/authorized_submit_users
The documentation is where I found the option in the first place, and since it mentioned "type:table", I assumed it would support all lookup types. But given I cannot get it to work, I was doubting the documentation, hence my question. > Floris Bos: > > authorized_submit_users=mysql:/etc/postfix/mysql_outgoing_limit.cf > > == > > > > it gives an error when trying to send mail: > > > > == > > sendmail: fatal: unsupported dictionary type: mysql > > This means that MySQL support is not compiled into your Postfix > sendmail command. Do I need any special compile option other than the standard -DHAS_MYSQL (and include/library directory) to get the support into sendmail? The MySQL support is working correctly elsewhere in Postfix (e.g. with "relay_domains"), and ldd shows sendmail is linked to libmysqlclient as well (just as postdrop). So it's not like the sendmail binary came from a different build, or anything. == # which sendmail /usr/sbin/sendmail # ldd /usr/sbin/sendmail libmysqlclient.so.15 => /usr/local/lib/mysql/libmysqlclient.so.15 (0x00002aaaaabc2000) libz.so.1 => /lib64/libz.so.1 (0x00002aaaaad38000) libm.so.6 => /lib64/tls/libm.so.6 (0x00002aaaaae4e000) libdb-4.3.so => /usr/lib64/tls/libdb-4.3.so (0x00002aaaaafa5000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00002aaaab198000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00002aaaab2af000) libc.so.6 => /lib64/tls/libc.so.6 (0x00002aaaab3c3000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002aaaab5ee000) libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00002aaaab728000) /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000) == -- Yours sincerely, Floris Bos