asier.cidon at externo.uam.es
2012-Jul-30 07:06 UTC
[Dovecot] sieve vacation messages trouble
FROM:mailman-bounces at dovecot.org DATE:27. hein?kuuta 2012 16.58.35 UTC+3.00 TO:dovecot-owner at dovecot.org SUBJECT:CONTENT FILTERED MESSAGE NOTIFICATION The attached message matched the dovecot mailing list's content filtering rules and was prevented from being forwarded on to the list membership. ?You are receiving the only remaining copy of the discarded message. FROM:Asier Cidon Peria?ez <asier.cidon at externo.uam.es> DATE:27. hein?kuuta 2012 16.01.59 UTC+3.00 TO:dovecot at dovecot.org SUBJECT:RE: [DOVECOT] SIEVE VACATION MESSAGES TROUBLE Hi, I have a problem when I define a? Filter SIEVE vacation with Horde, Qmail and Dovecot. When I sent the message vacation for domains external, the log of postfix show <"<>"@mymachine>. I am writing you because I saw the post http://www.dovecot.org/list/dovecot/2009-June/040811.html Can you explain me whqt is the solution? Many Thanks.
Hello everybody, We have the same problem with the vacation response. Why dovecot leaves the from empty? Does it something to do with this NULL field? src/deliver/mail-send.c: smtp_client = smtp_client_open(return_addr, NULL, &f); We have tried changing that line for this one, with no success: src/deliver/mail-send.c: smtp_client = smtp_client_open(return_addr, src->fromaddr, &f); We also have tried different versions of dovecot an pigeonhole, but the error persists. Any help would be much appreciated. Thank you very much in advanced. Kind regards- H?ctor Moreno Blanco Divisi?n de Seguridad e Infraestructuras / Security and Infrastructures Division GMV Isaac Newton, 11 P.T.M. Tres Cantos E-28760 Madrid Tel. +34 91 807 21 00 Fax +34 91 807 21 99 www.gmv.com ? ? ? -----Mensaje original----- De: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] En nombre de asier.cidon at externo.uam.es Enviado el: lunes, 30 de julio de 2012 9:06 Para: dovecot at dovecot.org Asunto: [Dovecot] sieve vacation messages trouble FROM:mailman-bounces at dovecot.org DATE:27. hein?kuuta 2012 16.58.35 UTC+3.00 TO:dovecot-owner at dovecot.org SUBJECT:CONTENT FILTERED MESSAGE NOTIFICATION The attached message matched the dovecot mailing list's content filtering rules and was prevented from being forwarded on to the list membership. ?You are receiving the only remaining copy of the discarded message. FROM:Asier Cidon Peria?ez <asier.cidon at externo.uam.es> DATE:27. hein?kuuta 2012 16.01.59 UTC+3.00 TO:dovecot at dovecot.org SUBJECT:RE: [DOVECOT] SIEVE VACATION MESSAGES TROUBLE Hi, I have a problem when I define a? Filter SIEVE vacation with Horde, Qmail and Dovecot. When I sent the message vacation for domains external, the log of postfix show <"<>"@mymachine>. I am writing you because I saw the post http://www.dovecot.org/list/dovecot/2009-June/040811.html Can you explain me whqt is the solution? Many Thanks. ______________________ This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracion. ______________________
Il 30.07.2012 09:06 asier.cidon at externo.uam.es ha scritto:> FROM:mailman-bounces at dovecot.org > DATE:27. hein?kuuta 2012 16.58.35 UTC+3.00 > TO:dovecot-owner at dovecot.org > SUBJECT:CONTENT FILTERED MESSAGE NOTIFICATION > > The attached message matched the dovecot mailing list's content > filtering rules and was prevented from being forwarded on to the list > membership. ?You are receiving the only remaining copy of the > discarded message. > > FROM:Asier Cidon Peria?ez <asier.cidon at externo.uam.es> > DATE:27. hein?kuuta 2012 16.01.59 UTC+3.00 > TO:dovecot at dovecot.org > SUBJECT:RE: [DOVECOT] SIEVE VACATION MESSAGES TROUBLE > > Hi, > > I have a problem when I define a? Filter SIEVE vacation with Horde, > Qmail > and Dovecot. > > When I sent the message vacation for domains external, the log of > postfix > show <"<>"@mymachine>. > > I am writing you because I saw the post > http://www.dovecot.org/list/dovecot/2009-June/040811.html > > Can you explain me whqt is the solution? > > Many Thanks.Hi, this is a qmail-inject issue. You have to patch qmail-inject. See here for more info http://notes.sagredo.eu/node/133 regards Roberto
asier.cidon at externo.uam.es
2012-Aug-08 14:12 UTC
[Dovecot] sieve vacation messages trouble
The problem is solved!!!! In the library "src/lib-sieve/plugins/vacation/cmd-vacation.c", in the package "dovecot-sieve" or "dovecot-pigeonhole" modify: smtp_handle = sieve_smtp_open(senv, reply_to, NULL, &f); smtp_handle = sieve_smtp_open(senv, reply_to, reply_from, &f); You can check the correct operation in your logs. /var/log/maillog postfix/smtpd[27112]: connect from smtp.mydomain.com postfix/smtpd[27112]: A95D2168456: client=smtp.mydomain.com postfix/cleanup[27114]: A95D2168456: message-id=<A5BBC98AAF65424CADBFB6ACF0003E8B03FB4B74 at example.com> postfix/smtpd[27112]: disconnect from smtp.mydomain.com postfix/qmgr[17010]: A95D2168456: from=<asier.cidon at example.com>, size=7274, nrcpt=1 (queue active) postfix/pipe[27115]: A95D2168456: to=<asier.cidon at mydomain.com>, relay=dovecot, delay=0.09, delays=0.01/0/0/0.08, dsn=2.0.0, status=sent (delivered via dovecot service) postfix/qmgr[17010]: A95D2168456: removed /var/log/dovecot.log dovecot: auth(default): master out: USER 1 asier.cidon at mydomain.com uid=xxx gid=xxx quota_rule=*:bytes=524288000 home=/buzon/asier.cidon dovecot: deliver(asier.cidon at mydomain.com): sieve: msgid=<A5BBC98AAF65424CADBFB6ACF0003E8B03FB4B74 at example.com>: sent vacation response to <asier.cidon at example.com> dovecot: deliver(asier.cidon at mydomain.com): sieve: msgid=<A5BBC98AAF65424CADBFB6ACF0003E8B03FB4B74 at example.com>: stored mail into mailbox 'INBOX' /var/log/maillog postfix/pickup[17009]: B221D168458: uid=xxx from=<asier.cidon at mydomain.com> postfix/cleanup[27114]: B221D168458: message-id=<dovecot-sieve-1344420404-703760-0 at mda.mydomain.com> postfix/qmgr[17010]: B221D168458: from=<asier.cidon at mydomain.com>, size=661, nrcpt=1 (queue active) postfix/smtp[27195]: B221D168458: to=<asier.cidon at example.com>, relay=smtpinterno.mydomain.com, delay=0.04, delays=0.01/0/0.01/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A3A092280B3) postfix/qmgr[17010]: B221D168458: removed
Op 8/8/2012 4:12 PM, asier.cidon at externo.uam.es schreef:> The problem is solved!!!! > > > In the library "src/lib-sieve/plugins/vacation/cmd-vacation.c", in the > package "dovecot-sieve" or "dovecot-pigeonhole" modify: > > smtp_handle = sieve_smtp_open(senv, reply_to, NULL, &f); > smtp_handle = sieve_smtp_open(senv, reply_to, reply_from, &f);As pointed out earlier in this thread, this is a qmail issue. The SMTP MAIL FROM is set to <> on purpose: http://tools.ietf.org/html/rfc3834#section-3.3 http://tools.ietf.org/html/rfc5230#section-5.1 This prevents other automated responders from replying to this message, e.g. an MTA sending a delivery failure. This (among other safeguards) prevents mail loops. The above change is therefore not recommended. Regards, Stephan.