Andre John Cruz wrote:

> Brian Baquiran said:
> > As you know, the QMAILQUEUE="something" in the tcp.smtp file just tells
> > qmail-smtpd to use a different program instead of qmail-queue. If you
> > want this to happen for all users, you could try a couple of things:
> > 1. define and export the QMAILQUEUE variable before running tcpserver
> > 2. have /var/qmail/bin/qmail-queue just be a symbolic link to the
> > program you want to run
> > 3. simply hack vpopmail to append that line to tcp.smtp (look for the
> > open_smtp_relay function in opensmtp.c, and edit the line(s) that
> > modifies tcp.smtp)
> 
> so i guess only #3 is a viable solution, since the purpose of the
> QMAILQUEUE is to dynamically choose which program to deliver mail to. if
> mail has already been scanned (with QMAILQUEUE set to the qmail-scanner
> program) then for actual delivery it doesn't have to be sent to the qmail-
> scanner program again but instead to the real qmail-queue

Maybe this is not necessary. Actual delivery to a remote site is 
made by qmail-remote via any of the above-1023 port, not by
qmail-smtpd via port 25. So the mail doesn't get scanned again.

Benj

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to