Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Re: Changing return msg, code and ecode

2006-09-06 by Emmanuel Dreyfus

On Wed, Sep 06, 2006 at 06:55:30PM +1000, Jobst Schmalenbach wrote:
> When I initially tried it (during the week) I tried that suggested
> line but ended up greylisting even the internal and whitelisted
> addresses, so in the moment I do not take my chances!

I guess you supplied milter-greylist with a config file containing
syntax errors. Since the config is reloaded automatically when it is
changed, it's sometime easy to screw things up.

Since 3.0. alpha 3, you can check the syntax without actually using it:

$ cp /etc/mail/greylist.conf /tmp/
$ vi /tmp/greylist.conf			<-- here I introduce an error
$ milter-greylist -cf /tmp/greylist.conf 
config error at line 1: syntax error
$ vi /tmp/greylist.conf			<-- here I fix the error
$ milter-greylist -cf /tmp/greylist.conf
config file "/tmp/greylist.conf" is okay
$ su -m root -c "cp /tmp/greylist.conf /etc/mail"

-- 
Emmanuel Dreyfus
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.