Hi Matthias,

I've recently (two days ago) implemented greylisting on my courier SMTP 
server.  I followed the instructions at
http://www.georglutz.de/wiki/CourierServer#Greylisting, which includes 
instructions on how to pass clients through without annoying them with 
greylisting.

Your proposal has already been taken care of by other methods as 
detailed in the page I've linked.

Regards,
Tim Lyth

Matthias Wimmer wrote:
> Hi!
>
>
> I am running a courier setup, where I have installed some mail filters, 
> that are responsible to do spam and virus checking as well as 
> greylisting. With vanilla courier I have to problem, that also all mail 
> that is sent by my clients get checked by these filters. While this does 
> not hurt much for the spam/virus checking (only a small delay in 
> accepting the mails), this is a big problem when doing greylisting.
>
> Because courier does not pass information to the filter, if the mail has 
> been received authenticated, I had to check the first received header 
> instead and search for "(AUTH:" in there. I consider this to be a hack, 
> and it is not a very beautiful solution.
>
> The better solution would be to configure courier to not pass mails to 
> the filters, that are received from clients. This is why I would like to 
> propose the following extension to courier:
> Introduce a new configuration keyword "SKIPMAILFILTER", which configures 
> courier to not filter received messages by this process. This 
> configuration keyword can then be added to the esmtpd-msa configuration 
> file to disable filtering of mails received by customers.
>
> The attached small patch implements this keyword.
>
>
> Matthias
>
>
> Patch against courier-latest in CVS:
>
> --- submit2.C.orig      2007-09-26 02:06:35.635912696 +0200
> +++ submit2.C   2007-09-26 02:07:07.053558697 +0200
> @@ -965,6 +965,7 @@
>   SubmitFile *voidp=this;
>
>          if (filter_enabled &&
> +           !getenv("SKIPMAILFILTER") &&
>              run_filter(dfile.c_str(), num_control_files_created,
>                         iswhitelisted,
>                         &SubmitFile::get_msgid_for_filtering, &voidp))
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to