On Tue, Jul 24, 2001 at 10:15:03PM +0300, Constantine Koulis wrote:
> Dear Sir.
> I am very interested to do what u said in ur email about limiting the
> mailbox size.please give me an example how to do it cause i do use the
> tcp.smtp file.
Sometimes I am very baffled on how little work some readers of this list
are about to do by themselves. Please READ THE DOCS NEXT TIME and at least
try. Everything in life is not given in examples.
But. Instead of _just_ being grumpy, I answer as well:
Here is an example /etc/tcp.smtp-file:
#
# /etc/tcp.smtp
#
#
# Allow RELAYING from LOCAL NETS
# as specified in RFC 1918 <http://rfc1918.x42.com/>
# (These nets are per definition always internal and not on the Internet)
#
192.168.:allow,RELAYCLIENT="",DATABYTES=0
172.16-31.:allow,RELAYCLIENT="",DATABYTES=0
10.:allow,RELAYCLIENT="",DATABYTES=0
#
#####
#
# Allow RELAYING also from LOCALHOST
127.:allow,RELAYCLIENT=""
#
#####
#
# DO NOT allow RELAYING, but allow CONNECTING from ALL OTHER
#
:allow
Then just compile the tcp.smtp-file normally and hey, run.
Summer is warm and nice.
/magnus