Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Since domain2 is in the virtual mailbox class, postfix will reject mail to recipients not listed in vmaps. The solution is either 1. to list all valid recipients in vmaps (this includes users on both the local machine and the remote domain2 MX), or 2. have a catchall entry in vmaps. The mailbox that you list is just a dummy, since transport_maps determines the final transport in the end.
This looks like a good idea. Are you saying that Postfix checks the recipient first and then selects the transport? If that is the case then this could work. How do you put a catch-all in vmaps?
I should explain the domain1 & 2 issues a bit more clearly.
Domain1 is the local domain. Domain2 is a replica of the actual domain2 which is managed by the second company. We are duplicating it here so that my client can have his own copy of all incoming and outgoing mail on his own server, which is a specified requirement. However, when he sends emails to his colleagues he wants them forwarded to the real domain2 and not have them intercepted by the replica version locally. Is that clearer?
Can you explain why the local sendmail message was routed correctly even though the recipient was not in the vmaps?
OK, I have changed the vmaps as suggested. The local test works fine (as before). I have asked my client to send another email to test if it has solved the problem.
Will update you when that has happened.