*********** REPLY SEPARATOR ***********
On 10/02/2002 at 11:24 AM Henrik Schmiediche [EMAIL PROTECTED]
[gregausit/redhat-list] wrote:
>Hello,
>I have quotas set up for /var/mail to restrict the total amount of mail a
>person can hold in their queue. The problem with this is that sendmail
will
>hold a file in the delivery spool until the space needed becomes available
>so it can deliver or after several days it will "fail" in the attempt and
>notify the sender. Also, some programs like POP will simply fail without
>notice when the quota is exceeded. I really need some more elegant way of
>dealing with:
This is actually pretty good, once the box is full, they have 5 days (or
whatever you set the fail x days as)
>
> 1) Large mail messages. If they can people will email CDROM ISO files
>(you think I am kidding!).
nope, do not think you are kidding, seen people do this after splitting
large files to beat size restrictions.
> 2) Leave messages in the mail spool until the spool grows to consume
as
>much space as you have. It does not matter how much space you have. They
>will not delete it!
You can use cucipop and force it to ignore the "leave on server" option for
pop3, it goes against RFC's but you may need it. Another solution would be
to look for a script that removes messages after x days old.
>
>How are people dealing with this? I notice that in sendmail.cf there is a
>"MaxMessageSize=1000000" command, but I am not sure if this restricts
>incoming and outgoing messages. Also, I would prefer not to restrict the
>size of an email unless it is gigantic, rather I would prefer to deliver
it
>and then restrict future deliveries of large email.
The size restriction is for both ways, however sendmail has to accept the
whole message before it can work out the size, maybe 500k is a reasonable
size for you -- it is system wide in Sendmail however, not per user.
>
>I guess I am asking about how people deal with users that have no concept
>of
>mail spools, files sizes, etc. What is the best way to enforce some
>consistent email spool size policy. Being heavy handed does not help me
>since then I have to deal with a lot of users on a case-by-case basis for
>their "special" needs.
>
You have to work out the balance, IMO mail is not a substitute for FTP,
10MB is more than ample, so is 5MB, you may just have to increase disk
space or split SMTP from POP3/IMAP
Regards
Greg Wright
--
IT Consultant Sydney Australia PH 0418 292020 -- Int. +61 418 292020
Available for Global Contracts US Fax -- 801 740 2874
Web http://www.ausit.com E-mail Greg AT AusIT.com
Trading As - AAA Computers -- providers of IT services.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list