[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: qmail-queue not processing outgoing or incoming mail
Rick Phillips <rickp@xxxxxxxxxxxxxxxxx> wrote:
> I did a stupid thing and deleted the following /var/qmail/queue folders
> while trying to remove a mountain of undeliverable messages. One of my
> users gave a bogus address to a porn site and is now getting tons of
> emails. Unfortunately, he used his correct URL but a bogus recipient.
"domain", not URL.
> /info
> /local
> /mess
> /remote
Yes, that's bad.
> I have tried to reconstruct them by recreating the 0-22 folders within
> each of these sub folders with the user:group from the parent folder and
> the permissions rwx------ in each case. This seems to be consistent
> with the permissions/ownership from an old backup I have.
If it was correct, it would work.
> Am I faced with totally reinstalling qmail
No. Stop qmail-send. Then prevent new mail from being queued while you
repair it:
chmod 0 /var/qmail/bin/qmail-queue
Then move your old queue out of the way:
mv /var/qmail/queue /var/qmail/queue.broken
Then, from the qmail source directory, have it re-create the queue:
make setup check
You should be able to restart qmail after that. If you want to save any
messages from the old queue, you'll have to do that by hand.
Charles
--
--------------------------------------------------------------------------
Charles Cazabon <qmail@xxxxxxxxxxxxxxxxxxxx>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting. See http://pyropus.ca/ for details.
--------------------------------------------------------------------------