Sendmail and Cyrus quota

Gleb Smirnoff glebius at cell.sick.ru
Wed Sep 10 04:39:52 EDT 2003


On Wed, Sep 10, 2003 at 10:27:33AM +0200, Bob Tito wrote:
B> 
B> Gleb Smirnoff said:
B> >   By default sendmail accepts message to overquoted account, and
B> > after LMTP delivery failure, it puts into local spool.
B> >
B> >   How can I configure sendmail+Cyrus, to make sendmail answer
B> > "4.2.2 Over quota" in SMTP dialog with remote host, and do not
B> > garbage my local spool?
B> 
B> in /etc/imapd.conf:
B> lmtp_overquota_perm_failure: yes

It doesn't helps :(

MAIL FROM: <>
250 2.1.0 <>... Sender ok
RCPT TO: user at xxxxx.ru
250 2.1.5 user at xxxxx.ru... Recipient ok
DATA
354 Enter mail, end with "." on a line by itself

test quota
.
250 2.0.0 h8A8b971017443 Message accepted for delivery
QUIT

At this time in maillog:
Sep 10 08:37:33 <mail.info> relay sm-mta[17443]: h8A8b971017443: from=<>, size=12, class=0, nrcpts=1, msgid=<200309100837.h8A8b971017443 at relay.xxxxx.ru>, proto=ESMTP, daemon=MTA, relay=glebius at snark.rinet.ru [195.54.192.73]
Sep 10 08:37:33 <mail.info> relay sm-mta[17445]: h8A8b971017443: to=user at xxxxx.ru, delay=00:00:06, xdelay=00:00:00, mailer=cyrusv2, pri=30001, relay=localhost, dsn=4.2.2, stat=Deferred: 452 4.2.2 Over quota

And message is put to mail spool.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE




More information about the Info-cyrus mailing list