Mantis - postfix
Viewing Issue Advanced Details
2097 packaging feature always 2007-01-04 00:14 2010-09-03 12:47
kadowaki  
skayser  
normal  
closed  
fixed  
none    
none  
0002097: `postconf -m` should support the lookup table type of \'hash\'
The lookup table type of \"hash\" is required to make postfix talk to SMTP-Auth enabled MTA as relayhost.

As far as I know, followings are the most popular configurations in main.cf .

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/opt/csw/etc/postfix/sasl_passwd
smtp_sasl_security_options =

But, currently CSWpostfix does not support \"hash\".
\"hash\" support should be integrated.
Jan 4 13:57:32 sv02 postfix/smtp[101543]: [ID 947731 mail.crit] fatal: unsupported dictionary type: hash

-bash-3.00$ /opt/csw/sbin/postconf -m
cidr
dbm
environ
ldap
nis
nisplus
pcre
proxy
regexp
static
unix

In another machine, which support \"hash\", shows:
$ /usr/sbin/postconf -m
btree
cidr
environ
hash
ldap
nis
pcre
proxy
regexp
sdbm
static
tcp
unix
Issue History
2010-08-17 17:53 skayser Assigned To trygvis => skayser
2010-08-17 17:54 skayser Note Added: 0008208
2010-08-17 17:54 skayser Status assigned => feedback
2010-09-03 12:47 skayser Note Added: 0008251
2010-09-03 12:47 skayser Status feedback => closed
2010-09-03 12:47 skayser Resolution open => fixed

Notes
(0005211)
trygvis   
2008-03-23 03:55   
What is required to support this? Would you be able to test it for me if I build you a new version?
(0005214)
kadowaki   
2008-03-23 06:54   
> What is required to support this?
Support for Berkeley DB library should be needed.
HOWTO is provided in here.
http://www.postfix.org/DB_README.html [^]

When using postfix as an intranet MTA, I sometimes need to relay mails with external ISP\'s SMTP servers.
In order to use almost all of public SMTP servers in Japan, our postfix must be able to support SMTP-Auth. Hash is easiest way to talk with such servers.

> Would you be able to test it for me if I build you a new version?
Yes.
I will be pleased to test if new version is provided.
(0005215)
trygvis   
2008-03-23 13:47   
Actually this is already supported in the update. I must have been looking at an old system :/

Please check and get back to me.
(0005339)
trygvis   
2008-05-28 02:52   
I\'ve tried to do this, but can\'t figure out to enable it. Do you know how to do it?
(0005340)
trygvis   
2008-05-28 02:52   
I\'ve tried to do this, but can\'t figure out to enable it. Do you know how to do it?
(0008208)
skayser   
2010-08-17 17:54   
Thanks for reporting. Updated packages with Postfix 2.7.1 are now available from experimental/:

    http://mirror.opencsw.org/experimental.html#skayser [^]

These should fix you issue.

root @ ray42 ~# postconf -m| grep hash
hash

    
Could you please verify whether they work for you. Postfix was updated from 2.4.6 to 2.7.1, with a substantial list of enhancements. If there are any problems with the package, please let me know.

From changelog.CSW:

  * Adopted and updated to 2.7.1. (Closes 0003580, 0003700, 0003970)
  * Moved spool directory to /var/opt/csw/spool/postfix. (Closes 0003946)
  * Added Cyrus SASL support. (Closes 0002843)
  * Added hash table support via bdb. (Closes 0002097)
  * Init / SMF handling now done with cswclassutils. (Closes 0003946)
  * Now depends on pcre_rt instead of pcre. (Closes 0003017)
  * Binaries in /opt/csw/libexec/postfix are now stripped. (Closes 0003063)
  * Doesn't automatically substitute system sendmail binaries any more.
    Please refer to README.CSW instead. (Closes 0001943, 0002964, 0003060)
(0008251)
skayser   
2010-09-03 12:47   
Fixed with 2.7.1,REV=2010.09.01 which is now available from current/.