2 msgpostmap header_checks error
10 msgmailbox_command (dovecot lda) stopped working, ...
5 msgmynetworks via LDAP lookup
7 msgLocal recipient table in LDAP problem

proxy_read_maps
\ postfix (24 Jan 2008)
. \ Listaccount (24 Jan 2008)

1 msgsmtpd_restriction_class and it's lookup
8 msgMessage Rejected
12 msgCustomize to filter attachment ?
2 msgRelay question
14 msgunnecessary routing?
4 msgdo not use 'reject_maps_rbl'?
9 msgFwd: Postfix in OpenVZ.
2 msgbypass body_checks for local mail?
4 msgcatchall with relay_recipient_maps
4 msg'Name server failure' is output
3 msgsmtp_sasl_password_maps lookups
16 msgPostfix Queues on a Ram Disk
15 msgsendmail compared to smtp sending
3 msgPostfix does not recognize remote emails
2 msgHow to disable SSLv2 on smtpd opportunistic TLS?
Subject:Re: proxy_read_maps
Group:Postfix-users
From:Listaccount
Date:24 Jan 2008


 
Zitat von postfix <postfix>:

> 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