|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
mysql access maps
From: Alexander Brill (kiowa
project23.no)
Date: Fri Sep 12 2003 - 07:06:34 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I was trying to configure postfix to use mysql with
check_recipient_access. The problem I am having is that according to
access(5) I can set an address like user
and it will match all
addresses to that user.
So I have this table:
+----+-------------+--------+--------+
| id | address | action | status |
+----+-------------+--------+--------+
| 1 | postmaster
| OK | 1 |
| 2 | abuse
| OK | 1 |
+----+-------------+--------+--------+
But when I try to check it with postmap it doesn't work. It only matches
on the exact address.
'postmap -q postmaster
foobar.com mysql:/etc/postfix/mysql-recipients'
returns 0
'postmap -q postmaster
mysql:/etc/postfix/mysql-recipients' returns OK
Am I doing something wrong?
--
Alexander Brill <kiowa
project23.no>
http://www.project23.no
PGP-key: http://www.nettstudio.no/firma/Library/PGP/alex_pgp/view
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQA/YbbJjzte1jvbmFERAk1ZAJ9Cgma43J1WRLd8RJCWkcDIMiFEFwCbBFER
IJw3LyITCNwmdWzUseBNqYo=
=W6SG
-----END PGP SIGNATURE-----
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]