| |||||||||||||||||||||||||||||||
|
> i wanted to make the proxymap service hold-up all connections to the > ldap server. > > so i added the proxy: keyword in front of all ldap-table-calls in > main.cf, e.g. > > check_recipient_access proxy:ldap:/etc/postfix/ldap-spamfilter.cf, > > but when i then reloaded postfix, it said: > > Jan 24 09:12:29 mailhost postfix/proxymap[22319]: warning: request for > unapproved table: "ldap:/etc/postfix/ldap-spamfilter.cf" > Jan 24 09:12:29 mailhost postfix/proxymap[22319]: warning: to approve > this table for proxymap access, list > proxy:ldap:/etc/postfix/ldap-spamfilter.cf in main.cf:proxy_read_maps > Jan 24 09:12:29 mailhost postfix/smtpd[22321]: fatal: proxymap service > is not configured for table "ldap:/etc/postfix/ldap-spamfilter.cf" > Jan 24 09:12:30 mailhost postfix/master[1555]: warning: process > /usr/libexec/postfix//smtpd pid 22321 exit status 1 > Jan 24 09:12:30 mailhost postfix/master[1555]: warning: > /usr/libexec/postfix//smtpd: bad command startup -- throttling > > > whereupon i wanted to add this table to the proxy_read_maps attribute: > > proxy_read_maps = $proxy_read_maps proxy:ldap:/etc/postfix/ldap-spamfilter.cf > > > but when i then reloaded postfix, it said: > > Jan 24 09:26:10 mailhost postfix/proxymap[22747]: warning: unreasonable > macro call nesting: "proxy_re > ad_maps" > Jan 24 09:26:10 mailhost postfix/proxymap[22747]: fatal: dictionary > mail_dict: macro processing error > Jan 24 09:26:11 mailhost postfix/master[1555]: warning: process > /usr/libexec/postfix//proxymap pid 22 > 747 exit status 1 > Jan 24 09:26:11 mailhost postfix/master[1555]: warning: > /usr/libexec/postfix//proxymap: bad command startup -- throttling > > so i changed the attribute to > > proxy_read_maps = proxy:ldap:/etc/postfix/ldap-spamfilter.cf > > this time, when i reloaded postfix, i got: > > Jan 24 09:27:11 mailhost postfix/proxymap[22828]: warning: request for > unapproved table: "ldap:/etc/p > ostfix/ldap-mailbox.cf" > Jan 24 09:27:11 mailhost postfix/proxymap[22828]: warning: to approve > this table for proxymap access, > list proxy:ldap:/etc/postfix/ldap-mailbox.cf in main.cf:proxy_read_maps > Jan 24 09:27:11 mailhost postfix/smtpd[22746]: fatal: proxymap service > is not configured for table "l > dap:/etc/postfix/ldap-mailbox.cf" > > that is, i had lost all tables which are in proxy_read_maps by default. > > ------------------ > remains the question: how do you add a table to the attribute > proxy_read_maps without getting into a macro processing error and > without loosing all tables it contains by default? > "postconf -d | grep proxy_read_maps" will show the defaults which you should include. I agree that it is a little long winded but flexible. Regards Andreas -- All your trash belong to us ;-) www.spamschlucker.org To: stephan
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com