Gilles Albusac:
> I have a syntax problem in my sender_dependent_relayhost_maps table (hash 
> table).
> 
> I would like to add a default relay at the end of the file (the line with *). 
> 
> /etc/postfix/sender_relay =
> @domain1.com [192.168.1.1]
> @domain2.com [192.168.1.2]
> *      [192.168.1.3]

According to the docuentation:

sender_dependent_relayhost_maps (default: empty)
       A sender-dependent override for the global relayhost parameter setting.
       The tables are searched by the envelope sender address and  @domain.

It does not say that the table is searched for "*".

If you want a wild-card result, then you can specify another map
(sender_dependent_relayhost_maps is a plural world) that always
returns the same result:

sender_dependent_relayhost_maps = xxx:yyy static:[192.168.1.3]

Postfix lookup mechanisms are documented as well, this time in
http://www.postfix.org/DATABASE_README.html

        Wietse

Reply via email to