according to makedat(1):
The -cidr flag specifies that the key is an IP netblock in
CIDR notation. This flag requires the Net::CIDR Perl mod-
ule to be installed separately. Download Net::CIDR from
http://www.cpan.org.
...and makedat(1) is used to build smtpaccess.dat from smtpaccess, so I
was under the impression i might be able to have blocks such as:
127.0.0.1/24 allow,RELAYCLIENT
10.100.0.0/24 allow,RELAYCLIENT
66.95.8.166/27 allow,RELAYCLIENT
...however that is definately not working. relaying denied errors ... a
quick run through:
/usr/pkg/bin/courier/makedat -src=/usr/pkg/etc/courier/smtpaccess
-file=/usr/pkg/etc/courier/smtpaccess.dat
-tmp=/usr/pkg/etc/courier/smtpaccess.tmp -cidr
seems to reveal it finding Net:CIDR in /usr/pkg/lib/perl5/5.8.0/Net just
fine.
Ideas anyone?
Thanks,
-Brian
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users