On Sun, Jan 28, 2001 at 10:50:15AM +0100, Tomas TPS Ulej wrote:
> root@[moj /root] # echo "`uname` `uname -r`"
> FreeBSD 4.2-RELEASE

> I'm running all qmail services via daemontools. In startup sequence:
> 
> root@[moj /etc/namedb] # cat /etc/rc.local
> PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin csh -cf 'svscan /service &'
> /var/qmail/rc
>
remove the last line, daemontools will run /var/qmail/rc .
 
> root@[SCREEN0.moj /var/qmail] # more rc
> #!/bin/sh
> 
> # Using splogger to send the log through syslog.
> # Using dot-forward to support sendmail-style ~/.forward files.
> # Using qmail-local to deliver messages to ~/Mailbox by default.
> 
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start '|dot-forward .forward
> ./Maildir' splogger qmail&
>
remove the last character, rc must run foreground to be supervised.

> I don't see qmail-send in processes...
> 
>      |-qmail-send-+-qmail-clean
>      |            |-qmail-lspawn
>      |            |-qmail-rspawn
>      |            `-splogger
>      |-10*[qmail-start]
ups.

> root@[moj /root] # t 0 110
> Trying 0.0.0.0...
> Connected to 0.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user root
> +OK 
> pass x
> +OK 
> stat
> +OK 0 0
qmail never delivers to root.
You need to have ~alias/.qmail-root or root in /etc/aliases if fastforward
is run in ~alias/.qmail-default .

> Hmm, where was that message delivered? :)
>
See the logs. Probably in alias' Maildir.

Gerrit.

-- 
[EMAIL PROTECTED]
                                                        innominate AG
                                                 the linux architects
tel: +49.30.308806-0  fax: -77              http://www.innominate.com

Reply via email to