[Dovecot] Sendmail and deliver LDA exits with EX_TEMPFAIL on overquota

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Oct 20 12:46:10 EEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 19 Oct 2008, Sotiris Tsimbonis wrote:

> But how do we move the rejection at smtp level using sendmail+dovecot lda?

When a recipient is valid, the mail is queued locally, then the delivery 
attempt is made. That means that the SMTP dialogue has been closed 
already, before the MDA is invoked. sendmail has quite a strict separation 
between MTA and MDA, or to put it in other words it supports only the 
basic Unix-style /var/mail/system_user mboxes natively.

About "Switch to postfix":

How handles postfix the situation, when you mail to an alias with several 
recipients, one of them is overquota? Is the mail tempfailed for all of 
them?

==

Well, you could deploy a milter that verifies the recipients at RCPT TO 
stage. Depending on your config it may be difficult to map recipient 
addresses to the particular mail storage (esp. if probed on mail relays).

If you have a strict naming policy, you can put all users over quota into 
the access DB and update them regularily - thus avoding the milter.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI/FNkVJMDrex4hCIRAts4AJwKhz7XsnO++lkgGtea2O+gw+RgYQCgq9uD
iyG3qlVh0mx4sDTxQTvAqiU=
=e/K4
-----END PGP SIGNATURE-----


More information about the dovecot mailing list