Displaying 1 result from an estimated 1 matches for "testm2m_mydomain".
2023 Feb 13
1
Could not override "mail_location" with "userdb_mail" statment in "/etc/passwd"
...ake some tests on dedicated accounts. To do so i want to overide the general "mail_location" ( mail_location = mbox:~/mail:INBOX=/var/mail/%u ) with "maildir:~/Maildir" only for some test accounts.
To do so i modified my "/etc/passwd" file using something like that :
testm2m_mydomain.tld:x:2122:2122::/home/mail/testm2m_mydomain.tld:/bin/false:userdb_mail=maildir:~/Maildir
Also tried
testm2m_mydomain.tld:x:2122:2122::/home/mail/testm2m_mydomain.tld:/bin/false::userdb_mail=maildir:~/Maildir
And as mentioned in the doc (https://wiki.dovecot.org/LDA/Postfix) i added ?-d "$USE...