I am still having a problem getting selective relaying to work. Here is
my smtp file:

service smtp
{
  disable      = no
  socket_type     = stream
  protocol    = tcp
  wait     = no
  user     = qmaild
  server      = /var/qmail/bin/tcp-env
  server_args     = /var/qmail/bin/qmail-smtpd
  env      = RELAYCLIENT=
}

The problem is that this creates a wide open relay. "only_from" doesn't
seem the right alternative, since it blocks incoming mail from other
addresses.

How would I properly allow relaying from our local net, and block
others?

 KS

     ��������������������������������������������������������ͻ
     �  KARICO Business Services                              �
     �  Toronto, ON Canada              http://www.ksbase.com �
     ��������������������������������������������������������ͼ

... Postmen never die, they just lose their zip.

Reply via email to