OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
"dict register" problem

From: Jorge Godoy (godoyieee.org)
Date: Mon Apr 19 2004 - 11:13:40 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I have a customer who has changed his configuration files to use
proxymap with Postfix, but we're having some problems trying to do
such changes.

I searched the web but only found people describing their problems
with no answer, I hope I can get some help from you.

We changed our Postfix 2.0.12 main.cf to:

- ---------------------------------------------------------------------
proxy_read_maps= proxy:unix:passwd.byname
        proxy:mysql:/etc/postfix/transport.mysql
        proxy:mysql:/etc/postfix/virtual.mysql
        proxy:mysql:/etc/postfix/aliases.mysql
        proxy:mysql:/etc/postfix/mailboxsize.mysql

#======= MYSQL==============
transport_maps = proxy:mysql:/etc/postfix/transport.mysql
virtual_gid_maps = mysql:/etc/postfix/gids.mysql
virtual_mailbox_base = /home
virtual_mailbox_maps = proxy:mysql:/etc/postfix/virtual.mysql
virtual_maps = proxy:mysql:/etc/postfix/aliases.mysql
virtual_uid_maps = mysql:/etc/postfix/uids.mysql

#======= Quota ============
virtual_mailbox_limit_inbox = no
virtual_mailbox_limit_maps =
 proxy:mysql:/etc/postfix/mailboxsize.mysql
 virtual_mailbox_limit_override = yes
virtual_maildir_extended = yes
virtual_create_maildirsize = yes
virtual_mailbox_limit = 100000000
- ---------------------------------------------------------------------

And when we restart Postfix we get the following error messages:

- ---------------------------------------------------------------------
Apr 18 16:26:25 raptor postfix/postfix-script: stopping the
 Postfix mail system
Apr 18 16:26:25 raptor postfix/master[15770]: terminating on signal
 15 Apr 18 16:26:32 raptor postfix/postfix-script: starting the
 Postfix mail system
Apr 18 16:26:32 raptor postfix/master[15984]: daemon started --
 version 2.0.16
Apr 18 16:26:32 raptor postfix/proxymap[15996]: fatal: dict_register:
dictionary name exists: /etc/postfix/transport.mysql
Apr 18 16:26:33 raptor postfix/pickup[15990]: warning: premature
end-of-input on private/proxymap socket while reading input attribute
 name Apr 18 16:26:33 raptor postfix/qmgr[15991]: warning: premature
 end-of-input on private/proxymap socket while reading input
 attribute name Apr 18 16:26:33 raptor postfix/pickup[15990]:
 warning: private/proxymap socket: service dict_proxy_open: Success
Apr 18 16:26:33 raptor postfix/qmgr[15991]: warning: private/proxymap
socket: service dict_proxy_open: Connection reset by peer
Apr 18 16:26:33 raptor postfix/master[15984]: warning: process
/usr/lib/postfix/proxymap pid 15996 exit status 1
Apr 18 16:26:33 raptor postfix/master[15984]: warning:
/usr/lib/postfix/proxymap: bad command startup -- throttling
- ---------------------------------------------------------------------

Am I doing something wrong with such configurations? Can we do
something to fix such errors?

TIA,
- --
Godoy. <godoyieee.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAg/q0EzC+baSjBiURAgdbAKCe/7ne0KKTZ02tPVPnAzxd9RegaQCfc+JM
sSdMah02ad1NbNN7kEK1nZs=
=00L6
-----END PGP SIGNATURE-----