Arnaud JAYET wrote:
Hello,

I have a question about "mixing" Postfix lookup table types :

For a transport lookup table i wish to set up an MySQL lookup table (as
primary lookup) and a standard .db lookup table (the text and .db file
are periodically generated by a shell script querying the database) as a
rescue table as  secondary lookup for the case of having MySQL server
down or unreacheable.

in main.cf i set :

transport_maps = mysql:/etc/postfix/mysql_transport.cf,
                 hash:/etc/postfix/transport_rescue


Postfix treats an unreachable/unavailable lookup table as a fatal error and defers all mail. This is not configurable.

If you're concerned about the availability of your sql server, you might consider just using the local .db as the only data source. or set up a backup sql server.

--
Noel Jones

Reply via email to