Hi,

I have qmail running along with Spam Assassin, but I am having a peculiar
problem.
Mail that is sent locally to any source local or remote is picked up and
analyzed by SA,
but, SA does NOT process any mail sent from a remote host to a local address;
it goes through normally, as if SA was not there.  This is the second server
that I put this combination on and the first works correctly.

I have searched through both qmail's and SA's list archives,
but have seen nothing that has helped.

I am hoping that someone can help or at least point me in
the right direction for figure this out.

Thanks,
Thomas Whitney


Following are the details of the installation:

OS: Debian Linux,
Qmail: Installed and running under daemontools.
qmail-queue patch has been applied.
- In /etc/profile is:
        export QMAILQUEUE='/usr/bin/qmail-spamc'
- In /usr/bin/ is:
        lrwxrwxrwx    1 root   root      26 Nov 26 15:30 /usr/bin/qmail-queue ->
/var/qmail/bin/qmail-queue
        lrwxrwxrwx    1 root   root      26 Nov 26 11:12 /usr/bin/qmail-spamc ->
/var/qmail/bin/qmail-spamc
- In /var/qmail/bin is:
        -rws--x--x    1 qmailq qmail  12924 Nov 26 14:39 qmail-queue
        -rwxr-xr-x    1 root   qmail   5711 Nov 26 15:29 qmail-spamc
- env directory in /var/qmail/supervise/qmail-smtpd looks like this:
        drwxr-xr-x    2 root   root    4096 Nov 26 14:54 env
- In env is:
        -rw-r--r--    1 root   root      21 Nov 26 14:54 QMAILQUEUE
- %> less QMAILQUEUE (yields)
        /usr/bin/qmail-spamc
- In /service is:
        lrwxrwxrwx    1 root   root      32 Aug 15 00:00 qmail-pop3d ->
/var/qmail/supervise/qmail-pop3d
        lrwxrwxrwx    1 root   root      31 Nov 25 07:24 qmail-send ->
/var/qmail/supervise/qmail-send
        lrwxrwxrwx    1 root   root      32 Aug 15 00:00 qmail-smtpd ->
/var/qmail/supervise/qmail-smtpd
- tcp-smtp looks like this:
        127.:allow,RELAYCLIENT=""
        10.0.0.:allow,RELAYCLIENT=""
        :allow
- run in /var/qmail/supervise/qmail-smtpd
        #!/bin/sh
        QMAILDUID=`id -u qmaild`
        NOFILESGID=`id -g qmaild`
        exec \
        envdir /var/qmail/relay-ctrl \
        relay-ctrl-chdir \
        /usr/local/bin/softlimit -m 3000000 \
        /usr/local/bin/tcpserver -H -R -v -p \
        -x /var/qmail/rules/tcp.smtp.cdb \
        -u $QMAILDUID -g $NOFILESGID 0 smtp \
        relay-ctrl-check \
        /var/qmail/bin/qmail-smtpd 2>&1

Reply via email to