Index: [Article Count Order] [Thread]

Date:  Sun, 2 Apr 2006 13:56:13 +0200
From:  Maurice de Laat <muisnetw (at mark) xs4all.nl>
Subject:  [coba-e:04447] Reject incoming mail if user's quota is exceeded
To:  coba-e (at mark) bluequartz.org
Message-Id:  <20060402115613.GA88779 (at mark) xs4all.nl>
X-Mail-Count: 04447


Hi,

I notice that when a user's quota is exceeded, email for that user is 
still being accepted, but stays in sendmails' queue.

This particularly user has a catchall and therefor catches a lot of spam 
(he, if that is what they really want...) from fake addresses.

This is a bit of a problem, because when a mail is sitting in the 
queue for a few hours, sendmail starts sending warning messages to 
the spoofed from addresses. Bad thing. Even more bad thing happen when 
those warning messages are being rejected and come back in the admin's 
(my) mailbox.

I rather just reject incoming mail *during the smtp session* when a user's 
quota is exceeded. How can I accomplish this?

Thank you
-- 
Maurice de Laat