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@server): sieve: msgid=201301141734.16203.felix@server: rejected message from felix@server (reject) Jan 14 17:34:16 server postfix/cleanup[2011]: 2B59CB59: message- id=dovecot-1358181256-51155-0@server Jan 14 17:34:16 server postfix/pipe[2012]: 311AF4E0: to=felix@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