Howdy,

I know this isn't quite on topic, but I'm not getting any help from the postfix list, 
and I'm hoping someone would be willing to lend me a hand :-\

Here's a copy of what I sent to the postfix list:

Ok., I'm afraid I didn't make myself clear. I'm /not/ trying to forward the mail to 
another server. I want to set up an entirely virtual pop3 system, where I have many 
pop3 users who do /not/ have regular shell accounts. I /know/ this can be done, but 
I'm having a lot of trouble finding out how to do it.

What happens is something like this:

For regular users (users with shell accounts), let use the example of joe, when mail 
comes in, it is put in their spool directory, /var/spool/mail/joe. When joe check his 
mail with a pop3 client, the pop3d checks his name and password against the regular 
/etc/passwd and, once verified, gives him his mail out of /var/spool/mail.

A virtual system runs on the /same/ server as the regular system, however it uses 
another password file, (I think one for each virtual domain) and all incoming mail 
sent to these users goes into a differant place then /var/spool/mail.  On RH 6.2 
linuxconf set it up as /var/spool/vmail. And as I said, it uses it's own passwd files. 
This way, If my main domain is mydomain.com, and there's a shell accoutn joe, then if 
mail is sent to [EMAIL PROTECTED], it will be delivered to /var/spool/mail/joe, and 
wait there untill joe checks his mail.

Now the problem comes when one of my clients whose web site I'm hosting, lets say 
hiswebsite.com, /also/ wants a pop3 account "joe". There cannot be 2 users named joe 
on one server. The most common thing to do here is to make a local user "joe2" and 
user the virtual usertable to map [EMAIL PROTECTED] to localuser "joe2" but that is 
NOT an acceptable solution. Some pop3d, such as GnuPop3d are able to handle this 
completely virutally, without needed to map the user to a local user. It does this by 
getting the mail out of /var/spool/vmail/. My problem, and the question I"m asking, 
is, how do I get Postfix to put virtual users mail into /var/spool/vmail? For 
instance, when mail comes in for [EMAIL PROTECTED], instead of going to 
/var/spool/mail/joe, it goes to /var/spool/vmail/hiswebsite.com/joe and if I also have 
a [EMAIL PROTECTED], then his mail goes in /var/spool/vmail/bigclient.com/joe and if 
there's a [EMAIL PROTECTED], her mail would go into /var/spool/vmail/bigclient.!
com/ja
ne

Does that make sense? I can't think of another way to explain it.

In the about examples, /none/ of the users of virtual domain email addresses are 
mapped to local users. They have nothing else on the system. I done make users "joe" 
joe2" and "joe3"  and then map them - there's no need to.

Now that I've probably bored y'all to death, can anyone tell me how to go about 
setting this up, and making postfix put virtual users' mail  in 
/var/spool/vmail/<virtualdomain>/<virtualuser>

Thanks!

        JW



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to