Ok, setting TCPREMOTEINFO in tcp.smtp file works.
bnegrao.
----- Original Message -----
From: "Bruno Negrao" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, January 20, 2006 1:44 PM
Subject: [toaster] SMTP AUTH: Setting TCPREMOTEINFO for an IP can release
it from smtp authentication?
Hi guys,
I enabled SMTP authentication in my qmail-toaster server and it's working
fine.
But I need to allow one machine (say, ip: 192.168.0.4) to send emails
without authenticating.
I read that when a SMTP connection was successfully authenticated, the
environment variable TCPREMOTEINFO is set to the user name that
authenticated.
My question is, if I set TCPREMOTEINFO in my tcprules for that machine,
will it release the machine from authentication?
Will qmail-smtpd unset this variable if the user didn't authenticate?
Thank you,
Bruno Negrao
Analista de Suporte
Engepel Teleinformática LTDA
31 34812311
Belo Horizonte - MG. Brasil