
kengheng at mysql
Feb 23, 2009, 1:07 AM
Post #3 of 3
(1328 views)
Permalink
|
Byung-Hee HWANG wrote: > kengheng wrote: >> Hi All, I just implemented domainkey into qmail-scanner-queue.pl >> >> sub qmail_requeue { >> my($sender,$env_recips,$msg)=@_; >> my ($temp,$findate); >> >> # check rcpthosts file for relaying domains >> open(RCPTHOSTS, "</var/qmail/control/rcpthosts"); >> while (<RCPTHOSTS>) { >> chomp; >> if (/^$domain_returnpath$/i || $domain_returnpath =~ /$_$/i) { >> # match found >> # set DKSIGN variable to private key to sign with >> # set DKQUEUE to original qmail-queue to spawn >> $ENV{'DKSIGN'}='/etc/domainkeys/%/default'; >> $ENV{'DKQUEUE'}=$qmailqueue; >> >> # set $qmailqueue to qmail-dk so qmail-scanner calls it to sign >> keys >> $qmailqueue = '/var/qmail/bin/qmail-dk'; >> &minidebug("Signing message from $returnpath with a DomainKey"); >> } >> } >> close(RCPTHOSTS); >> >> &debug("q_r: fork off child into $qmailqueue..."); >> ... >> ... >> ... >> ... >> >> However, i got the error msg sometimes at qmail-queue.log : >> Mon, 23 Feb 2009 11:38:50 MYT:1549: error_condition: >> X-QMAIL-SQLTECHNOLOGY-SCANNER-2.05st: Unable to close pipe to >> /var/qmail/bin/qmail-dk [81] (#4.3.0) - Illegal seek >> >> Any ideas ? Thanks >> > Well, this is somewhat off-topic. DomainKeys(RFC4870) was obsoleted by > DKIM(RFC4871). So its solving will be a hollow victory. > > byunghee > > Yape, the DomainKeys is obsoleted, but they are still somebody using it together with DKIM -- Best regards, KengHeng. Chan Mobile : +6-016-717-0273 SQL Technology Sdn Bhd http://www.mysql.cc ckh [at] mysql
|