<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello all,<div><br></div><div>I'm building a mail system and would like to check whether my design is feasible. I'm fairly certain that it is but I think I don't have the right words and concepts lined up properly in my head.</div><div><br></div><div>The end system will provide temporary/disposable email addresses that can be accessed by multiple people.</div><div><br></div><div>People would be able to send email to addresses that match the following format: </div><div><br></div><div><a href="mailto:user1@foobar.mydomain.com">user1@foobar.mydomain.com</a></div><div><div><a href="mailto:user2@foobar.mydomain.com">user2@foobar.mydomain.com</a></div><div><br></div><div><a href="mailto:user1@barbaz.mydomain.com">user1@barbaz.mydomain.com</a></div><div><div><a href="mailto:user2@barbaz.mydomain.com">user2@barbaz.mydomain.com</a></div><div><br></div></div></div><div>I would like all emails to the "foobar" subdomain to end up in their own mailbox and all emails to the "barbaz" subdomain to go to their own mailbox. (I think that means I need a foobar and barbaz user on Dovecot). Users of the system should be able to see all of the emails, including the original addresses they were sent to.</div><div><br></div><div>e.g. <a href="mailto:user1@foobar.mydomain.com">user1@foobar.mydomain.com</a> and <a href="mailto:user2@foobar.mydomain.com">user2@foobar.mydomain.com</a> both get delivered to the "foobar" mailbox, and users can see all emails, including that they were sent to "user1" and "user2"</div><div><br></div><div>The users of the system would be able to access any of the foobar, barbaz, etc mailboxes - I believe that means that they would need to be set as master users.<br></div><div><br></div><div>I will be creating a web interface for users to get/set their credentials, so can add those users on an adhoc basis, but I will need to have the "foobar", "barbaz", etc users created whenever an email arrives (we won't know ahead of time).</div><div><br></div><div>The plan is to have postfix accepting the emails before passing them to Dovecot. I don't believe postfix needs to do much processing but that this would be the place to transform the address into the correct user/mailbox name.</div><div><br></div><div>So my questions are:</div><div><br></div><div>1. Does the above sound reasonable?</div><div>2. Can Dovecot auto-create users as needed?</div><div>3. Will I be able to preserve the original email?</div><div>4. Are master users the right approach?</div><div><br></div><div>There is no strong requirement for privacy between mailboxes - there is no issue with one user being able to read all email.</div><div>There is also no requirement to be able to send email but that is a feature request for the future - we would want people to be able to send as the original address when that's implemented.</div><div><br></div><div>Any pointers gratefully received.</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Felix</div></div></div></div></div>