Postfix unknown user

Yes, that’s correct … we re-create with local settings.

1 Like

there a setting in templates to to that, is it set to yes?

You should never set it to Yes on modern systems!

Right, I though that what created the user user.name-domain.com I had a issue once with roundcube and I’ve always left it like that as it fixed the issue.
Why the option?

Joe also said the system should create 2 user.

That used to be an issue years ago. Postfix now supports @ in usernames just fine.

1 Like

It wasn’t that long ago…we support some pretty old operating systems, with old Postfix versions. (I’m pretty sure RHEL6 had a version old enough to need it.)

I created a new email account and the /etc/postfix/virtual file shows a different entry than the old ones.

joao.pessoa@infocenter.rec.br joao.pessoa-infocenter.rec.br (old)
test@infocenter.rec.br test\@infocenter.rec.br 

and when trying to send an email to the new account it shows this error

User unknown in virtual alias table

What is the output of:

postconf resolve_dequoted_address

Make sure that it’s set to no in /etc/postfix/main.cf, e.g.:

resolve_dequoted_address = no

Worked! I sent an e-mail to test and received with sucess in test account. The email accounts already exist, persist the error unknown user: “joao.pessoa-infocenter.rec.br” . If new account worked, is it clue to solve this error ?

Any tips how to solve, apreciate!

/etc/postfix/virtual

teste@infocenter.rec.br	teste\@infocenter.rec.br
joao.pessoa@infocenter.rec.br	joao.pessoa-infocenter.rec.br

The joao.pessoa-infocenter.rec.br Unix user is expected to exist in the /etc/passwd file. If not, perhaps joao.pessoa@infocenter.rec.br does, and if so, tweak the file to point to it, i.e.:

joao.pessoa-infocenter.rec.br joao.pessoa\@infocenter.rec.br

In the /etc/passwd only have joao.pessoa@infocenter.rec.br. I made change in the /etc/postfix/virtual what you suggested and worked . Thank you for your help .

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.