Re: [Exim] "defer" being written to mainlog/rejectlog!

Top Page
Delete this message
Reply to this message
Author: Odhiambo G. Washington
Date:  
To: exim-users
Subject: Re: [Exim] "defer" being written to mainlog/rejectlog!
* Philip Hazel <ph10@???> [20040405 12:09]: wrote:
> On Sat, 3 Apr 2004, Odhiambo G. Washington wrote:
>
> > I have a rule like this ..
> >
> > warn  set acl_m4      = ${readsocket{...
> > defer domains         = +local_domains
> >       !hosts          = +relay_from_hosts
> >       condition       = ${if blah ...
> >       message         = This message is annoying ...

> >
> >
> > ..and I have the "message" being written to both my mainlog and
> > rejectlog.
>
> >From the spec, section 38.11:
>
>    If "log_message" is not present and there is no underlying error message
>    (for example, from the failure of address verification), but "message" is
>    present, the "message" text is used for logging rejections. However, if any |
>    text for logging contains newlines, only the first line is logged. In the   |
>    absence of both "log_message" and "message", a default built-in message is
>    used for logging rejections.

>
> This includes temporary rejections caused by "defer".


Hi Philip,

Thanks for the pointer. I only forgot to mention that I had read the
spec.txt.
My confusion is arising from the fact that this logging is not happening
in a 4.30 system as it's happening on a 4.31 system.
I am sorry I mentioned in my earlier posting that both boxes are running
4.30 (tm). That was incorrect. One box running 4.30 doesn't write the
"message" to the logs. It's the 4.31 that is writing to both
{main|reject}.log files.

The spec.txt assumes 4.30, correct? I am still confused.
To be precise, the rule I am running is here:

http://users.aber.ac.uk/auj/spam/greylist_with_exim.txt

Thank you so much for your time.


        cheers
       - wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
                         --from a /. post