Matus UHLAR - fantomas:
>Matus UHLAR - fantomas:
>> virtual_alias_domains and virtual_alias_maps are described in
>> "The virtual alias domain class." section.
>>
>> * Domain names are listed in virtual_alias_domains. The default value is
>> $virtual_alias_maps for Postfix 1.1 compatibility.
>>
>> * Valid recipient addresses are listed with the virtual_alias_maps parameter.
>> The Postfix SMTP server rejects invalid recipients with "User unknown in
>> virtual alias table". The default value is $virtual_maps for Postfix 1.1
>> compatibility.

On 26.03.18 14:15, Wietse Venema wrote:
Again, it says that

   If the domain matches virtual_alias_domains
   then look up the user in virtual_alias_maps

The text does not say:

   If the domain matches virtual_alias_domains
   then look up the user in virtual_alias_maps
   else don't use virtual_alias_maps

but that is exactly what "if" means.
What you say here is a perfect example of misleading.

Using "if" in case where a condition does NOT have to be met only leads to
mistakes.

there are many ifs in postfix documentation, should I understand that
they are all useless and all "then" apply even when their "if" doesn't
succeed?

The program behaves as promised.

IMHO the documentation should make it more clear.  I have only found this
information in:
http://www.postfix.org/ADDRESS_REWRITING_README.html#overview
but the virtual_alias_maps is documented in other docs to.

Note that the original poster also did miss this information, that's why we
have this thread.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Holmes, what kind of school did you study to be a detective?
- Elementary, Watson.  -- Daffy Duck & Porky Pig

Reply via email to