I've followed the instructions in the how-to for installing dkfilter (including putting part 4 in the master.cf and not main.cf). Should there be anything in postfix' main.cf? 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.
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 Code: ps aux ?
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/dkfilter.in --hostname=burgers.bubbanfriends.org 127.0.0.1:10027 127.0.0.1:10028 3472 pts/5 S 0:00 /usr/bin/perl -I/usr/local/dkfilter/lib /usr/local/dkfilter/bin/dkfilter.in --hostname=burgers.bubbanfriends.org 127.0.0.1:10027 127.0.0.1:10028 3473 pts/5 S 0:00 /usr/bin/perl -I/usr/local/dkfilter/lib /usr/local/dkfilter/bin/dkfilter.in --hostname=burgers.bubbanfriends.org 127.0.0.1:10027 127.0.0.1:10028 3474 pts/5 S 0:00 /usr/bin/perl -I/usr/local/dkfilter/lib /usr/local/dkfilter/bin/dkfilter.in --hostname=burgers.bubbanfriends.org 127.0.0.1:10027 127.0.0.1:10028 3475 pts/5 S 0:00 /usr/bin/perl -I/usr/local/dkfilter/lib /usr/local/dkfilter/bin/dkfilter.in --hostname=burgers.bubbanfriends.org 127.0.0.1:10027 127.0.0.1:10028 3476 pts/5 S 0:00 /usr/bin/perl -I/usr/local/dkfilter/lib /usr/local/dkfilter/bin/dkfilter.in --hostname=burgers.bubbanfriends.org 127.0.0.1:10027 127.0.0.1:10028 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_IN_ARGS="--hostname=$HOSTNAME 127.0.0.1:10027 127.0.0.1:10028" DKFILTER_OUT_ARGS="--keyfile=$DKFILTERDIR/private.key --selector=postfix --domain=$DOMAIN --method=nofws --headers 127.0.0.1:10029 127.0.0.1:10030"
Well, the good news is that, now, I am seeing dkfilter.in 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.