[Dovecot] multiple domains
Anybody can help me with this issue. It's the right place to submit thios question, please help me.
Actually we have configured a server (postfix,dovecot,mysql) with multiple domains, but the problem resides in that we don't want to login via POP3 using "user@domain" just using "user", because we'll migrate our actual platform (Qmail) to dovecot. Our users are logging to their mail boxes, using only user name. We want to ask if that's posible to use a function like a "vipmap" in qmail, that allow to map an IP address to a domain. We're using the dovecot 1.0.7, the configuration shows as follows:
login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login first_valid_uid: 100 mail_location: maildir:~/Maildir/ mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(pop3): outlook-idle pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: username_format: %Lu passdb: driver: sql args: /etc/dovecot-mysql.conf userdb: driver: static args: uid=101 gid=102 home=/home/vmail/%d/%n
We'll apreciate your response, 'cause we coulnd't find information about this issuet and we didn't to find any clue that shows how can realize it.
Thank you in advance.
Sergio Moscoso
On Tue, 2011-02-08 at 15:12 -0400, Sergio Moscoso wrote:
Anybody can help me with this issue. It's the right place to submit thios question, please help me.
Actually we have configured a server (postfix,dovecot,mysql) with multiple domains, but the problem resides in that we don't want to login via POP3 using "user@domain" just using "user", because we'll migrate our actual platform (Qmail) to dovecot. Our users are logging to their mail boxes, using only user name. We want to ask if that's posible to use a function like a "vipmap" in qmail, that allow to map an IP address to a domain. We're using the dovecot 1.0.7, the configuration shows as follows:
login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login first_valid_uid: 100 mail_location: maildir:~/Maildir/ mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(pop3): outlook-idle pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: username_format: %Lu passdb: driver: sql args: /etc/dovecot-mysql.conf userdb: driver: static args: uid=101 gid=102 home=/home/vmail/%d/%n
We'll apreciate your response, 'cause we coulnd't find information about this issuet and we didn't to find any clue that shows how can realize it.
Thank you in advance.
Sergio Moscoso
Have you tried 'auth_username_format = %n'?
Thank you for your reply. I've tried to configure with the option that you suggest but I can't login via POP3(110).
Maybe if I can explain in detail you can help me.
I have 2 domains, domain1 domain2 I also have 2 users with the same user name "user1" for both domains. user1@domain1.com user1@domain2.com
With the current configuration I can login with both users, but I need to use in the login proccess user1@domain1.com or user1@domain2.com with their respective passwords, thing that I don't want.
In other configuration with qmail, I have a command "vipmap", that as how can explain before it uses for mapping an IP to a domain, in this case I use as shows as follows:_ telnet mail.domain1.com 110 and I login only with only user name "user1" (for example), the vipmap is in charge to traduce the domain1.com in its repective IP address. Same result whith domain2.
I hope I could explain you.
Thank u in advance
Sergio
On Tue, Feb 8, 2011 at 4:24 PM, Flash Love <flashl@cox.net> wrote:
On Tue, 2011-02-08 at 15:12 -0400, Sergio Moscoso wrote:
Anybody can help me with this issue. It's the right place to submit thios question, please help me.
Actually we have configured a server (postfix,dovecot,mysql) with multiple domains, but the problem resides in that we don't want to login via POP3 using "user@domain" just using "user", because we'll migrate our actual platform (Qmail) to dovecot. Our users are logging to their mail boxes, using only user name. We want to ask if that's posible to use a function like a "vipmap" in qmail, that allow to map an IP address to a domain. We're using the dovecot 1.0.7, the configuration shows as follows:
login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login first_valid_uid: 100 mail_location: maildir:~/Maildir/ mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(pop3): outlook-idle pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: username_format: %Lu passdb: driver: sql args: /etc/dovecot-mysql.conf userdb: driver: static args: uid=101 gid=102 home=/home/vmail/%d/%n
We'll apreciate your response, 'cause we coulnd't find information about this issuet and we didn't to find any clue that shows how can realize it.
Thank you in advance.
Sergio Moscoso
Have you tried 'auth_username_format = %n'?
On 2011-02-10 2:53 PM, Sergio Moscoso wrote:
Thank you for your reply. I've tried to configure with the option that you suggest but I can't login via POP3(110).
Maybe if I can explain in detail you can help me.
I have 2 domains, domain1 domain2 I also have 2 users with the same user name "user1" for both domains. user1@domain1.com user1@domain2.com
With the current configuration I can login with both users, but I need to use in the login proccess user1@domain1.com or user1@domain2.com with their respective passwords, thing that I don't want.
In other configuration with qmail, I have a command "vipmap", that as how can explain before it uses for mapping an IP to a domain, in this case I use as shows as follows:_ telnet mail.domain1.com 110 and I login only with only user name "user1" (for example), the vipmap is in charge to traduce the domain1.com in its repective IP address. Same result whith domain2.
Easy to do with multiple instances of dovecot... hmmm.... postfix now has very simple/nice multi-instance support using the postmulti command... maybe Timo could someday add similar support for dovecot... ;)
--
Best regards,
Charles
participants (3)
-
Charles Marcus
-
Flash Love
-
Sergio Moscoso