Hi, I have to use a relayhost (not managed by me) that only accepts 1 address from me.
So I configured smtp_generic_maps: glorang:~# postconf -n |grep -e relayhost -e generic relayhost = relayhost.be smtp_generic_maps = hash:/etc/postfix/generic glorang:~# cat /etc/postfix/generic @mydomain.be accep...@relayhost.other.domain Now try to lookup someth...@mydomain.be: glorang:~# postmap -q someth...@mydomain.be /etc/postfix/generic glorang:~# echo $? 1 So no output (no match found) and return value > 0, so you would expect this can't work, but in fact it just works. I would expect that "postmap -q whate...@mydomain.be /etc/postfix/generic" returns accep...@... in every case (and return code 0), but it doesn't? If this is by design maybe add this somehow in the docs... Regards, Geert Lorang