Am 09.03.2012 12:44, schrieb Nikolaos Milas:
> On 9/3/2012 1:33 μμ, Nikolaos Milas wrote:
> 
>> # ls -la /etc/postfix/ldap-*
>> -rw-r----- 1 root root 774 Oct 26 2010 /etc/postfix/ldap-aliases.cf
>> -rw-r----- 1 root root 358 Aug 24 2010 /etc/postfix/ldap-alias-vacation.cf
>> -rwxr-x--- 1 root root 495 Aug 24 2010 /etc/postfix/ldap-users.cf 
> 
> I would like to add that I also tried to chmod 644 these files, but it still 
> failed.
> 
> Mar  8 20:11:55 vmail postfix/master[3162]: reload -- version 2.8.3, 
> configuration /etc/postfix
> Mar  8 20:12:01 vmail postfix/proxymap[32599]: warning: request for 
> unapproved table:
> "ldap:/etc/postfix/ldap-alias-vacation.cf"
> Mar  8 20:12:01 vmail postfix/proxymap[32599]: warning: to approve this table 
> for read-only access, list
> proxy:ldap:/etc/postfix/ldap-alias-vacation.cf in main.cf:proxy_read_maps
> Mar  8 20:12:01 vmail postfix/submission/smtpd[32325]: fatal: proxymap 
> service is not configured for table
> "ldap:/etc/postfix/ldap-alias-vacation.cf"
> 
> Note: The log excerpt I sent in my previous post might be after I added 
> "proxy:" and  before reloading!

this is how i configured proxy_read_maps since years
644 is a very bad idea -> chown root:postfix, chmod 640

[root@srv-rhsoft:~]$ ls /etc/postfix/mysql-*
-rw-r----- 1 root postfix 195 2011-04-27 18:59 /etc/postfix/mysql-aliases.cf
-rw-r----- 1 root postfix 294 2011-05-28 19:06 /etc/postfix/mysql-forwarders.cf
-rw-r----- 1 root postfix 201 2011-04-27 18:59 
/etc/postfix/mysql-mydestination.cf
-rw-r----- 1 root postfix 195 2011-04-27 18:59 /etc/postfix/mysql-mynetworks.cf
-rw-r----- 1 root postfix 196 2011-04-27 18:59 /etc/postfix/mysql-recipients.cf
-rw-r----- 1 root postfix 463 2011-04-27 18:59 
/etc/postfix/mysql-rewritedomains.cf
-rw-r----- 1 root postfix 203 2011-04-27 18:59 
/etc/postfix/mysql-rewritesenders.cf
-rw-r----- 1 root postfix 327 2011-04-27 18:59 
/etc/postfix/mysql-senderaccess.cf
-rw-r----- 1 root postfix 365 2011-05-12 23:32 
/etc/postfix/mysql-sender_relay_hosts_auth.cf
-rw-r----- 1 root postfix 202 2011-04-27 18:59 
/etc/postfix/mysql-sender_relay_hosts.cf
-rw-r----- 1 root postfix 198 2011-04-27 18:59 /etc/postfix/mysql-spamfilter.cf
-rw-r----- 1 root postfix 262 2011-04-27 18:59 /etc/postfix/mysql-transport.cf
________________________

proxy_read_maps = proxy:mysql:/etc/postfix/mysql-mynetworks.cf
 proxy:mysql:/etc/postfix/mysql-mydestination.cf
 proxy:mysql:/etc/postfix/mysql-recipients.cf
 proxy:mysql:/etc/postfix/mysql-rewritedomains.cf
 proxy:mysql:/etc/postfix/mysql-rewritesenders.cf
 proxy:mysql:/etc/postfix/mysql-transport.cf
 proxy:mysql:/etc/postfix/mysql-sender_relay_hosts.cf
 proxy:mysql:/etc/postfix/mysql-sender_relay_hosts_auth.cf
 proxy:mysql:/etc/postfix/mysql-aliases.cf
 proxy:mysql:/etc/postfix/mysql-senderaccess.cf
 proxy:mysql:/etc/postfix/mysql-spamfilter.cf
 proxy:mysql:/etc/postfix/mysql-forwarders.cf

smtpd_recipient_restrictions =
 permit_mynetworks
 reject_non_fqdn_recipient
 reject_non_fqdn_sender
 reject_unlisted_sender
 reject_authenticated_sender_login_mismatch
 permit_sasl_authenticated
 reject_unknown_sender_domain
 reject_unknown_recipient_domain
 reject_unauth_destination
 reject_unknown_reverse_client_hostname
 reject_invalid_hostname
 reject_unauth_pipelining
 check_recipient_access proxy:mysql:/etc/postfix/mysql-spamfilter.cf

mynetworks                                          = 127.0.0.0/8, 
proxy:mysql:/etc/postfix/mysql-mynetworks.cf
mydestination                                       = 
proxy:mysql:/etc/postfix/mysql-mydestination.cf
local_recipient_maps                                = 
proxy:mysql:/etc/postfix/mysql-recipients.cf
recipient_canonical_maps                            = 
proxy:mysql:/etc/postfix/mysql-rewritedomains.cf
sender_canonical_maps                               = 
proxy:mysql:/etc/postfix/mysql-rewritesenders.cf
transport_maps                                      = 
proxy:mysql:/etc/postfix/mysql-transport.cf
sender_dependent_relayhost_maps                     = 
proxy:mysql:/etc/postfix/mysql-sender_relay_hosts.cf
smtp_sasl_password_maps                             = 
proxy:mysql:/etc/postfix/mysql-sender_relay_hosts_auth.cf
alias_maps                                          = 
proxy:mysql:/etc/postfix/mysql-aliases.cf
smtpd_sender_login_maps                             = 
proxy:mysql:/etc/postfix/mysql-senderaccess.cf
virtual_alias_maps                                  = 
proxy:mysql:/etc/postfix/mysql-forwarders.cf

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to