baptiste jamin: > We have a non common mail system: > > All mails are normaly sent to a local service. This home made service > manage our different adresses. > > In fact the "local_recipient_maps =" directive allow every recipient.
This is incorrect. With "local_recipient_maps =", the Postfix SMTP server will accept all recipient addresses in a domain that matches MYDESTINATION. The local_recipient_maps setting has NO EFFECT on other address classes. > [email protected] and [email protected] are > virtual adresses, managed by our home made. > > What I don't understand is that messages from "[email protected]" are > transfered to our home made service, but not > [email protected] message. > > Theses 2 adresses doesn't locally exist. Postfix supports two types of virtual domain. 1) As documented in http://www.postfix.org/ADDRESS_CLASS_README.html, virtual alias domains are defined with virtual_alias_domains, and their recipients are defined with with virtual_alias_maps. 2) As documented in http://www.postfix.org/ADDRESS_CLASS_README.html, virtual mailbox domains are defined with virtual_mailbox_domains, and their recipients are defined with with virtual_uid_maps and virtual_gid_maps. If the Postfix SMTP server accepts mail for a non-existent virtual address, then you have an error in virtual_alias_maps, or in virtual_uid_maps and virtual_gid_maps. Wietse
