Re: Redirect on overquota

2010-03-05 Thread J. Roeleveld
On Friday 05 March 2010 11:09:43 ram wrote:
> On Fri, 2010-03-05 at 10:35 +0100, Marc Patermann wrote:
> > Hi,
> >
> > ram schrieb:
> > > Can I set up lmtp such a way that the overquota messages are redirected
> > > to a postmaster account
> >
> > What do you mean by that?
> > If the mailbox is "over quota" LMTP rejects the mail with a temporary
> > error 4xx. So the MTA can not deliver it (this time).
> 
> Yes.
> Instead can lmtp be configured to accept the mail , and redirect to a
> postmaster account

Why not reconfigure the process delivering the mail to Cyrus (for instance 
Postfix) to forward the message to a different account when it is unable to 
deliver because of this error?
I would expect the error to actually specify the reason (mailbox full) ?

--
Joost

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Redirect on overquota

2010-03-05 Thread ram

On Fri, 2010-03-05 at 10:35 +0100, Marc Patermann wrote:
> Hi,
> 
> ram schrieb:
> > Can I set up lmtp such a way that the overquota messages are redirected
> > to a postmaster account
> What do you mean by that?
> If the mailbox is "over quota" LMTP rejects the mail with a temporary 
> error 4xx. So the MTA can not deliver it (this time).
Yes.
Instead can lmtp be configured to accept the mail , and redirect to a
postmaster account 




Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Redirect on overquota

2010-03-05 Thread Marc Patermann
Hi,

ram schrieb:
> Can I set up lmtp such a way that the overquota messages are redirected
> to a postmaster account
What do you mean by that?
If the mailbox is "over quota" LMTP rejects the mail with a temporary 
error 4xx. So the MTA can not deliver it (this time).
In this case the MTA has to deal with it.
If you want to do something else with this message when, I would check 
there.
[IMAPd does not a have a mailqueue to store mail to go to somewhere else 
and forward it there - excluding the sieve redirect mechanism, but in 
this case the message is successfully delivered to the user anyway.]


Marc

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Redirect on overquota

2010-03-05 Thread ram
Can I set up lmtp such a way that the overquota messages are redirected
to a postmaster account





Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html