mouss | 14 May 16:42

Re: relay_recipient_maps doens't work

chantal <at> antenna.nl wrote:
>>>
>>>
>>>
>>
>> chose an address that does not exist in your relay recipient maps,
>> let's say foo <at> example.com (of course, example.com must be a relay
>> domain) and post the results of the following three commands.
>>
>> # postmap -q example.com mysql:mysql_relay_domains_maps.cf
>> # postmap -q foo <at> example.com mysql:mysql_relay_maps.cf
>> # postmap -q foo <at> example.com mysql_virtual_alias_maps.cf
>>
>> Also show transaction logs.
>
> Sorry I made a mistake in the postmap command, this is the output:

you msut execute these commands in the directory where the .cf files 
are. so do a

# cd /path/to/config_directory

first.

>
> root <at> servername:/etc/postfix# postmap -q example.com 
> mysql:/etc/postfix/mysql_relay_domains_maps.cf
> @example.com
>
> root <at> servername:/etc/postfix# postmap -q foo <at> example.com 
> mysql:/etc/postfix/mysql_relay_maps.cf
>
> root <at> servername:/etc/postfix# postmap -q foo <at> example.com 
> mysql:/etc/postfix/mysql_virtual_alias_maps.cf
>
> this looks normal to me, so why doesn't it work? Do I need to adjust 
> some setting that reject is the default maybe?
>


Gmane