Mail sender address should only have registered domains


Currently only illegitimate emails like user@ are restricted by postfix. A registered user can send email from any non registered domain too . So if the domain or is not registered with my server, I still can send email from sender address from these domains. eg and

There should be sender envelop restriction to registered domains only.
Future there should be username and alias check with the From address of the email, so that the spaming from the server can be checked and stopped.


indeed, that looks like something we should implement

Can you open a ticket with basically the same message on our bugtracker ?