dkfilter - Missing parts

Discussion in 'HOWTO-Related Questions' started by freakdog, Dec 10, 2006.

  1. freakdog

    freakdog New Member

    I've followed the instructions in the how-to for installing dkfilter (including putting part 4 in the and not

    Should there be anything in postfix'

    Additionally, the startup script seems to hang after starting up the inbound filter, before starting up the outbound filter.

    Also, how do I know if it's even working? I don't seem to note any indications, and I don't see any place where we'd be logging.
  2. falko

    falko Super Moderator ISPConfig Developer

    I haven't tested the tutorial, but I don't think so.

    Are there any errors in your logs?

    Do you see it in the output of
    ps aux
  3. freakdog

    freakdog New Member

    I'm not aware of any logs...nothing appears in /var/log/messages or /var/log/maillog.

    I see the following processes:

    3459 pts/5 S 0:00 /bin/sh /sbin/service dkfilter start
    3468 pts/5 S 0:00 /bin/sh /etc/init.d/dkfilter start
    3471 pts/5 S 0:00 /usr/bin/perl -I/usr/local/dkfilter/lib /usr/local/dkfilter/bin/
    3472 pts/5 S 0:00 /usr/bin/perl -I/usr/local/dkfilter/lib /usr/local/dkfilter/bin/
    3473 pts/5 S 0:00 /usr/bin/perl -I/usr/local/dkfilter/lib /usr/local/dkfilter/bin/
    3474 pts/5 S 0:00 /usr/bin/perl -I/usr/local/dkfilter/lib /usr/local/dkfilter/bin/
    3475 pts/5 S 0:00 /usr/bin/perl -I/usr/local/dkfilter/lib /usr/local/dkfilter/bin/
    3476 pts/5 S 0:00 /usr/bin/perl -I/usr/local/dkfilter/lib /usr/local/dkfilter/bin/

    As you'll see, the startup script is still running, and only the inbound filter is listed.

    Since I'm running amavisd on port 10025 (with Postfix accepting mail from amavisd on 10026), I changed the ports for dkfilter use to 10027/10028 for inbound, and 10029/10030 for outbound, as you'll see from this part of the startup script:

    DKFILTER_OUT_ARGS="--keyfile=$DKFILTERDIR/private.key --selector=postfix --domain=$DOMAIN --method=nofws --headers"
  4. freakdog

    freakdog New Member

    Well, the good news is that, now, I am seeing messages in my maillog, but am still not seeing anything, relating to dkfilter.out...and there are no errors in the log, either.

    Further, the startup still appears to be running.

    I don't have anything running on the ports I've specified for my outbound dkfilter, and there's no error, of any sort, pertaining to the outbound processes (or lack thereof) at all.

Share This Page