Author Topic: Help with Virtual users  (Read 361 times)

Offline nebenzahl

  • Newbie
  • *
  • Posts: 3
Help with Virtual users
« on: August 15, 2020, 09:34:55 AM »
Hi!

How can I use the virtual user table, which I have in the /etc/postfix/virtual file.
The format I have in it is

email@domain user

I saw that in coding, I only found it for those who use databases.
I didn't find anything that was based on file.


Offline nebenzahl

  • Newbie
  • *
  • Posts: 3
Re: Help with Virtual users
« Reply #1 on: August 15, 2020, 10:23:05 AM »
Got it.

And here I leave the solution to look for who.

In the config.inc.php file

The following lines are changed:

$ config ['plugins'] = array (
    'virtuser_file',
);

$ config ['virtuser_file'] = '/ etc / postfix / virtual';

In my case the file where the table is is this.

The table format is:

email@domain user

Tank's