
jesse at kci
Jan 15, 2009, 11:55 AM
Post #2 of 2
(254 views)
Permalink
|
On Thu, 2009-01-15 at 19:42 +0000, James Greig wrote: > Hi, > > Not sure if this one's possible or not but here goes. If a users mailbox is > full it's dbmail-lmtpd that reports this and sends a bounce back. That's how dbmail-smtp (now dbmail-inject) works, but dbmail-lmtpd shouldn't - it should return a failure code to the lmtp client. What the client does is another story, and it might create a bounce, depending on your setup. > Are there > any working methods to reject the email at the MTA (i.e. postfix) via an sql > lookup or something to reject this on rcpt to? That's mta specific. With postfix you could write a policy daemon that does a quota lookup (I got about half-way done on one of those once). There's another setting that has postfix hold the initial smtp connection open and send the error code after it has actually attempted delivery, but I sure can't seem to find what it is. (Default behavior is to accept the message and put it in a queue for later delivery.) > Cheers > > James Greig - AS33854 - AS45014 > Nuco Technologies Ltd > james[at]host-it.co.uk > www.nucotechnologies.com > Tel. 0870 165 1300 > > Nuco Technologies Ltd is a company registered in England and Wales > with company number 04470751 > > > > _______________________________________________ > DBmail mailing list > DBmail[at]dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail -- Jesse Norell Kentec Communications, Inc. jesse[at]kci.net _______________________________________________ DBmail mailing list DBmail[at]dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail
|