one user/many pop accounts: best solution?
Hi, I have several domains that I am in the process of transferring to one machine with my qmail mailserver. I've gotten in the habit of accessing my pop mail for different domains at different times depending on what I'm doing. My main email address on each of these domains is the same username, i.e. siffert@domain1 siffert@domain2 siffert@domain3 I know how to store them into different Maildirs in my "siffert" account, depending on domain, thanks to dot-qmail and virtualdomains. But how can I access these different Maildirs through pop? It seems that pop always relies on a hardcoded mailbox name like ~/Maildir, and storing all my different domains' mail in there would scramble them all together. Am I going to *have* to use different useraccounts and header-forging to accomplish this? Thanks, Curt
Re: one user/many pop accounts: best solution?
On Tue, Jan 18, 2000 at 02:39:59PM -0800, [EMAIL PROTECTED] wrote: Hi, I have several domains that I am in the process of transferring to one machine with my qmail mailserver. I've gotten in the habit of accessing my pop mail for different domains at different times depending on what I'm doing. My main email address on each of these domains is the same username, i.e. siffert@domain1 siffert@domain2 siffert@domain3 I know how to store them into different Maildirs in my "siffert" account, depending on domain, thanks to dot-qmail and virtualdomains. But how can I access these different Maildirs through pop? It seems that pop always relies on a hardcoded mailbox name like ~/Maildir, and storing all my different domains' mail in there would scramble them all together. Am I going to *have* to use different useraccounts and header-forging to accomplish this? You need either to use one of the virtual domains packages (see www.qmail.org), or use a different version of checkpassword. I have a patch to the standard checkpassword that lets you use a cdb database to look users up and decide where qmail-pop3d should look for mail. It also works with regular /etc/passwd users. It's pretty simple to set up. See http://www.palomine.net/qmail/checkcdb.tar.gz Chris
Re: one user/many pop accounts: best solution?
I have a simple script in C that resolves same-user-name-but-different-domains. It authenticates a POP account using Postgresql. You can download the script from http://x.csusb.net/free/qmail/ Tong At 06:14 PM 1/18/00 -0500, Chris Johnson wrote: On Tue, Jan 18, 2000 at 02:39:59PM -0800, [EMAIL PROTECTED] wrote: Hi, I have several domains that I am in the process of transferring to one machine with my qmail mailserver. I've gotten in the habit of accessing my pop mail for different domains at different times depending on what I'm doing. My main email address on each of these domains is the same username, i.e. siffert@domain1 siffert@domain2 siffert@domain3 I know how to store them into different Maildirs in my "siffert" account, depending on domain, thanks to dot-qmail and virtualdomains. But how can I access these different Maildirs through pop? It seems that pop always relies on a hardcoded mailbox name like ~/Maildir, and storing all my different domains' mail in there would scramble them all together. Am I going to *have* to use different useraccounts and header-forging to accomplish this? You need either to use one of the virtual domains packages (see www.qmail.org), or use a different version of checkpassword. I have a patch to the standard checkpassword that lets you use a cdb database to look users up and decide where qmail-pop3d should look for mail. It also works with regular /etc/passwd users. It's pretty simple to set up. See http://www.palomine.net/qmail/checkcdb.tar.gz Chris