Re: Question about cyrus/procmail
Wim Kerkhoff <[email protected]> Sat, 14 May 2005 21:39:19 -0700
| Newsgroups | gmane.comp.isp.ispman.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Uli, Uli Schellhaas wrote: > procmail wants to put some email into cyrus deliver program, and cyrus > does not accept it because of quota. > Postfix will try the 5 days to deliver it..... > Is there some way to bounce this directly, maybe have an nice error > report also send back ? 1) It's better to use LMTP to deliver messages from Postfix into Cyrus. For example, in main.cf: mailbox_transport = lmtp:127.0.0.1:555 or: mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp Using LMTP requires either a TCP or Unix domain socket. Example services for cyrus.conf: lmtplo cmd="lmtpd -a" listen="127.0.0.1:555" prefork=2 maxchild=100 lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=1 maxchild=20 In the Cyrus world, it's best to use Sieve for message filters rather then Procmail. 2) Tto help prevent the over quota situation to begin with, add this to Cyrus's imapd.conf: quotawarn: 90 quotawarnkb: 1024 (see man page for imapd.conf for descriptions of what each does) There is also an option to fail permanently, rather then retry for 5 days: lmtp_overquota_perm_failure: yes Regards, Wim ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click