Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: amavis-new not adding X-Spam-Status header

From: Marc Schiffbauer <marc(at)schiffbauer.net>
Date: Mon Aug 06 2007 - 15:02:40 EDT

  • Henrique de Moraes Holschuh schrieb am 06.08.07 um 18:05 Uhr:
    > On Mon, 06 Aug 2007, Gregor Hermens wrote:
    > > Am Montag, 6. August 2007 14:31 schrieb Ross, Chris:
    > > > The end of last week, I upgraded out mail gateway from Serge to Etch.
    > > > Most of the config appears to be working correctly now with one
    > > > exception. We are not getting X-Spam-Status header. The following
    > > > config line does not seam to be getting honored.
    > > >
    > > > 20-debian_defaults
    > > > $sa_tag_level_deflt = -999.0;
    > > >
    > > > Any help / rtfm pointer would be greatly appreciated.
    > >
    > > you should put your individual settings in 50-user. All other files
    > > in /etc/amavis/conf.d are likely to be overwritten on the next update.
    >
    > They are *not* overwritten. dpkg will pester you about a changed conffile,
    > and you will have to deal with it. But that's all.
    >
    > That said, make sure any email you want amavisd-new to change IS being sent
    > to a recipient in one of the configured local domains. Otherwise, it may
    > refuse to change it adding headers, etc.

ack.

I have this in my amavisd config so amavisd-new will use my exim local domains:

in /etc/amavis/conf.d/05-domain_id:



@local_domains_acl = ();
open(DOMAINS_FH, '< /etc/exim4/local_domains'); while (defined(my $line = <DOMAINS_FH>) ) {   chomp $line;
  my @fields = split(/\s+/, $line);
  push(@local_domains_acl, "." . $fields[1]); }
close(DOMAINS_FH);

I guess this could be done much smarter in perl, but it works. Maybe this helps someone.

-Marc

-- 
+------------------------------------------------------------------+
|              --> 
http://www.links2linux.de <--                   |
|                                                                  |
+---Registered-Linux-User-#136487------------
http://counter.li.org +


-- 
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Mon Aug 6 15:03:17 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 18:01:49 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library