[Exim] ETRN ACL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andy Lear
Date:  
À: exim-users
Sujet: [Exim] ETRN ACL
--
[ Picked text/plain from multipart/alternative ]
Hi,

I've just upgraded the only exim server we have that does ETRN, and I am
having problem with the ACL. We used to have a file with a list of
accepted ETRN hosts, but we now want to use mysql to control this as
everything else is done this way.

I have added the line: acl_smtp_etrn = check_etrn

and then the ACL as follows:

check_etrn:
  accept hosts = ${lookup mysql {select etrn.hosts from etrn where \
                        etrn.hosts = '$host_name'}{$value}fail}


when the ETRN request come in I am getting messages like this in the
log.

2003-04-28 13:07:59 ETRN clogau.co.uk received from surf.clogau.co.uk
(srvmail.clogau.com) [62.105.76.151]
2003-04-28 13:07:59 H=surf.clogau.co.uk (srvmail.clogau.com)
[62.105.76.151] temporarily rejected ETRN clogau.co.uk

I'm probably doing something really stupid, but if anyone can point me
in the right direction I'd really appreciate it.

Many Thanks

Andy

--
Andy Lear <andy@???>
Net-Work Internet
--