assign file

1999-08-10 Thread Ana Belén Santos

I'm using the vchkpw package and I want to know how can I create the file
assign so
real users can get their mails with pop too. (virtual users can but no real
users because
I don't have entries for them in the assign file) . How can I do that??

Ana Santos




assign file?

2000-10-04 Thread Eddie Greer

Hello everyone,

I using qmail 1.03 with vpopmail and sqlwebmail.

Question 1 - When I add a new user via qmailadmin I see the user in
/var/vpopmail/domain/nameofdomain/user.  but the /var/qmail/users/assign
file only has one entry (the one it created when I added the domain.  Is the
assign file supposed to be updated every time I add a new virtual user. I
manually run qmail-newu, no luck.

Question 2 - Every time I send a email to a virtual user it get stuck in the
queue and the log file says "unable to change dir #4.2.1

I'm running the pop3 daemon as vpopmail.


Any help would be greatly appreciated


TIA

Eddie Greer






Re: assign file

1999-08-10 Thread Robbie Walker

man qmail-pw2u
man qmail-newu

use this file to create an assign file from your password file. Edit this
file to remove the unneccessary entries (ftp, nofiles, bin and others) and
merge this information into your existing assign file. There should only be
one . on a line by itself at the end of the file.

then qmail-newu

At 08:03 AM 8/10/99 , you wrote:
>I'm using the vchkpw package and I want to know how can I create the file
>assign so
>real users can get their mails with pop too. (virtual users can but no real
>users because
>I don't have entries for them in the assign file) . How can I do that??
>
>Ana Santos
>
>


__
NovaMetrix Development 
Robbie Walker, AMWL

P.O. Box 635 or910-653-4006
106-B S. Main St   800-773-5647
Tabor City, NC 28463   910-653-2052 FAX




Re: assign file

1999-08-10 Thread Mirko Zeibig

On Tue, Aug 10, 1999 at 09:00:53AM -0400, Robbie Walker wrote:
> man qmail-pw2u
> man qmail-newu
> 
> use this file to create an assign file from your password file. Edit this
> file to remove the unneccessary entries (ftp, nofiles, bin and others) and
Or include the unneccessary entries in /var/qmail/users/exclude

Regards
Mirko



Re: assign file

1999-08-10 Thread Ken Jones

Ana Belén Santos wrote:
> 
> I'm using the vchkpw package and I want to know how can I create the file
> assign so
> real users can get their mails with pop too. (virtual users can but no real
> users because
> I don't have entries for them in the assign file) . How can I do that??
> 
> Ana Santos

vchkpw versions 3.4.4 or greater automatically authenticates and works
with /etc/passwd users. There is no need for users/assign entries for
/etc/password users. However, if you want to add pop only users in
addition to /etc/passwd users, use the vadduser command. Syntax:

vadduser username 

username must not match a current user in /etc/passwd

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: assign file?

2000-10-05 Thread Erwin Hoffmann

Hi,

At 16:43 4.10.2000 -0700, Eddie Greer wrote:
>Hello everyone,
>
>I using qmail 1.03 with vpopmail and sqlwebmail.
>
>Question 1 - When I add a new user via qmailadmin I see the user in
>/var/vpopmail/domain/nameofdomain/user.  but the /var/qmail/users/assign
>file only has one entry (the one it created when I added the domain.  Is the
>assign file supposed to be updated every time I add a new virtual user. I
>manually run qmail-newu, no luck.
>

make sure, hat the /var/qmail/users/assigns

has a dot "." on the last line.
Otherwise it wont compile !

cheers
eh.
>Question 2 - Every time I send a email to a virtual user it get stuck in the
>queue and the log file says "unable to change dir #4.2.1
>
>I'm running the pop3 daemon as vpopmail.
>
>
>Any help would be greatly appreciated
>
>
>TIA
>
>Eddie Greer
>
>
>
>
+---+
|  fffhh http://www.fehcom.deDr. Erwin Hoffmann |
| ff  hh|
| ffeee     ccc   ooomm mm  mm   Wiener Weg 8   |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm 50858 Koeln|
| ff  ee eee  hh  hh  cc   oo oo mm   mm  mm|
| ff  eee hh  hh   cc   oo   oo  mm   mm  mm Tel 0221 484 4923  |
| ff      hh  hhccc   ooomm   mm  mm Fax 0221 484 4924  |
+---+



assign file lost

2001-01-26 Thread maxen





I had my /var/qmail/users/assign file lost.
but i want to recover this file and the relatived cdb file by 
my-self
what can i do?
 


qmail assign file ...

2001-03-19 Thread Alex Kramarov

I am forwarding an e-mail from the RPMS list, discussing the qmail rpm by
Bruce Guenter. The point is, that running qmail-pw2u effectively destroys
the /users/assign file and all virtual domain info that is there. the
question is, how do we deal with that, and how should programs like vpopmail
deal with that (theoretically there is users/append, but it seems that
nobody is using it, it holds redundant data)? all documentation concerning
virtual domains is talking about users/assign, so it seems qmail is stepping
on it's own toes here.

>On Mon, Mar 19, 2001 at 07:45:06AM -0600, Jim Cook wrote:
>> At any rate, when I first got vpopmail implemented, I go and create a
>> virtual domain and a virtual user, and all is good. I can telnet into
>> port 110 authenticate myself and everything is working fine. Then within
>> 30 to 40 minutes of doing this, I try to authenticate myself and it says:
>>
>> vpopmail[1820]: vchkpw: No user found [EMAIL PROTECTED]:127.0.0.1

>What likely happens is that vpopmail plays with
>/var/qmail/control/users/*.  My qmail RPM includes an hourly cron job in
>/etc/cron.hourly that rebuilds those files from /etc/passwd.  What
>vpopmail needs to do is to put its bits into users/append instead of
>directly into users/assign so that when qmail-pw2u is run it won't wreck
>the changes.





users/assign file format

1999-04-15 Thread Jim Beam

Ok - I know this will probably sound silly, but can someone give me some
examples of the users/assign file format. I cannot for the life of me
figure out how the heck the format works.

Thanks in advance.

--
James Beam
Support

PDQ.net
ENTECH.com
http://www.pdq.nethttp://www.entech.com
--



Re: assign file lost

2001-01-26 Thread Mark Delany

On Sat, Jan 27, 2001 at 04:02:48AM +0800, maxen wrote:
> I had my /var/qmail/users/assign file lost.
> but i want to recover this file and the relatived cdb file by my-self
> what can i do?

Lost? You mean someone deleted them or the disk got trashed, right?

The usual thing is to get it off of your backup. Does this not work
for you?

If you're asking for a magic way to get a file back that has been
deleted/trashed and which you have no backup, then you're out of
luck. This is not a qmail problem though, this is a system management
problem.


Regards.



RE: assign file lost

2001-01-26 Thread maxen

THX, I do recover it.
I means that:

I build a server support abt 100 virtual domains, with vpopmail of course.
last morning, i add another two virtual domains, and somewhat is wrong,
unfortunately lost
that CDB file, but all users' DIR is there and virtual domain also stand
there.
rebuild the ASCII file $PATHqmail/users/assign
and run $qmailbin/qmail-newu
thx Live With qmail
thx Mark Delany  also



>Lost? You mean someone deleted them or the disk got trashed, right?


yes, i means that rebuild the CDB file

>The usual thing is to get it off of your backup. Does this not work
>for you?


net yet, but will be done from today's on


>If you're asking for a magic way to get a file back that has been
>deleted/trashed and which you have no backup, then you're out of
>luck. This is not a qmail problem though, this is a system management
>problem.

yep, i am that unfortunately guys

Best Regards Michael Moore




Re: qmail assign file ...

2001-03-19 Thread Peter van Dijk

On Mon, Mar 19, 2001 at 07:39:55PM +0200, Alex Kramarov wrote:
> I am forwarding an e-mail from the RPMS list, discussing the qmail rpm by
> Bruce Guenter. The point is, that running qmail-pw2u effectively destroys
> the /users/assign file and all virtual domain info that is there. the
> question is, how do we deal with that, and how should programs like vpopmail
> deal with that (theoretically there is users/append, but it seems that
> nobody is using it, it holds redundant data)? all documentation concerning
> virtual domains is talking about users/assign, so it seems qmail is stepping
> on it's own toes here.

No, that's the design.

The *rpm* breaks vpopmail with the cronjob. Disable the cronjob and
you're done.

Greetz, Peter.



Re: qmail assign file ...

2001-03-19 Thread Charles Cazabon

Alex Kramarov <[EMAIL PROTECTED]> wrote:
> I am forwarding an e-mail from the RPMS list, discussing the qmail rpm by
> Bruce Guenter. The point is, that running qmail-pw2u effectively destroys
> the /users/assign file and all virtual domain info that is there. the
> question is, how do we deal with that, and how should programs like vpopmail
> deal with that (theoretically there is users/append, but it seems that
> nobody is using it, it holds redundant data)? all documentation concerning
> virtual domains is talking about users/assign, so it seems qmail is stepping
> on it's own toes here.

assign is supposed to be the translated contents of the passwd file -- Bruce's
cron job regularly takes the passwd file and creates assign from it.  Anything
else which you want in the qmail-users mechanism is supposed to be placed
into append, so that updating assign (after changing passwd) won't erase it.

vpopmail is apparently not doing this.  Fix vpopmail.  Make it put the stuff
it wants in qmail-users into append instead of assign.  Then everything will
work the way djb designed it to.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



assign file being overwritten regularly

2001-05-08 Thread Carl J. Danowski




Does anyone know why the 'assign' file in 
/etc/qmail/users would continually be overwritten?
 
I edit it and run qmail-newu and everything works 
great...
 
then, at some point later, assign is re-written and 
the addresses don't work anymore.
 
for example, i've got:
 
=carl:carldan:600:100:/home/carldan:::
 
which later gets written to
 
=carldan:carldan:600:100:/home/carldan:::
 
hmm...
 
Thanks!
 
 


Re: users/assign file format

1999-04-15 Thread Chris Johnson

On Thu, Apr 15, 1999 at 09:57:50PM -0500, Jim Beam wrote:
> Ok - I know this will probably sound silly, but can someone give me some
> examples of the users/assign file format. I cannot for the life of me
> figure out how the heck the format works.

Have you looked at the qmail-users man page? It's pretty much all covered
there.

Chris



Re: users/assign file format

1999-04-15 Thread Peter Samuel

On Thu, 15 Apr 1999, Jim Beam wrote:

> Ok - I know this will probably sound silly, but can someone give me some
> examples of the users/assign file format. I cannot for the life of me
> figure out how the heck the format works.

=ftp:alias:29990:29998:/var/qmail/alias:-:ftp:
+ftp-:alias:29990:29998:/var/qmail/alias:-ftp-::
+ftp:peter:2052:100:/home/peter:-:ftp
.

Line 1: Mail addressed to ftp@domain will be handled by the alias user,
according to the instructions in ~alias/.qmail-ftp.

Line 2: Mail addressed to ftp-something@domain will be handled by the
alias user, according to the instructions in
~alias/.qmail-ftp-something.

Line 3: Mail addressed to ftpstuff@domain will be handed by peter,
according to the instructions in ~peter/.qmail-ftpstuff.

See man qmail-users and then experiment with a benign user - such as
ftp in my case.


Regards
Peter
--
Peter Samuel[EMAIL PROTECTED]
Technical Consultantor at present:
Uniq Professional Services, [EMAIL PROTECTED]
a division of X-Direct Pty Ltd
Phone: +61 2 9206 3410  Fax: +61 2 9281 1301

"If you kill all your unhappy customers, you'll only have happy ones left"



Re: users/assign file format

1999-04-15 Thread Peter Samuel

On Fri, 16 Apr 1999, Peter Samuel wrote:

Line 3 should have a trailing colon character

+ftp:peter:2052:100:/home/peter:-:ftp:

The assign file MUST not have NULL chars and it must end with a single
dot on a line by itself.

Don't forget to run /var/qmail/bin/qmail-newu after any change to the
assign file. 

> On Thu, 15 Apr 1999, Jim Beam wrote:
> 
> > Ok - I know this will probably sound silly, but can someone give me some
> > examples of the users/assign file format. I cannot for the life of me
> > figure out how the heck the format works.
> 
> =ftp:alias:29990:29998:/var/qmail/alias:-:ftp:
> +ftp-:alias:29990:29998:/var/qmail/alias:-ftp-::
> +ftp:peter:2052:100:/home/peter:-:ftp
> .
> 
> Line 1: Mail addressed to ftp@domain will be handled by the alias user,
>   according to the instructions in ~alias/.qmail-ftp.
> 
> Line 2: Mail addressed to ftp-something@domain will be handled by the
>   alias user, according to the instructions in
>   ~alias/.qmail-ftp-something.
> 
> Line 3: Mail addressed to ftpstuff@domain will be handed by peter,
>   according to the instructions in ~peter/.qmail-ftpstuff.
> 
> See man qmail-users and then experiment with a benign user - such as
> ftp in my case.

Regards
Peter
--
Peter Samuel[EMAIL PROTECTED]
Technical Consultantor at present:
Uniq Professional Services, [EMAIL PROTECTED]
a division of X-Direct Pty Ltd
Phone: +61 2 9206 3410  Fax: +61 2 9281 1301

"If you kill all your unhappy customers, you'll only have happy ones left"



another users/assign file question

2000-03-24 Thread Brad Kanipe

I'm using qmail / vpopmail both latest versions.

I've set up my users/assign file to look like this.

+bbb.com-:bbb.com:1007:7004:/export/home/vpopmail/domains/bbb.com:-::
+aaa.com-:aaa.com:1007:7004:/export/home/vpopmail/domains/bbb.com:-::
.

Basically I want all mail coming in addressed to aaa.com to go to the
bbb.com domain
 aaa.com has an MX record pointing to bbb.com

The way I read the man page relating to the assign file was anything
coming in to aaa.com will be delivered to wherever I tell it the mailbox
is in the assign file.

when I send to [EMAIL PROTECTED]  it should go to
/export/home/vpopmail/domains/bbb.com where brad's home mail directory
exists, but the error message is error:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

and yes I did run qmail-newu after editing the assign file.

Any thoughts?




another users/assign file question

2000-03-27 Thread Brad Kanipe

> I'm using qmail / vpopmail both latest versions.
>
> I've set up my users/assign file to look like this.
>
> +bbb.com-:bbb.com:1007:7004:/export/home/vpopmail/domains/bbb.com:-::
> +aaa.com-:aaa.com:1007:7004:/export/home/vpopmail/domains/bbb.com:-::
> .
>
> Basically I want all mail coming in addressed to aaa.com to go to the
> bbb.com domain
>  aaa.com has an MX record pointing to bbb.com
>
> The way I read the man page relating to the assign file was anything
> coming in to aaa.com will be delivered to wherever I tell it the mailbox
> is in the assign file.
>
> when I send to [EMAIL PROTECTED]  it should go to
> /export/home/vpopmail/domains/bbb.com where brad's home mail directory
> exists, but the error message is error:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>
> and yes I did run qmail-newu after editing the assign file.
>
> Any thoughts?




assign file automatically replaced... Why??

2000-11-03 Thread David

Hi there,

I've just installed qmail, spent some time to configure it and finally
tested it. It worked fine until I noticed
something that's driving me crazy:
I've built a /etc/qmail/users/assign file where I put all the popusers
of the system, executed qmail-newu and restarted qmail.
It worked. After some time, I went back to that file and noticed that it

had been replaced by another one that seems to have been built using the

/etc/passwd file.
Could someone tell me why?  That happened automatically and every time I

modify the assign file, it's replaced by another one after some time.
Any help is welcome

Thanks

David




Re: assign file being overwritten regularly

2001-05-08 Thread Peter van Dijk

On Tue, May 08, 2001 at 06:42:20PM -0400, Carl J. Danowski wrote:
> Does anyone know why the 'assign' file in /etc/qmail/users would continually be 
>overwritten?
[snip]

I heard something about bruceg's RPM rewriting that file from cron.
It's somewhere in the archives, I think.

Greetz, Peter.



Re: assign file being overwritten regularly

2001-05-08 Thread Carl J. Danowski




i think i just figured it out. 
 
look what was in cron.hourly:
 
#!/bin/sh
set -e
cd /var/qmail/users
test -s assign -a -s cdb && \ 
qmail-pw2u assign && \
qmail-newu
 
Hmm i guess it puts this in by default (or something did)...
 
well, that's gone.  i guess that would be a handy file to have in 
cron.hourly because if you didn't know any better, it'd create users for you 
automatically.
 
Carl
 


Re: assign file being overwritten regularly

2001-05-08 Thread Andy Bradford

On Tue, 08 May 2001 18:42:20 EDT, "Carl J. Danowski" wrote:

> Does anyone know why the 'assign' file in /etc/qmail/users would continually be 
>overwritten?
> 

Hmm, who else has ``root'' access to your box?  If none, which cronjob 
did you write that overwrites it?  If none, which web utility did you 
write/install which overwrites it?  Basically, there is no qmail 
process that will do this---you or someone must be doing it.

Andy




Re: assign file being overwritten regularly

2001-05-08 Thread Greg White

On Tue, May 08, 2001 at 06:42:20PM -0400, Carl J. Danowski wrote:
> Does anyone know why the 'assign' file in /etc/qmail/users would continually be 
>overwritten?
> 
> I edit it and run qmail-newu and everything works great...
> 
> then, at some point later, assign is re-written and the addresses don't work anymore.

qmail+patches RPM?

Search the following page for 'cron':

http://untroubled.org/qmail+patches/

That ought to get you startedIf you didn't install from the above
RPM, let me know 

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



Using /users assign file with mailing list

2001-05-02 Thread David Coley

I have a small problem with one of our accounts.  We have a user account set
up for one of our mailing lists (/home/vcpphelp).  We are using the User
Table method for assigning where qmail delivers e-mail to.  The problem is
that for all of our other accounts we use /Maildir, except for this mailing
list account... we want it to use the standard ezmlm .qmail file instead.
However when I add:

=vcpphelp:vcpphelp:501:501:/home/vcpphelp:-::
+vcpphelp-:vcpphelp:501:501:/home/vcpphelp:-::

to /var/qmail/users/assign qmail reports in the error logs:

May  3 01:06:56 dev qmail: 988866416.131424 starting delivery 2: msg 391366
to local [EMAIL PROTECTED]
May  3 01:06:56 dev qmail: 988866416.131598 status: local 1/120 remote 0/50
May  3 01:06:56 dev qmail: 988866416.140934 delivery 2: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
May  3 01:06:56 dev qmail: 988866416.141080 status: local 0/120 remote 0/50

So as you can see it's loking for a Maildir instead.

What can I do to get around this problem... thanks

David Coley



RE: Using /users assign file with mailing list

2001-05-02 Thread David Coley

Sorry people,

I just realized what I did wrong.  I'm so use to setting up e-mail lists as
sub-users on domains that I miswrote the .qmail file name in the ezmlm-make
command.  changing all the .qmail files from .qmail-vcpphelp-* to .qmail-*
fixed the problems... sorry.

David Coley

-Original Message-
From: David Coley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 1:41 AM
To: [EMAIL PROTECTED]
Subject: Using /users assign file with mailing list


I have a small problem with one of our accounts.  We have a user account set
up for one of our mailing lists (/home/vcpphelp).  We are using the User
Table method for assigning where qmail delivers e-mail to.  The problem is
that for all of our other accounts we use /Maildir, except for this mailing
list account... we want it to use the standard ezmlm .qmail file instead.
However when I add:

=vcpphelp:vcpphelp:501:501:/home/vcpphelp:-::
+vcpphelp-:vcpphelp:501:501:/home/vcpphelp:-::

to /var/qmail/users/assign qmail reports in the error logs:

May  3 01:06:56 dev qmail: 988866416.131424 starting delivery 2: msg 391366
to local [EMAIL PROTECTED]
May  3 01:06:56 dev qmail: 988866416.131598 status: local 1/120 remote 0/50
May  3 01:06:56 dev qmail: 988866416.140934 delivery 2: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
May  3 01:06:56 dev qmail: 988866416.141080 status: local 0/120 remote 0/50

So as you can see it's loking for a Maildir instead.

What can I do to get around this problem... thanks

David Coley




Default forward address for entire domain with non sytems account assign file

2001-05-13 Thread Peter Janett

I apologize if this is a dumb question, but I can't seem to figure out how
to set up a default forwarding address for virtual domains.  In other words,
if an email is sent to [EMAIL PROTECTED], it will be forwarded to a
preset address.

Maybe it has something to do with the setup I'm using, which is Paul Gregg's
non system account setup, http://www.pgregg.com/projects/.

I had the impression that I should setup something using + in the assign
file, but I'm just not figuring it out.

Any help appreciated,

Peter Janett

New Media One Web Services

WEB HOSTING FOR WEB DEVELOPERS

Sun, IRIX, Windows 2000, Linux;
PHP, MySQL, Perl, Cold Fusion,
MS SQL, ASP, SSI, SSL
http://www.newmediaone.net
[EMAIL PROTECTED]
(303)828-9882