'not found' and 'over quota' checks
Kevin Spicer
kevins at BMRB.CO.UK
Tue May 25 07:38:29 IST 2004
On Tue, 2004-05-25 at 06:23, Andy Lou wrote:
> HI all
> Before installing Mailscanner sendmail had only one queue and his
> behaviour was like to reject any mail which is for unknown user or for
> user with overloaded mailbox.
> Now , when I have 2 queues(thak you to MailScanner), Sendmail receives ANY
> messages into Mailscanner queue without checking if user exists or it's
> quota.. and only when the second instance of sendmail tries to deliver the
> message to local mailer , it gets 'user not found' or 'over quota'.
> Now the question: how can I make sendmail perform these checks BEFORE
> receiving useless messages into Mailscanner queue ?
In the case of 'not found' you can do one of the following, if your have
directory information in LDAP then you can use sendmails LDAP function.
Otherwise follow the instructions here
http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/270.html (even if
you're not using exchange it should give a good idea of what to do).
In terms of the full mailbox, thats a little more difficult. If the
mailboxes are local you might be able to write a little script that
updates an access list or something like that.
BMRB International
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the
recipient and may contain confidential and/or privileged
material. If you have received this in error, please contact the
sender and delete this message immediately. Disclosure, copying
or other action taken in respect of this email or in
reliance on it is prohibited. BMRB International Limited
accepts no liability in relation to any personal emails, or
content of any email which does not directly relate to our
business.
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
More information about the MailScanner
mailing list