Michael Schreiber wrote:
> Hi,
>
> Can anyone anser the following question please:
>
> running current sendmail version
Given the number of things you need to do that aren't covered by
standard Sendmail, I wonder if you shouldn't be investigating other
MTAs.
>
> 1) how can i restrict a local user from sending many mails? (for example ->
> user should only be allowed to send x mailx / day)
>
This seems to be a desirable but very unusual practice. You could try
Snertsoft's Milter-limt:
http://www.milter.info/sendmail/milter-limit/
> 2) how can i restrict a local user from sending spam or junk mails?
>
We use the Kaspersky AV server, which includes instructions for
processing
outgoing mail through the AV process. It isn't the usual practice,
though, perhaps because it is expensive of computer resources. When we
send a mailing to our big mailing list we use a different server which
does not check outgoing messages for viruses.
> 3) how can i check outgoing mails for viruses or spams?
For virus suppression we use the Kaspersky AV server, which includes
instructions for processing outgoing mail through the AV process. It
isn't the usual practice, though, perhaps because it is expensive of
computer resources. When we send a mailing to our big mailing list we
use a different server which does not check outgoing messages for
viruses.
It is possible to use spamassasin on outgoing mail. At least more
recent man pages include some instructions.
>
> 4) how can i restrict the message queue? Or trigger an alert when it's
> getting bigger?
>
I suppose Unix quotas could be used for this purpose, but I don't know
how gracefully sendmail would react to an out of quota situation. I'd
certainly
test it before depending on it.
Daniel Feenberg
> thanks in advance
> mike