About mailserver ISPMAIL
Hello, I'm Maykel and I'm spanish. I follow the manual http://workaround.org/ispmail/lenny , it's works perfectly with email@example.com. But I want also to authenticate users with an alternate user name without @example.com, for example with called user zjv009.
I added the column to the table virtual_users user, being as follows:
So I changed the files:
query = SELECT email FROM virtual_users WHERE email = '% s' OR user = '% s'
query = SELECT 1 FROM virtual_users WHERE email = '% s OR' user = '% s'
and dovecot file:
password_query = SELECT email, password FROM virtual_users WHERE email = '% u' OR user = '% u'
To dovecot-sql.conf, I also tested:
password_query = SELECT email, password FROM virtual_users WHERE email = '% u' OR user = '% n'
I restarted the services:
/ Etc / init.d / postfix restart
/ Etc / init.d / dovecot restart
When I zjv009 authenticates the user enters a different mailbox.
Need to be so, because I want to migrate a mail server system.
But I've failed. What am I doing wrong? anyone can help me? thanks in advance
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users