Package: postfix
Version: 2.2.3-2
Severity: normal
If a pgsql map is configured and there is no "hosts" keyword given
(perhaps because the admin mistakenly put a "host" keyword instead)
then the error message left in /var/log/mail.log is something like:
May 6 17:39:29 localhost postfix/cleanup[4280]: panic: mymalloc: requested
length 0
May 6 17:39:30 localhost postfix/master[4061]: warning: process
/usr/lib/postfix/cleanup pid 4280 killed by signal 6
This is not very useful in diagnosing the problem.
You may want to change:
if (dict_pgsql->hosts == 0) {
to:
if (dict_pgsql->hosts->argc == 0) {
in pgsql_parse_config().
Eric
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages postfix depends on:
ii adduser 3.63 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.48 Debian configuration management sy
ii dpkg 1.10.27 Package maintenance system for Deb
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [
ii libsasl2 2.1.19-1.5 Authentication abstraction library
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii netbase 4.21 Basic TCP/IP networking system
-- debconf information excluded
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]