Thanks! I had to use

   return DECLINED if ($self->qp->connection->notes('whitelisthost'));



Johan Almqvist skrev:
Hans Sandsdalen wrote:
Hi

I have a trusted server (citadel), that only authenticated users can connect to. Outgoing mail are routed throug qpsmtpd on another server, and it happens that they are blocked with spamassassin.

How can I prevent spamassassin from blocking these mails? I use the whitelist_soft plugin, but I don't think the spamassassin plugin checks if a host is whitelisted or not.

Just add a line to do so to the spamassasin plugin. Find the
    sub hook_data_post
declaration and add the following line
just after the
    my ($self, $transaction) = @_;
line:

    return DECLINED if ($self->qp->connection->notes('whitelis
tclient'));

-Johan

--

/---------
/ mvh Hans

Reply via email to