Problem with exim filters

This is a discussion on Problem with exim filters within the alt.comp.mail.exim forums, part of the Mail Servers and Related category; Hello I use a exim 3.3 precompiled installation on my debian system. I try to make my first steps ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.exim

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-08-2005
Carsten Frank
 
Posts: n/a
Default Problem with exim filters

Hello

I use a exim 3.3 precompiled installation on my debian system. I try to make
my first steps with exim filter rules.
To save all the outgoing messages in a directory, which I can access by my
IMAP server i put the following rule into exim.conf:

# Exim Filter

if $header_from: contains "@rss-global.com" then
save ${home}/Maildir
finish
endif

But the damned daemon tells me: option "if" unknown

What do i wrong in the use of of filters; can anybody show me a complete
example?

thanks

Carsten


Reply With Quote
  #2 (permalink)  
Old 06-09-2005
Jakob Hirsch
 
Posts: n/a
Default Re: Problem with exim filters

Carsten Frank wrote:

> I use a exim 3.3 precompiled installation on my debian system. I try to make
> my first steps with exim filter rules.


Which is quite old and outdated. The current version is 4.51.

> To save all the outgoing messages in a directory, which I can access by my
> IMAP server i put the following rule into exim.conf:


RTFM. Filters don't go into exim.conf, but into an extra file, which you
reference in exim.conf, message_filter option.

see http://exim.org/exim-html-3.30/doc/html/spec_47.html for more details.
Reply With Quote
  #3 (permalink)  
Old 06-12-2005
Rob van der Putten
 
Posts: n/a
Default Re: Problem with exim filters

Hi there


Jakob Hirsch wrote:

> Which is quite old and outdated. The current version is 4.51.


There is a Woody backport; exim4-daemon-heavy
It contains the Exiscan patch and a lot of other nice stuff.

> RTFM. Filters don't go into exim.conf, but into an extra file, which you
> reference in exim.conf, message_filter option.
>
> see http://exim.org/exim-html-3.30/doc/html/spec_47.html for more details.


One should use a setup which doesn't generate bounces when one actually
should reject.


Regards,
Rob
--
+----------------------------------------------------------------------+
| De SGP is een gevaar voor de rechtsorde |
| http://www.democratie-ja.nl/ |
+----------------------------------------------------------------------+
Reply With Quote
  #4 (permalink)  
Old 06-12-2005
Jakob Hirsch
 
Posts: n/a
Default Re: Problem with exim filters

Rob van der Putten wrote:

>>RTFM. Filters don't go into exim.conf, but into an extra file, which you
>>reference in exim.conf, message_filter option.
>>see http://exim.org/exim-html-3.30/doc/html/spec_47.html for more details.

> One should use a setup which doesn't generate bounces when one actually
> should reject.


What do you mean?
Reply With Quote
  #5 (permalink)  
Old 06-13-2005
Rob van der Putten
 
Posts: n/a
Default Re: Problem with exim filters

Hi there


Jakob Hirsch wrote:

> Rob van der Putten wrote:
>
> > One should use a setup which doesn't generate bounces when one actually
> > should reject.


> What do you mean?


You should only generate bounces for your own users.
This means that when you receive mail, you should decide wether you want
the mail or not within that SMTP session [1] (accept, defer or reject).
You should not first accept mail and then change your mind and generate
a bounce message.
This reduces the number of joe job bounces. And the remaining joe job
bounces will not be generated by your system.
Joe job bounces are rather annoying and should be avoided whenever
possible.

AFAIK [1] doesn't work with system filters. It does work with Exim 4 +
Exiscan patch. Filters can be used for other purposes of course.
However, the use of Woody Exim 3 in combination with virus or spam
filtering is problematic.


Regards,
Rob
--
+----------------------------------------------------------------------+
| Rob van der Putten, rob@sput.nl |
| http://www.sput.nl/spam/spam-policy.html |
+----------------------------------------------------------------------+
Reply With Quote
  #6 (permalink)  
Old 06-13-2005
Jakob Hirsch
 
Posts: n/a
Default Re: Problem with exim filters

Rob van der Putten wrote:

>>>One should use a setup which doesn't generate bounces when one actually
>>>should reject.

>>What do you mean?

> You should only generate bounces for your own users.

[...]

I know, thanks.

But what's the relation to the subject? It was never about bounces or
something, the $OP just wanted to save his outgoing mails in a folder.

> AFAIK [1] doesn't work with system filters. It does work with Exim 4 +


yes, the system filter is run for every delivery, not when accepting mail.
Reply With Quote
  #7 (permalink)  
Old 06-13-2005
Rob van der Putten
 
Posts: n/a
Default Re: Problem with exim filters

Hi there


Jakob Hirsch wrote:

> I know, thanks.
>
> But what's the relation to the subject? It was never about bounces or
> something, the $OP just wanted to save his outgoing mails in a folder.


It was about Exim 3.
There is no reason to run Exim 3 on a Debian Woody system. And some very
good reasons not to.

> yes, the system filter is run for every delivery, not when accepting mail.



Regards,
Rob
--
+----------------------------------------------------------------------+
| De SGP is een gevaar voor de rechtsorde |
| http://www.democratie-ja.nl/ |
+----------------------------------------------------------------------+
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:48 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0