Re: assign file being overwritten regularly
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
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 /etc/passwd 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
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
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
Re: assign file lost
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
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: assign file?
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 | +---+
Re: assign file
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
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
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 optional-password username must not match a current user in /etc/passwd -- Ken Jones mailto:[EMAIL PROTECTED] http://www.inter7.com/qmailadmin/ - web based qmail adminstration