[Dovecot] Patch for Dovecot's quota policy daemon
Hi Timo,
we wrote a simple Patch for the Dovecot quota policy daemon.
If a user is over quota, I prefer blocking the user sending e-mails, so I need a policy daemon, that's able to use the envelope or sasl sender as lookup key.
I'd be happy if that patch can become part of the normale Dovecot releases.
Peer
-------- Original-Nachricht -------- Betreff: Re: Fwd: Quota-Patch Datum: Wed, 11 Dec 2013 17:33:45 +0100 Von: Stephan Seitz s.seitz@heinlein-support.de Organisation: Heinlein Support GmbH An: Peer Heinlein p.heinlein@heinlein-support.de
Parameter r Code ENUM QUOTA_MATCH_RECIPIENT Stringmatch recipient=
${recipient}
This macro expands to the complete recipient
address.
A command-line argument that contains
${recipient} expands to as many command-line
arguments as there are recipients.
This information is modified by the hqu
flags for quoting and case folding.
Parameter S Code ENUM QUOTA_MATCH_SASLSENDER Stringmatch sasl_sender=
${sasl_sender}
This macro expands to the SASL sender name
(i.e. the original submitter as per RFC
4954) in the MAIL FROM command when the
Postfix SMTP server received the message.
This feature is available as of Postfix 2.2.
Parameter U Code ENUM QUOTA_MATCH_SASLUSER Stringmatch sasl_username=
${sasl_username}
This macro expands to the SASL user name in
the AUTH command when the Postfix SMTP
server received the message.
This feature is available as of Postfix 2.2.
Parameter s Code ENUM QUOTA_MATCH_SENDER Stringmatch sender=
${sender}
This macro expands to the envelope sender
address. By default, the null sender address
expands to MAILER-DAEMON; this can be
changed with the null_sender attribute, as
described above.
This information is modified by the q flag
for quoting.
-- Heinlein Support GmbH Schwedter Str. 8/9b, 10119 Berlin
http://www.heinlein-support.de
Tel: 030 / 405051-42 Fax: 030 / 405051-19
Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
participants (1)
-
Peer Heinlein