[exim] Can you logwrite without logfile?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Robert Nicholson
Date:  
À: exim-users
Sujet: [exim] Can you logwrite without logfile?
When I want to toggle b/w logging and no logger I simply comment out
the logfile command in my .forward

Can you tell me if exim has a problem with doing this and still
leaving logwrites uncommented?

Because my ISP tells me they see the following in their log

> elastica@??? <voro444@???> R=userforward
> defer (-17): error in filter file: attempt to obey "logwrite"
> command without a previous "logfile"
> Looks like you have an issue in your scripts/.forward


Can this affect the delivery of mail?From dlugo@??? Fri May 01 03:30:06 2009
Envelope-to: exim-users@???
Received: from spot.etherboy.com ([216.158.54.130]:42761)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.69)
    (envelope-from <dlugo@???>) id 1LziVl-0000Lx-Pf
    for exim-users@???; Fri, 01 May 2009 03:30:05 +0100
Received: from davemb.etherboy.com ([192.168.7.105]:55539)
    by spot.etherboy.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69)
    (envelope-from <dlugo@???>) id 1LziU1-0001X4-BE
    for exim-users@???; Thu, 30 Apr 2009 22:28:13 -0400
Date: Thu, 30 Apr 2009 22:28:10 -0400 (EDT)
From: Dave Lugo <dlugo@???>
To: exim-users@???
In-Reply-To: <B2AFD650-E354-4C69-BE6F-B028DFA9CEA8@???>
Message-ID: <Pine.OSX.4.58.0904302227360.347@???>
References: <B2AFD650-E354-4C69-BE6F-B028DFA9CEA8@???>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Score: -1.7 (-) 
X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL=-0.202,
    BAYES_00=-1.5 autolearn=no version=3.1.8
Subject: Re: [exim] Can you logwrite without logfile?
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: A user list for the exim MTA <exim-users.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=unsubscribe>
List-Archive: <http://lists.exim.org/lurker/list/exim-users.html>
List-Post: <mailto:exim-users@exim.org>
List-Help: <mailto:exim-users-request@exim.org?subject=help>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=subscribe>
X-List-Received-Date: Fri, 01 May 2009 02:30:06 -0000


On Thu, 30 Apr 2009, Robert Nicholson wrote:
>
> Because my ISP tells me they see the following in their log
>
> > elastica@??? <voro444@???> R=userforward
> > defer (-17): error in filter file: attempt to obey "logwrite"
> > command without a previous "logfile"
> > Looks like you have an issue in your scripts/.forward
>
> Can this affect the delivery of mail?
>


My guess is, yes.

Why don't you just try defining it to /dev/null?

-- 
--------------------------------------------------------
Dave Lugo   dlugo@???    LC Unit #260   TINLC
Have you hugged your firewall today?   No spam, thanks.
--------------------------------------------------------
Are you the police?  . . . .  No ma'am, we're sysadmins.