O
O
odin88122020-07-22 08:33:24
Mail server
odin8812, 2020-07-22 08:33:24

One login-password for many Wirth. email addresses on Postfix?

I have several sites on the same subject. With a custom self-written engine. Let's say it's blogs. On VPS.

And there is postfix. Now I have several logins there for my other domains, and each domain has its own login-password.

For blogs, I want to be able to send soap on behalf of the domain of each of these blogs. But, with the same login to postfix'y . This is done so as not to produce logins / passwords.

My plan is:

* blog1.com -> logs in as "blogs_user" but sends soap from blog1.com domain --> [email protected]

* blog2.com -> logs in as "blogs_user" but sends soap from blog2.com –> [email protected]

etc.

Task:

make sure that "my_main_postfix_domain.com" and this single login are not visible anywhere for clients who will receive soaps (in extreme cases, somewhere in the depth if you open the source code of the letter with headers) And only [email protected] blog1.com etc.

Questions:

1) Is it normal and recommended practice to create a single login/password for a group of domains?

2) To send soap as [email protected], you will need to set the appropriate headers/fields: header or from or something like that, right?

3) And you need to do this in the script that sends the soap? For example, in python. Not in postfix?

PS

Yes, I remember that it is necessary to register in dns that the mail on this blog domain is served by the domain where my postfix is ​​running.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akelsey, 2020-07-22
@akelsey

On behalf of your domain, you are free to send from any email address, even from a non-existent one. No password or login. Getting on one login (even for a group of domains) read catch-all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question