Yahoo Groups archive

Milter-greylist

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

Thread

Milter-geylist and smtp auth

Milter-geylist and smtp auth

2008-08-16 by Evan Pierce

Hi all

I have had milter-greylist running for quite some time successfully. 
This weekend I wanted to implement smtp auth on the same server as some 
of my clients are going mobile. I add the following line into my 
/etc/mail/greylist.conf file

racl whitelist auth /.*/

but my test account is still geting greylisted when sending email.

I stopped and started

milter-greylist
sendmail

but still no luck.

Any ideas as where to look.

I am running milter-greylist 4.1.5

thanks
Evan

Re: [milter-greylist] Milter-geylist and smtp auth

2008-08-16 by Michael Mansour

Hi,

> Hi all
> 
> I have had milter-greylist running for quite some time successfully. 
> This weekend I wanted to implement smtp auth on the same server as 
> some of my clients are going mobile. I add the following line into 
> my /etc/mail/greylist.conf file
> 
> racl whitelist auth /.*/

Reading the man page:

       auth   This  is  used  to  select a user that succeeded SMTP AUTH. In
order to select any user
              that succeeds SMTP AUTH, you can use a regular expression
matching, like below;

                racl whitelist auth /.*/

              Using such a clause automatically disable global STARTTLS and
SMTP  AUTH  whitelisting,
              like if the noauth keyword would have been used.

ie. if you _don't_ put the "racl whitelist auth /.*/" in your greylist.conf
file, then global STARTTLS and SMTP AUTH will be used.

I don't use the "auth" clause in my conf and all my STARTTLS and SMTP AUTH
connection get whitelisted.

Regards,

Michael.

Re: [milter-greylist] Milter-geylist and smtp auth

2008-08-16 by manu@netbsd.org

Evan Pierce <evan@...> wrote:

> racl whitelist auth /.*/
> 
> but my test account is still geting greylisted when sending email.

Is {auth_authen} exported in sendmail.cf? 

You should have this line:
O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf},
{auth_author}, {mail_mailer}, {mail_host}, {mail_addr}

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

Re: [milter-greylist] Milter-geylist and smtp auth

2008-08-16 by Evan Pierce

manu@... wrote:
> 
> 
> Evan Pierce <evan@... <mailto:evan%40pierce.co.za>> wrote:
> 
>  > racl whitelist auth /.*/
>  >
>  > but my test account is still geting greylisted when sending email.
> 
> Is {auth_authen} exported in sendmail.cf?
> 
> You should have this line:
> O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf},
> {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}
> 

Emmanuel

That resolved it perfectly. Can you explain to me exactly what that line 
does in sendmail.cf as none of my servers contain anything more than

O Milter.macros.envfrom=i

Is it because I edited sendmail.cf directly as opposed to using m4 and 
sendmail.mc?

Evan

Re: [milter-greylist] Milter-geylist and smtp auth

2008-08-16 by manu@netbsd.org

Evan Pierce <evan@...> wrote:

> That resolved it perfectly. Can you explain to me exactly what that line
> does in sendmail.cf as none of my servers contain anything more than

It controls what sendmail amcros are made visible to milter, for the
MAIL FROM stage of the SMTP transaction.

> Is it because I edited sendmail.cf directly as opposed to using m4 and
> sendmail.mc?

Indeed milter-greylist.m4 does take care of it. But a human being that
has read the documentation would do the same:

From README:
If you want to bypass greylisting for users that succeeded SMTP AUTH,
you also need {auth_authen} in Milter.macros.envfrom:
O Milter.macros.envfrom=i, {auth_authen}

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

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.