[Dovecot] sieve reject to wrong address?

Felix Rubio Dalmau felixrubiodalmau at gmail.com
Mon Jan 14 18:48:09 EET 2013


Hi all,

	I have succeed in setting up postfix (to send/receive emails), dovecot to 
access the folders via IMAP, all using TLS and sieve under dovecot to manage 
filters. I have also set up a sieve rule to reject those mails whose size exceeds 
2 MB... and I'm really proud of everything, because it is my first time!!

	However, when rejecting the mail, instead of sending a mail saying "I'm 
sorry blah, blah, blah" to the originary sender, it is sent to the final 
recipient (that is, me).

	Do you know how to solve it? Is it a problem from sieve or dovecot? I think 
is some misconfiguration of my dovecot installation, because the sieve rule is:

################
if size :over 2M {
   reject text:
Ho sento, no accepto cap correu de mes de 2MB de tamany. Sisplau, puja els 
fitxers mes grans a un servidor i envia'm un link. Gracies.

I'm sorry, I do not accept mail over 2 MB in size. Please upload larger files to 
a server and send me a link. Thanks.
.
    ;
}
################

dovecot log looks like:

Jan 14 17:34:16 server dovecot: lda(felix at server): sieve: 
msgid=<201301141734.16203.felix at server>: rejected message from <felix at server> 
(reject)
Jan 14 17:34:16 server postfix/cleanup[2011]: 2B59CB59: message-
id=<dovecot-1358181256-51155-0 at server>
Jan 14 17:34:16 server postfix/pipe[2012]: 311AF4E0: to=<felix at server>, 
relay=dovecot, delay=1, delays=0.81/0.02/0/0.19, dsn=2.0.0, status=sent 
(delivered via dovecot service)


Thank you!
-- 
Felix Rubio Dalmau
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3458 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130114/b79cd2cb/attachment-0002.bin>


More information about the dovecot mailing list