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

2008-10-21 Thread Frank Behrens
Steffen Kaiser <[EMAIL PROTECTED]> wrote on 20 Oct 2008 11:46: > 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 mea

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

2008-10-20 Thread Sotiris Tsimbonis
mouss wrote, On 10/20/2008 05:04 PM: Sotiris Tsimbonis a écrit : - you can populate an access list to reject mail to users who are over quota. you need some way to remove them from the list once they purge their mailbox (web ui, cron, dovecot plugin, ...). [...] My preference for quota handlin

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

2008-10-20 Thread mouss
Sotiris Tsimbonis a écrit : > I confirm, that the above config does produce bounces (possibly forged > i.e. backscatter) and it's bad .. > > But how do we move the rejection at smtp level using sendmail+dovecot lda? > for that you need to detect over quota during the smtp transaction, but in gen

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

2008-10-20 Thread Sotiris Tsimbonis
On 10/20/2008 01:11 PM, Sotiris Tsimbonis wrote: The problem is, that with Maildir it can be very costly to calculate the actual mail usage on every mail delivery attempt.. If I could somehow access dovecot's maildirsize, where the size is already calculated and updated on delivery and retri

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

2008-10-20 Thread Sotiris Tsimbonis
On 10/20/2008 12:46 PM, Steffen Kaiser wrote: -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 attem

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

2008-10-20 Thread Steffen Kaiser
-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 h

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

2008-10-20 Thread Sotiris Tsimbonis
On 10/20/2008 12:57 AM, Charles Marcus wrote: On 10/19/2008, Sotiris Tsimbonis ([EMAIL PROTECTED]) wrote: But how do we move the rejection at smtp level using sendmail+dovecot lda? Thats a sendmail question, so the only answer I can give is... switch to postfix... ;) That's not an acceptab

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

2008-10-19 Thread Charles Marcus
On 10/19/2008, Sotiris Tsimbonis ([EMAIL PROTECTED]) wrote: > But how do we move the rejection at smtp level using sendmail+dovecot lda? Thats a sendmail question, so the only answer I can give is... switch to postfix... ;) -- Best regards, Charles

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

2008-10-19 Thread Sotiris Tsimbonis
mouss wrote, On 10/19/2008 12:50 PM: Charles Marcus a écrit : On 10/18/2008 3:04 PM, Sotiris Tsimbonis wrote: deliver(stsimb.t157.forthnet.gr): Oct 18 21:56:30 Info: msgid=<[EMAIL PROTECTED]>: save failed to INBOX: Quota exceeded (mailbox for user is full) deliver(stsimb.t157.forthnet.gr): Oct

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

2008-10-19 Thread mouss
Charles Marcus a écrit : > On 10/18/2008 3:04 PM, Sotiris Tsimbonis wrote: >> deliver(stsimb.t157.forthnet.gr): Oct 18 21:56:30 Info: >> msgid=<[EMAIL PROTECTED]>: save failed >> to INBOX: Quota exceeded (mailbox for user is full) >> deliver(stsimb.t157.forthnet.gr): Oct 18 21:56:30 Info: >> msgid=

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

2008-10-18 Thread Charles Marcus
On 10/18/2008 3:04 PM, Sotiris Tsimbonis wrote: > deliver(stsimb.t157.forthnet.gr): Oct 18 21:56:30 Info: > msgid=<[EMAIL PROTECTED]>: save failed > to INBOX: Quota exceeded (mailbox for user is full) > deliver(stsimb.t157.forthnet.gr): Oct 18 21:56:30 Info: > msgid=<[EMAIL PROTECTED]>: rejected: >

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

2008-10-18 Thread Sotiris Tsimbonis
Timo Sirainen wrote, On 10/18/2008 01:31 PM: On Fri, 2008-10-17 at 22:30 +0300, Sotiris Tsimbonis wrote: That should be the default. "quota_full_tempfail" setting controls it, do you have it commented out in the config file? (unfortunately lda section isn't listed with dovecot -n) Sorry, I f

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

2008-10-18 Thread Timo Sirainen
On Fri, 2008-10-17 at 22:30 +0300, Sotiris Tsimbonis wrote: > > That should be the default. "quota_full_tempfail" setting controls it, > > do you have it commented out in the config file? (unfortunately lda > > section isn't listed with dovecot -n) > > > > Sorry, I forgot to include this part..

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

2008-10-17 Thread Sotiris Tsimbonis
Timo Sirainen wrote, On 10/17/2008 06:37 PM: On Oct 17, 2008, at 3:39 PM, Sotiris Tsimbonis wrote: When I send an email to this account, sendmail accepts the email and tries to deliver it. Deliver fails to save in INBOX and returns an error, but the email stays in sendmail's queue.. Any sugg

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

2008-10-17 Thread Timo Sirainen
On Oct 17, 2008, at 3:39 PM, Sotiris Tsimbonis wrote: When I send an email to this account, sendmail accepts the email and tries to deliver it. Deliver fails to save in INBOX and returns an error, but the email stays in sendmail's queue.. Any suggestions on how to avoid this and produce a 5

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

2008-10-17 Thread Sotiris Tsimbonis
Hi all, I have setup dovecot 1.1.4 and sendmail 8.14.3 with dovecot LDA on linux (RHEL5 on x86_64). I have deliberately set a very low quota (4MB) on a test account, while the actual disk usage is 5MB at the moment, in order to test overquota behaviour.. When I send an email to this accoun