On Mon, Mar 22, 2004 at 06:03:12PM -0600, Roger wrote:
> I recently installed qpsmtpd and sorta got it to run.  The problem is 
> qpsmtpd would not recognise my smtproutes setup - which forwards all 

Qpsmtpd doesn't use smtproutes, as someone else said.  It purely
replaces qmail-smtpd; you still need the rest of your /var/qmail_in
programs (qmail-queue, qmail-send, qmail-remote, etc).

You can tell qpsmtpd to forward directly via SMTP to your scanner instead
of calling qmail-queue, by putting 'queue/smtp-forward 127.0.0.1 10024'
in config/plugins instead of the call to queue/qmail-queue, but you
then lose the buffering of the input qmail's queue which helps smooth
out peaks in incoming mail.

> I changed my run file to reflect this..
> 
> #!/bin/sh
> QMAILDUID=`id -u smtpd`
> NOFILESGID=`id -g smtpd`
> QMAIL=/var/qmail_in

You need "export QMAIL" here.  By default it won't be exported to programs
the script calls, so qpsmtpd will still be looking in /var/qmail.

> Suggestions?

Look at the logs ?  Qpsmtpd has voluminous logs, if you edit the trace
level in the source (I think you can also set it via config in 0.28).
Bit hard to diagnose it from this distance without the log information.

> Also has anyone gotten this to work w/ smtp-auth and vpopmail???

Not I, sorry ...

Nick

Reply via email to