May be, that solution of yout problem is mailfromd http://puszcza.gnu.org.ua/software/mailfromd/

Dne 6.11.2012 08:59, Christian Rößner napsal:
Hi,

is there a sieve option that can reject a mail directly without
creating a new mail and sending that out? I know about

reject "Reject message goes here";

but I am looking for a mechanism that can reject Mail. Postfix can
use reject_unverified_recipient to connect to LMTP and ask if a mail
would successfully be enqueued and will return the status gotten from
the LMTP server if not. Chances are high that the mechanism would
work, too, if Dovecot would know about the sieve rule, while getting a
connection on LMTP. Does Dovecot know all rules at this point or is
sieve handled after the mail has already been accepted?

Kind regards

-Christian Rößner

--
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich

Reply via email to