LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   qmail qmailqueue patch (https://www.linuxquestions.org/questions/linux-software-2/qmail-qmailqueue-patch-454286/)

teoz 06-13-2006 05:19 AM

qmail qmailqueue patch
 
Hi, here I'am again with my friend's VPS.

He's got some problem with his mail server, Qmail. He want to add an antivirus and an anti-spam. The choices are clam-av e spamassassin.

To make them work with qmail they need qmail-scanner to let them actually scan incoming emails and cooperate with qmail.
But when trying to compile it i found that the qmailqueue patch is not installed.

The system is up and running.

How can I apply the patch to it without loosing all qmail settings and queue?
Is there any way to do it? At least if I need to stop qmail apply the patch to the source and reinstall it, how can I keep the mail queue and all the settings?

Thanx in advance!

Teoz

jtshaw 06-13-2006 06:22 AM

What I would do is build the source with the patch, wait for a relatively low volume time of day, and quickly shut down qmail, install the new binaries, and bring it back up again. It shouldn't take more then a couple minutes to do the critical parts and the other mail servers should happily try again if they attempted to deliver mail to you while the server was down.

teoz 06-13-2006 09:00 AM

Thanks for the answer.
What I'm worrying about is whether or not doing what you suggest, will loose qmail settings, config files or whatever a new install may overwrite.

Quote:

Originally Posted by jtshaw
What I would do is build the source with the patch, wait for a relatively low volume time of day, and quickly shut down qmail, install the new binaries, and bring it back up again. It shouldn't take more then a couple minutes to do the critical parts and the other mail servers should happily try again if they attempted to deliver mail to you while the server was down.


jtshaw 06-13-2006 09:07 AM

A good first step is to make a quick backup of your /var/qmail directory (or where ever you installed it).

The make install *shouldn't* touch the configuration files but I understand your concern.


All times are GMT -5. The time now is 03:25 AM.