295678Re: email address (email@example.com) as username?
- Sep 27, 2013On Sep 27, 2013, at 09:41, Tomasz Chmielewski <tch@...> wrote:
> On Fri, 27 Sep 2013 09:23:43 +0200No, you are abusing the concept of system users. Even if it were to work on a system level, it does not work that way at the Postfix level. Valid system users do not include the '@' sign or the domain part.
> DTNX Postmaster <postmaster@...> wrote:
>>> How can I make Postfix deliver mail for such system users?
>>> Right now, it rejects mail to such users, with '(unknown user:
>>> "test")' reason.
>> A system user in this case would be 'test', not 'test@...' or
> Why? test@... or test@... are perfectly valid system
> # getent passwd | grep test
>> If they are both one and the same user, justUnless those users also need some system level access, this is where you use virtual domains. Use the software as intended, read the fabulous manual on how to set up virtual domains and their users;
>> make sure that the 'test' system user exists, and specify
>> 'example.com' and 'domain.tld' as part of 'mydestination'.
> No, they are two different users. They are not virtual users; they are
> system users.
> I want to use test@... and test@..., as this is what
> users have for IMAP/SMTP logins on a different system, being migrated.
If you really do have a valid use case for system users, you need to create individual, unique users such as 'test1', 'test2' and so on, and route incoming mail to the appropriate account. See the above URL for more information on how to do this.
- << Previous post in topic Next post in topic >>