Re: [Exim] wishlist: discard message = to log

Top Page
Delete this message
Reply to this message
Author: ODHIAMBO G. Washington
Date:  
To: exim-users
CC: jvanasco
Subject: Re: [Exim] wishlist: discard message = to log
* Jonathan Vanasco <jvanasco@???> [20030908 18:53]: wrote:
> Right now, exim logs a discard in the ACL like such
>
> Lets say this is in my acl_check_data (actually, it is):
>   discard           message = contains sobig
>                         regex   = sobig_pattern_here

>
> i couldn't have the sobig pattern above, because my mta and misc other
> ones seem to auto discard the mail -- i just realized that
>
> Exim logs this as such:
> 2003-09-05 07:08:26 19vHGB-0001tk-7t => blackhole (DATA ACL discarded
> recipients)
>
> It would be SUPER nice if exim logged the 'contains sobig' or 'contains
> $found_extension file (This file extention is blacklisted, as it is
> likely to be a virus ).' -- as i have several discards in there, and
> there doesn't seem to be any method of telling why 1 item was discarded
> from another.


Ehlo Jonathan,

Exim is already SUPER nice! ;)


Just split that rule into two parts, one to log whatever message you want, then
the other to discard.

warn log_message = contains sobig ($found_extension)
     regex       = sobig_pattern_here


discard message  = contains sobig ($found_extension)
        regex    = sobig_pattern_here





        cheers
       - wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington, wash@???    . WANANCHI ONLINE LTD (Nairobi, KE)  |
http://ns2.wananchi.com/~wash/        . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223            . # 10286, 00100 NAIROBI             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
                         --from a /. post