Hi Brett,

What you are telling, is completely right..
But, I also written that I tried to change the ownershop of the files with
chown...

So, I truncated the file to 0 bytes.. Then I did chown owner.group of the
file..
This didn't do the job.. I understand that the root user did the chown bit,
but how can
Qmail know that this was done..?

About, the log, you are right about this, but what is the best way to clear
the log file?

Basically a log data is appended on the end of the file, so I wouldn't think
that you can't do such great problems by sending an empty string to you log
files.. Thought wrong I guess, but how is this normally done?

Well, thanks for the help Brett,

Guest I learn something again.. :-)

Luckily Linux can handle these stupid things or else I wouldn't have gotten
the following.. :-)

 11:10am  up 138 days, 16:05,  5 users,  load average: 0.16, 0.03, 0.01

Bye bye
David


> > With the Mailbox files if I try to fetch my mail I get an error
> > telling me that the password is incorrect.. After deleting the
> > Mailbox file (chown owner.groep doesn't help) and letting qmail
> > recreate it, it works like it should..
>
> The computer talks does it? "Sorry dude that password's wrong, nick
> off."  I don't think so somehow. Now, if you were to telnet to port
> 110 and manually login, what would the error say? Authorisation
> failed. This is the generic error meaning "I CAN'T HANDLE THE STRESS!"
> cos something has exploded.
>
> So, when you echo "" > Mailbox, you are missing one crucial
> step. Change the ownerships BACK to the owner. ie the user that will
> be logging in to retrieve that mail. I'm not even going to explain
> why or how. Search the archives.
>
> Basically, what you are doing is silly. Modifying a file which could
> be in use by some other process (especially log files) is likely to
> cause you hell. BTW What do you mean the maildir log file? If you mean
> your mail log, just restart your logger (splogger, multilog, whatever)
> via killall -HUP logapp .
>
> B
> --
> C:\DOS C:\DOS\RUN RUN\DOS\RUN
> C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL
>

Reply via email to