Cyrus fails delivery after over quota

Simon Matter simon.matter at ch.sauter-bc.com
Sat Oct 2 08:32:38 EDT 2004


> Simon,
> After changing to the recommended lmtp socket, the same problem still
> occurs when a user in the alias is over quota ...

I was searching some archives for this problem and it seems to be a known
postfix problem.
First one correction to my previous post. If you want to use sinlge
instance store, you have to use
local_transport = lmtp:unix:/var/lib/imap/socket/lmtp
in postfix main.cf. This will however disable alias processing.
Now your problem comes from the way how postfix processes aliases. See
http://www.irbs.net/internet/postfix/0307/1304.html
Looks like you have to use virtual aliases for this to work.

Simon

>
>
> Sep 30 16:42:57 chipmunk lmtpunix[18325]: append_check() of
> 'user.kyriakos' failed (Over quota)
> Sep 30 16:42:58 chipmunk postfix/lmtp[18326]: 5FAF549C01A:
> to=<kyriakos at cabm.rutgers.edu>, orig_to=<all_cabm at cabm.rutgers.edu>,
> relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=8,
> status=deferred (host /var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp]
> said: 452 4.2.2 Over quota (in reply to RCPT TO command))
> Sep 30 16:43:02 chipmunk master[18330]: about to exec
> /usr/lib/cyrus-imapd/imapd
> Sep 30 16:43:02 chipmunk imaps[18161]: accepted connection
> Sep 30 16:43:02 chipmunk imaps[18330]: executed
>
> Delivery to the remaining addresses in the alias cease once an over
> quota account is encountered.
>
> Shelley Waltz
>
>>> Simon,
>>> I have the following in my /etc/postfix/main.cf ...
>>>
>>> mailbox_transport = cyrus
>>>
>>> Is this the old?
>>
>> Yes, this one is not recommended.
>>
>>>
>>> If I change to
>>>
>>> mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
>>>
>>> will anything else be affected?
>>
>> I think it should work the same way as long as you didn't do something
>> special with the cyrus transport.
>>
>> Simon
>>
>>>
>>> thanks
>>> Shelley Waltz
>>>
>>>
>>>
>>> On Thu, 23 Sep 2004, Simon Matter wrote:
>>>
>>>    > I experienced a strange behavior yesterday when a user tried to
>>> send
>>>    > a message to an alias which has over a hundred addresses.  I am
>>> running
>>>    > Cyrus 2.2.3(Simon's rpm) on RH EL3.
>>>    >
>>>    > In the log files, delivery to each address proceeds normally until
>>>    > cyrus encounters an account which is over quota.  Then delivery to
>>>    > the remainder of the addresses in the alias ceases.  Here is a
>>>    > section of the log ...
>>>    >
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[542]: mystore: starting txn
>>> 2147922132
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[542]: mystore: committing txn
>>> 2147922132
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[542]: duplicate_mark:
>>>    > <Pine.LNX.4.44.0409220918380.6991-100000 at lemur> .chunchu+ at .sieve.
>>>    > 1095863203 0
>>>    > Sep 22 10:26:43 chipmunk postfix/pipe[569]: A72D549C011:
>>>    > to=<chunchu at cabm.rutgers.edu>,
>>> orig_to=<all_cabm at cabm.rutgers.edu>,
>>>    > relay=cyrus, delay=370
>>>    > 0, status=sent (cabm.rutgers.edu)
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[472]: accepted connection
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[472]: lmtp connection preauth'd
>>> as
>>>    > postman
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[472]: duplicate_check:
>>>    > <Pine.LNX.4.44.0409220918380.6991-100000 at lemur> user.ciano
>>>    > 1095859504
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[472]: dupelim: eliminated
>>> duplicate
>>>    > message to user.ciano id
>>> <Pine.LNX.4.44.0409220918380.6991-100000 at lemur>
>>>    > (del
>>>    > ivery)
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[472]: mystore: starting txn
>>> 2147922133
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[472]: mystore: committing txn
>>> 2147922133
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[472]: duplicate_mark:
>>>    > <Pine.LNX.4.44.0409220918380.6991-100000 at lemur> .ciano+ at .sieve.
>>>    > 1095863203 0
>>>    > Sep 22 10:26:43 chipmunk postfix/pipe[569]: A72D549C011:
>>>    > to=<ciano at cabm.rutgers.edu>, orig_to=<all_cabm at cabm.rutgers.edu>,
>>>    > relay=cyrus, delay=3700,
>>>    >  status=sent (cabm.rutgers.edu)
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[542]: accepted connection
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[542]: lmtp connection preauth'd
>>> as
>>>    > postman
>>>    > Sep 22 10:26:43 chipmunk lmtpunix[542]: append_check() of
>>> 'user.cooper'
>>>    > failed (Over quota)
>>>    > Sep 22 10:26:43 chipmunk postfix/pipe[569]: A72D549C011:
>>>    > to=<cooper at cabm.rutgers.edu>, orig_to=<all_cabm at cabm.rutgers.edu>,
>>>    > relay=cyrus, delay=3700
>>>    > , status=deferred (temporary failure)
>>>    >
>>>    >
>>>    > After the last log entry, delivery to the remainin addresses did
>>> not
>>>    > occur.
>>>    >
>>>    > Any ideas are appreciated.
>>>
>>>    Are you using the old cyrus transport in postfix instead of LMTP?
>>> Maybe
>>>    you want to try
>>>
>>>    mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
>>>
>>>    instead.
>>>
>>>    Simon
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
>


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




More information about the Info-cyrus mailing list