rebuild qmail queue on gamera

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
dave22
New Forum User
New Forum User
Posts: 2
Joined: Fri Feb 09, 2007 2:24 pm

rebuild qmail queue on gamera

Unread post by dave22 »

First, thanks for the great tool.

Unfortunately, I've run into some trouble. I had a misconfigured qmHandle running to clear double bounces and it corrupted the queue since it didn't stop qmail first. So I've tried to repair it with queue_repair.py and qmqtool, but couldn't get anywhere. After each tool made it's fixes, there were still errors...so...

I thought I would have to rebuild the queue from scratch.

I stopped qmail..

Code: Select all

svc-stop qmail 
(which for some reason only works half the time)

I've deleted the entire queue directory..

Code: Select all

rm -rf /var/qmail/queue
and tried rebuilding it with

Code: Select all

/usr/local/lib/queue-repair/queue_repair.py --split 23 --create --no-bigtodo
without starting qmail again, after a few seconds both qmqtool and queue_repair.py show errors again. Doing ps -ef I don't see any qmail-send processes running.

So I have a few questions...
Is the gamera project including qmail compiled with big-todo or without? I was guessing without, but can't find any documentation.

Is the source of qmail saved on the server anywhere when doing a yum install qmail? How can I run a make setup check to rebuild the queue? ..or can I rebuild it a different way?

Am I even on the right track? I've been able to stumble through setting up gamera and spamassassin and everything and have learned a lot, but corrupt qmail queue's seem really confusing. Is there anything else I can post to give more info?

Thanks in advance for any help.

david
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Yeah I build it with big-todo, the source isnt on the system, but you can grab the srpm here: http://3es.atomicrocketturtle.com

You can also try reinstalling the qmail rpm with --force, that should fix your queue permissions at the least.
dave22
New Forum User
New Forum User
Posts: 2
Joined: Fri Feb 09, 2007 2:24 pm

thanks

Unread post by dave22 »

Tried the --force rpm install and it still wasnt' delivering for some reason.

Ended up just removing project gamera (including qmail and qmail-scanner) and re-installing via yum and working like a charm again!
Post Reply