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



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 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 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.



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!