-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Arun Gupta wrote: > > I read about Snarf plugin, it works if the mail already in spool > area, but I want to know whether it is possible if users quota > exceeded then instead of mail rejected it should delived to user > spool area or somewhere else.
I understand and you should consider Charles' advice :-) This is something your MDA should do. Neither the Dovecot LMTP server nor the current Dovecot deliver can do so. But deliver is rather small, so you could hack it in. Or use Dovecot deliver in combination with Snarf and a MDA wrapper, e.g.: The wrapper script first checks, if the recipient is over quota, in that case use another maildrop programm, such as procmail, that delivers the message to a spool area; otherwise call Dovecot deliver with the usual arguments. Or if you call Dovecot deliver and it exits with exit code 69 (Tempfailure), call that other MDA. Then let Snarf pull the messages into the INBOX next time. - -- Steffen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEVAwUBUadrp13r2wJMiz2NAQIpiAf+JSeuZns89NoJV5aW2Li4myLp209HycHt j3varTiBYgekw1vMAhDXYH/RKnMwWlOFSe15YIMTcCIY8gjTIqCx6YA/W1cJVZL+ 3zRVA/75t3CsAFx70/+fecrZJnY6u0Ok7VUXJ4DAxdJgsOyqXZy9/6bt+t43TcaT pUlug3nAmIP9GwZ2GQFGkEFxfD74EPVRVg8opAZzTaSPuv/IfKsC8f4RA64JtQ2S EACc/nEC4xVmjDAz/9cpLLsWiLlYfy/cEDIw49XA2MrQsIIS7qkHcDLawuqsVsAk HHXX/iqmcRBtznpO94XS9SCtvUa/5fDkVYv56uuDazEHpy4urBrtyA== =Qo2f -----END PGP SIGNATURE-----