* Jesús Arnáiz <[EMAIL PROTECTED]> [2004-04-07 13:50]:

> >Don't do this, as you lose the benefits. Instead open vpopmail.c in your
> >editor and add QMAILQUEUE=/path/to/qmail-scanner.pl to the line that
> >writes the open-smtp file (Hint: search for RELAYCLIENT). Recompile.

> >Doing this, roaming users get QMAILQUEUE set correctly.

> But, I understand that the benefit of using tcp.smtp is that you can 
> specify different QMAILQUEUE to different IPs. If you put QMAILQUE var 
> on the "C" code you lose this feautre (at least, every roamming user 
> will have the same QMAILQUEUE).

Adding QMAILQUEUE to vpopmail.c sets this variable for every roaming
user (and only those). This is in addition to what you say in tcp.smtp.

When you set QMAILQUEUE in your smtp startup file, you set the variable
globally. So you lose the ability to specify diffent QMAILQUEUE values
for different IPs. Do you really want to scan for localhost?

> On the other hand, I prefer to edit a shell script like "run" of qmail 
> than a C code and recompile on a running system. Even more if I have 
> problems (like I have had) and I have the changes to go back.

Well, the hack is not very complicated. You can check
~vpopmail/etc/open-smtp after the change and will see if it works.

If you understand how tcp.smtp works you will immediately see if
everything works like it should. And, you still can test this on a dev
machine. I mean the same dev machine you are testing new versions of
vpopmail and qmail-scanner.

Alex

-- 
Alex Pleiner
zeitform Internet Dienste         Fraunhoferstrasse 5
                                  64283 Darmstadt, Germany
http://www.zeitform.de            Tel.: +49 (0)6151 155-635
mailto:[EMAIL PROTECTED]        Fax:  +49 (0)6151 155-634
GnuPG/PGP Key-ID: 0x613C21EA


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to