Help!

amavis-new not adding X-Spam-Status header

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> ISP RSS
Next:  Changing of upload priority of genext2fs  
Author Message
Ross, Chris
External


Since: Aug 06, 2007
Posts: 1



PostPosted: Mon Aug 06, 2007 2:40 pm    Post subject: amavis-new not adding X-Spam-Status header
Archived from groups: linux>debian>isp (more info?)

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.


Chris
Back to top
Gregor Hermens
External


Since: Jul 06, 2006
Posts: 6



PostPosted: Mon Aug 06, 2007 3:00 pm    Post subject: Re: amavis-new not adding X-Spam-Status header [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Chris,

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.

Greeetings,
Gregor
--
@mazing fon +49 8142 6528665
Gregor Hermens fax +49 8142 6528669
Brucker Strasse 12 gregor.hermens DeleteThis @a-mazing.de
D-82216 Gernlinden http://www.a-mazing.de/


--
To UNSUBSCRIBE, email to debian-isp-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Henrique de Moraes Holsch
External


Since: Nov 11, 2004
Posts: 648



PostPosted: Mon Aug 06, 2007 6:10 pm    Post subject: Re: amavis-new not adding X-Spam-Status header [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh


--
To UNSUBSCRIBE, email to debian-isp-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Marc Schiffbauer
External


Since: Nov 16, 2004
Posts: 17



PostPosted: Mon Aug 06, 2007 9:10 pm    Post subject: Re: amavis-new not adding X-Spam-Status header [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

* 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.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> ISP All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum