OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: relay_recipient_maps doens't work

chantalantenna.nl
Date: Wed May 14 2008 - 09:33:49 CDT


Quoting mouss <moussnetoyen.net>:

> chantalantenna.nl wrote:
>>>>
>>>>
>>>>
>>>
>>> chose an address that does not exist in your relay recipient maps,
>>> let's say fooexample.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 fooexample.com mysql:mysql_relay_maps.cf
>>> # postmap -q fooexample.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

I noticed, have a look at my previous post :)

>
> # cd /path/to/config_directory
>
> first.
>
>>
>> rootservername:/etc/postfix# postmap -q example.com
>> mysql:/etc/postfix/mysql_relay_domains_maps.cf
>> example.com
>>
>> rootservername:/etc/postfix# postmap -q fooexample.com
>> mysql:/etc/postfix/mysql_relay_maps.cf
>>
>> rootservername:/etc/postfix# postmap -q fooexample.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?
>>