store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Sat May 18, 2013 10:56 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 2 posts ] 
Author Message
 Post subject: qmail-*.MOVED
Unread postPosted: Sun Jul 22, 2012 2:23 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1843
Hi guys,

Can someone who understands qmail a bit more than I do assist me to understand what is happening here please?

From http://kb.parallels.com/1161 which is related to applying your own patches to qmail, the KB tells you to do the following once you have compiled your own qmail-queue etc:

Quote:
For Plesk 8.3 and above: copy compiled qmail-queue, qmail-remote, qmail-local into Qmail bin/ directory with .moved suffix (do NOT replace current files!), f.e.:


The implication here is that if the file has a .moved suffix then it somehow overrides the suffixless one.

I note that on installing qmail-scanner you end up with a .moved suffix for qmail-queue. I thought that was the OLD version, which qmail-scanner replaced with qmail-queue. But the KB implies the reverse and that qmail-queue.moved will in fact take precedence over qmail-queue.

Have I misread or misunderstood this?

Thanks,

Faris.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject: Re: qmail-*.MOVED
Unread postPosted: Sun Jul 22, 2012 7:35 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7418
Location: earth
qmail-scanner is definitely not using .moved, I dont know what is doing that (drweb?). If you can find out if indeed that really is the case that would be awesome. In all cases Ive used either .orig, or .backup when manipulating files.

What q-s needs is its own qmail-queue that is a wrapper for qmail-scanner-queue, so it does this

1) mv qmail-queue to qmail-queue.orig
2) installs qmail-scanner-queue to /var/qmail/bin
3) installs /usr/share/qmail-scanner/contrib/qmail-queue to /var/qmail/bin

Step 3 is only necessary to cause qmail to invoke qmail-scanner-queue. If something else can do this now, it would let us drop steps 1 and 3 and make this package a hell of a lot more bullet proof.

Again the only thing that wrapper does is tell qmail to invoke qmail-scanner-queue. The perl script in turn will call the original qmail-queue.orig binary to finish delivering mail.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 2 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group