JT Moree wrote:
What is the generally accepted method to have spamassassin NOT scan a
message?  i.e. return DECLINED

For example we have two servers on campus as we are merging two
companies together.  The two companies obviously have different domains
and users.  We need to communicate with each other.  spamassassin is
rejecting mail.

This probably isn't what you want to see/hear, but modify the spamassassin plugin to check for whitelisted (sender)? Unfortunately, that's what I've had to do with a number of plugins to have them return declined on whitelisted transactions and relaying clients.

Something like:

Index: plugins/spamassassin
===================================================================
--- spamassassin        (revision 809)
+++ spamassassin        (working copy)
@@ -98,6 +98,8 @@
   $self->log(LOGDEBUG, "check_spam");
   return (DECLINED) if $transaction->data_size > 500_000;

+  return (DECLINED) if $transaction->notes('whitelisted');
+
   my $remote  = 'localhost';
   my $port    = 783;
   if (defined $self->{_args}->{spamd_socket}

Reply via email to