Barley wrote:
> 
> Hello all,
> 
> First off, thanks to everyone for the help so far. I am now able to telnet
> successfully to port 25 and 110. Y'all rock!
> 
> I'm trying to follow Life With Qmail (what a lifesaver) and the instructions
> for setting up multiple pop users under one userid. Unfortunately, it's
> bouncing messages back saying user unknown. I'm sure this is some lame
> config problem of mine, but believe me, I've gone through the docs trying to
> figure it out. If I had just one working user as a template, I'm sure I'd be
> fine.
> 
> Soooo, specifics: one domain I'm hosting on my box is called
> branaghgroup.com. I want to make an email user 'barley' lets say so that my
> machine will accept mail to [EMAIL PROTECTED] and allow barley to
> retrive mail via pop3.Here's what I did: (pipe in whenever you see something
> wrong ;) :
> 
> I added a line to control/virtualdomains like this:
> branaghgroup.com:branaghgroup-com

ok so here is the first problem that i see...

You haven't specified a user to control this domain, unless ofcause that the user is 
called
'branaghgroup'

What you prolly need is:

branaghgroup.com:alias-branaghgroup:com

then the alias user will control that domain.

Now you can set up the dot-qmail file ~alias/.qmail-branaghgroup:com-barney:

&[EMAIL PROTECTED]

and you should probably also set up ~alias/.qmail-branaghgroup:com-barney-default:

|forward "$EXT2"@your.local.host.name

so that barney will also receive barney-*@your.local.host.name


> 
> I added a line to control/rcpthosts:
> LOCALHOST
> 26-209.196.58.interliant.com
> 27-209.196.58.interliant.com
> 28-209.196.58.interliant.com
> 29-209.196.58.interliant.com
> 30-209.196.58.interliant.com
> branaghgroup.com                  <----------------(only line I added)
> 
> control/locals looks just like above minus the last line.
> 
> users/assign, I added:
> =branaghgroup-com-barley:popuser:516:516:/var/qmail/popboxes/branaghgroup-co
> m/barley:::
> 
> ...all one line, where 516 is the uid/gid of the user popuser. Strangely,
> when I run qmail-newu with this line, it doesn't work, saying:
> qmail-newu: fatal: bad format in users/assign

you need a single line on the end of the assign file only containing a .

so it should in your case look like:

=branaghgroup-com-barley:popuser:516:516:/var/qmail/popboxes/branaghgroup-com/barley:::
.

but if you follow the setup i described above the file should look more like:

=barley:popuser:516:516:/var/qmail/popboxes/branaghgroup-com/barley:::
.


maybe all you need to do for your current setup to work is top add the single line 
with a dot to
assign... i'm not sure, since i don't know qmail well enough yet to figure out from 
the top of my
head of you can control virtual domains directly through the assign file as you have 
set it up to
do.

If it works however i'd like to know :)

---snip the rest-------

/Martin

Reply via email to