Yahoo Groups archive

Milter-greylist

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

Thread

Milter Greylist ignores greylist.conf on Centos 4.4

Milter Greylist ignores greylist.conf on Centos 4.4

2007-02-20 by Αναστάσιος Παπαδόπου

Hello all,

	I managed to install milter-greyslist on Centos 4.4 using sendmail. Everything works fine except the fact that MG ignores the configuration file at /etc/mail/greylist.conf.
	I want to enable greylisting only for some addresses but no matter what I put on greylist.conf, milter greylists everything for 30 mins, even entries with whitelist (not shown below).

	I even changed the line in startup script to 
OPTIONS="-P $pidfile -p $socket -f /etc/mail/greylist.conf"
In case it was searching for the wrong file path.

I include the last lines of my greylist.conf

acl greylist rcpt support@... delay 5m autowhite 7d
acl greylist rcpt hr@ domain.tld delay 20m autowhite 1d
acl greylist rcpt sysadmins@... delay 10m autowhite 1d
acl whitelist default

[EOF]

Any help would be appreciated,

TIA


Anastasios Papadopoulos

Re: Milter Greylist ignores greylist.conf on Centos 4.4

2007-02-20 by Ugo Bellavance

--- In milter-greylist@yahoogroups.com, ÁíáóôÜóéïò Ðáðáäüðïõëïò
<tpapad@...> wrote:
>
> Hello all,
> 
> 	I managed to install milter-greyslist on Centos 4.4 using sendmail.
Everything works fine except the fact that MG ignores the
configuration file at /etc/mail/greylist.conf.

What gives 'milter-greylist -cv'?

Ugo

RE: [milter-greylist] Re: Milter Greylist ignores greylist.conf on Centos 4.4

2007-02-20 by Αναστάσιος Παπαδόπου

Hello Ugo and thanks for your response.

After I posted the message I found out the –c switch (well, I didn’t mention I’m new to milter-greylist…). It reported syntax error on the lines:

acl greylist rcpt sysadmins@domain.tld delay 10m autowhite 1d

after removal of the instructions:

acl greylist rcpt sysadmins@domain.tld #delay 10m autowhite 1d

it worked fine. I guess the syntax error resulted to complete bypass of the conf file (last entry to “whitelist by default” was correct but still ignored).

So, my question changes to: how can I put different greylist options (delay, autowhite etc) per e-mail address? My source of documentation is http://www.die.net/doc/linux/man/man5/greylist.conf.5.html , this is why I tried the lines sent on my previous post. Obviously I did something wrong or I have an older version of MG.

From: milter-greylist@yahoogroups.com [mailto:milter-greylist@yahoogroups.com] On Behalf Of Ugo Bellavance
Sent: Tuesday, February 20, 2007 5:54 PM
To: milter-greylist@yahoogroups.com
Subject: [milter-greylist] Re: Milter Greylist ignores greylist.conf on Centos 4.4

--- In milter-greylist@yahoogroups.com, ÁíáóôÜóéïò Ðáðáäüðïõëïò
<tpapad@...> wrote:
>
> Hello all,
>
> I managed to install milter-greyslist on Centos 4.4 using sendmail.
Everything works fine except the fact that MG ignores the
configuration file at /etc/mail/greylist.conf.

What gives 'milter-greylist -cv'?

Ugo

Re: [milter-greylist] Re: Milter Greylist ignores greylist.conf on Centos 4.4

2007-02-20 by manu@netbsd.org

?????????? ??π???π????? <tpapad@...> wrote:

> acl greylist rcpt sysadmins@... delay 10m autowhite 1d
> after removal of the instructions: 
> acl greylist rcpt sysadmins@... #delay 10m autowhite 1d
> 
> it worked fine.

i just tried to copy/paste the line in my config file, and it loads
without a hitch.

> So, my question changes to: how can I put different greylist options
> (delay, autowhite etc) per e-mail address? My source of documentation is
> http://www.die.net/doc/linux/man/man5/greylist.conf.5.html , this is why I
> tried the lines sent on my previous post. Obviously I did something wrong
> or I have an older version of MG.

That's probably the explanation. Try milter-greylist -r

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

RE: [milter-greylist] Re: Milter Greylist ignores greylist.conf on Centos 4.4

2007-02-21 by Αναστάσιος Παπαδόπου

It is an older version, which of course explains the behavior.

milter-greylist \u2013r:

milter-greylist-2.0 kri@...:/usr/src/redhat/BUILD/milter-greylist-2.0 Sun Jul 3 16:02:29 CEST 2005

Trying to find out where I found the rpm I used and update it.

Thank you for your help.

From: milter-greylist@yahoogroups.com [mailto:milter-greylist@yahoogroups.com] On Behalf Of manu@...
Sent: Tuesday, February 20, 2007 11:22 PM
To: milter-greylist@yahoogroups.com
Subject: Re: [milter-greylist] Re: Milter Greylist ignores greylist.conf on Centos 4.4

?????????? ??π???π????? <tpapad@salesmanager.gr> wrote:

> acl greylist rcpt sysadmins@domain.tld delay 10m autowhite 1d
> after removal of the instructions:
> acl greylist rcpt sysadmins@domain.tld #delay 10m autowhite 1d
>
> it worked fine.

i just tried to copy/paste the line in my config file, and it loads
without a hitch.

> So, my question changes to: how can I put different greylist options
> (delay, autowhite etc) per e-mail address? My source of documentation is
> http://www.die.net/doc/linux/man/man5/greylist.conf.5.html , this is why I
> tried the lines sent on my previous post. Obviously I did something wrong
> or I have an older version of MG.

That's probably the explanation. Try milter-greylist -r

--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@netbsd.org

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.