Re: Best way to achive email hosting for several domains
Please, any thoughts here? Best regards. Robi. Roberto Nunnari wrote: Hi. I'd like to know what are the best practices for implementing email hosting for several domains. The service is accessible via pop/imap/webmail Apart from that, I'd like to ask for comments on the actual comfiguration.. The system is already configured and running as follows: # uname -rms FreeBSD 6.1-RELEASE-p23 i386 MTA:sendmail imap/pop:mail/imap-uw webmail:horde from ports Every mailbox as a local unix account, ie: [EMAIL PROTECTED] -- a1 [EMAIL PROTECTED] -- a2 [EMAIL PROTECTED] -- b1 [EMAIL PROTECTED] -- b2 etc.. Now, everything works fine, but I'm a bit concerned with the webmail login.. I'd like [EMAIL PROTECTED] to login with a username equal to the email, but as the authentication in horde is handled by imp, I'm not sure how to proceed with that.. Any hints/suggestions are welcome. Thank you and best regards. Robi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best way to achive email hosting for several domains
On Tue, 18 Mar 2008 15:29:29 +0100 Roberto Nunnari [EMAIL PROTECTED] wrote: Now, everything works fine, but I'm a bit concerned with the webmail login.. I'd like [EMAIL PROTECTED] to login with a username equal to the email, but as the authentication in horde is handled by imp, I'm not sure how to proceed with that.. Hi Roberto, I try to avoid that beast of horde...but most webmail products that I've seen (including Horde, if memory doesn't fail me), simply make an imap connection to your server and pass on whatever auth you give to it IOW, whatever works for imap works with webmail. anyway, it wouldn't be too hard to test, right? B _ {Beto|Norberto|Numard} Meijome Unix is very simple, but it takes a genius to understand the simplicity. Dennis Ritchie I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best way to achive email hosting for several domains
--- Norberto Meijome [EMAIL PROTECTED] wrote: On Tue, 18 Mar 2008 15:29:29 +0100 Roberto Nunnari [EMAIL PROTECTED] wrote: Now, everything works fine, but I'm a bit concerned with the webmail login.. I'd like [EMAIL PROTECTED] to login with a username equal to the email, but as the authentication in horde is handled by imp, I'm not sure how to proceed with that.. Hi Roberto, I try to avoid that beast of horde...but most webmail products that I've seen (including Horde, if memory doesn't fail me), simply make an imap connection to your server and pass on whatever auth you give to it IOW, whatever works for imap works with webmail. anyway, it wouldn't be too hard to test, right? B This is indeed how squirrelmail works, and I've found it to be incredibly easy to roll squirrelmail out. Since people will be sending authentication credentials, you may want to set it up on an SSL-enabled web host so that they are not sent in the clear. Generally, I use dovecot which allows me to listen on all IPs for imap/ssl connections, and localhost only for imap non-ssl (for squirrelmail's benefit), then have squirrelmail installed under an ssl vhost, so that users can't send their credentials over the internet in the clear. Take care, mdh Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best way to achive email hosting for several domains
This is indeed how squirrelmail works, and I've found it to be incredibly easy to roll squirrelmail out. sqwebmail is excellent webmail software Since people will be sending authentication credentials, you may want to set it up on an SSL-enabled web host so that they are not sent in the clear. Generally, I use dovecot which allows me to listen on all IPs for imap/ssl connections, and localhost only for imap non-ssl (for squirrelmail's benefit), then have squirrelmail installed under an ssl vhost, so that users can't send their credentials over the internet in the clear. Take care, mdh Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best way to achive email hosting for several domains
Hi Norberto. Norberto Meijome wrote: On Tue, 18 Mar 2008 15:29:29 +0100 Roberto Nunnari [EMAIL PROTECTED] wrote: Now, everything works fine, but I'm a bit concerned with the webmail login.. I'd like [EMAIL PROTECTED] to login with a username equal to the email, but as the authentication in horde is handled by imp, I'm not sure how to proceed with that.. Hi Roberto, I try to avoid that beast of horde...but most webmail products that I've seen (including Horde, if memory doesn't fail me), simply make an imap connection to your server and pass on whatever auth you give to it IOW, whatever works for imap works with webmail. Yes.. That's how it works now.. horde simply delegates to imp that does the authentication to the imap server.. what I mean is that as users unix accounts are named like aaa01, aaa02, aab01, but they are mapped to email addresses like [EMAIL PROTECTED], [EMAIL PROTECTED] and [EMAIL PROTECTED], I'd like to let the user authenticate to the webmail using the email address, and then have some piece of software map the email address to the local unix account before attempting the auth process.. I found out that imp provides hook points to do this kind of things and maybe I'll go that direction, but I just would like to hear what other people are doing.. maybe have aliases in /etc/passwd (ie different usernames, same UID/GID)? Best regards. Robi. anyway, it wouldn't be too hard to test, right? B _ {Beto|Norberto|Numard} Meijome Unix is very simple, but it takes a genius to understand the simplicity. Dennis Ritchie I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best way to achive email hosting for several domains
You could have your imapd authenticate against something other than /etc/passwd, and map the usernames in said other authentication mechanism to the appropriate mail boxes. There's no real reason nowadays to have a system user for every email user. Generally speaking, what you want likely doesn't concern your webmail app at all so much as it does your imapd. I use dovecot and have found its configuration to be extremely flexible while not overwhelmingly complex. You may want to check it out. I'm using it with a mysql backend as well as exim, and they have no problem authenticating against the same mysql tables very easily. Take care, mdh --- Roberto Nunnari [EMAIL PROTECTED] wrote: Hi Norberto. Norberto Meijome wrote: On Tue, 18 Mar 2008 15:29:29 +0100 Roberto Nunnari [EMAIL PROTECTED] wrote: Now, everything works fine, but I'm a bit concerned with the webmail login.. I'd like [EMAIL PROTECTED] to login with a username equal to the email, but as the authentication in horde is handled by imp, I'm not sure how to proceed with that.. Hi Roberto, I try to avoid that beast of horde...but most webmail products that I've seen (including Horde, if memory doesn't fail me), simply make an imap connection to your server and pass on whatever auth you give to it IOW, whatever works for imap works with webmail. Yes.. That's how it works now.. horde simply delegates to imp that does the authentication to the imap server.. what I mean is that as users unix accounts are named like aaa01, aaa02, aab01, but they are mapped to email addresses like [EMAIL PROTECTED], [EMAIL PROTECTED] and [EMAIL PROTECTED], I'd like to let the user authenticate to the webmail using the email address, and then have some piece of software map the email address to the local unix account before attempting the auth process.. I found out that imp provides hook points to do this kind of things and maybe I'll go that direction, but I just would like to hear what other people are doing.. maybe have aliases in /etc/passwd (ie different usernames, same UID/GID)? Best regards. Robi. anyway, it wouldn't be too hard to test, right? B _ {Beto|Norberto|Numard} Meijome Unix is very simple, but it takes a genius to understand the simplicity. Dennis Ritchie I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Best way to achive email hosting for several domains
Hi. I'd like to know what are the best practices for implementing email hosting for several domains. The service is accessible via pop/imap/webmail Apart from that, I'd like to ask for comments on the actual comfiguration.. The system is already configured and running as follows: # uname -rms FreeBSD 6.1-RELEASE-p23 i386 MTA:sendmail imap/pop: mail/imap-uw webmail:horde from ports Every mailbox as a local unix account, ie: [EMAIL PROTECTED] -- a1 [EMAIL PROTECTED] -- a2 [EMAIL PROTECTED] -- b1 [EMAIL PROTECTED] -- b2 etc.. Now, everything works fine, but I'm a bit concerned with the webmail login.. I'd like [EMAIL PROTECTED] to login with a username equal to the email, but as the authentication in horde is handled by imp, I'm not sure how to proceed with that.. Any hints/suggestions are welcome. Thank you and best regards. Robi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]