<div dir="ltr">Hi all,<div>I still have this problem.</div><div><br></div><div>Vacation filter is working if I set the chek on TO = main address, but it doesn't on any alias.</div><div><br></div><div><div>The problem occurs when is involved a notification from sieve filter. Infact, if I choose action like "move mail" or "copy mail to" the filter works.</div>
</div><div><br></div><div>Looking at mail.log and comparing the result for both situation I get the following:<br></div><div><br></div><div><div>[ NOT Working example]</div><div>Jan 31 13:02:53 mail postfix/smtp[3470]: 34DA059A8: to=<<a href="mailto:antonio.straziota@example.com">antonio.straziota@example.com</a>>, orig_to=<<a href="mailto:antonio.straziota@oldexample.it">antonio.straziota@oldexample.it</a>>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.9, delays=1.8/0/0.02/5, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 40A9559F1)</div>
<div>Jan 31 13:02:48 mail postfix/cleanup[3469]: 34DA059A8: message-id=<002f01cf1e7c$59c75f50$0d561df0$@<a href="http://gmail.com">gmail.com</a>></div><div>Jan 31 13:02:48 mail postfix/qmgr[3567]: 34DA059A8: from=<<a href="mailto:antonio.straziota@gmail.com">antonio.straziota@gmail.com</a>>, size=4564, nrcpt=1 (queue active)</div>
<div>Jan 31 13:02:53 mail postfix/cleanup[3469]: 40A9559F1: message-id=<002f01cf1e7c$59c75f50$0d561df0$@<a href="http://gmail.com">gmail.com</a>></div><div>Jan 31 13:02:53 mail postfix/qmgr[3567]: 40A9559F1: from=<<a href="mailto:antonio.straziota@gmail.com">antonio.straziota@gmail.com</a>>, size=5072, nrcpt=1 (queue active)</div>
<div>Jan 31 13:02:53 mail amavis[3434]: (03434-05) Passed CLEAN {RelayedInbound}, [x.x.x.x]:3663 [y.y.y.y] <<a href="mailto:devgioiatech@gmail.com">devgioiatech@gmail.com</a>> -> <<a href="mailto:antonio.straziota@example.com">antonio.straziota@example.com</a>>, Queue-ID: 34DA059A8, Message-ID: <002f01cf1e7c$59c75f50$0d561df0$@<a href="http://gmail.com">gmail.com</a>>, mail_id: H61DrDYad2fY, Hits: -1.899, size: 4565, queued_as: 40A9559F1, 5022 ms</div>
<div>Jan 31 13:02:53 mail lmtpunix[3477]: duplicate_check: <002f01cf1e7c$59c75f50$0d561df0$@<a href="http://gmail.com">gmail.com</a>> <a href="http://example.com">example.com</a>!user.antonio^straziota 0</div><div>Jan 31 13:02:53 mail lmtpunix[3477]: Delivered: <002f01cf1e7c$59c75f50$0d561df0$@<a href="http://gmail.com">gmail.com</a>> to mailbox: <a href="http://example.com">example.com</a>!user.antonio^straziota</div>
<div>Jan 31 13:02:53 mail lmtpunix[3477]: duplicate_mark: <002f01cf1e7c$59c75f50$0d561df0$@<a href="http://gmail.com">gmail.com</a>> <a href="http://example.com">example.com</a>!user.antonio^straziota 1391169773 2704</div>
<div>Jan 31 13:02:53 mail lmtpunix[3477]: duplicate_mark: <002f01cf1e7c$59c75f50$0d561df0$@<a href="http://gmail.com">gmail.com</a>> .antonio^straziota+@example.com.sieve. 1391169773 0</div><div><br></div><div>[ Working example]</div>
<div><br></div><div>Jan 31 13:04:00 mail postfix/cleanup[3469]: 322205076: message-id=<003401cf1e7c$83cc5c60$8b651520$@<a href="http://gmail.com">gmail.com</a>></div><div>Jan 31 13:04:00 mail postfix/qmgr[3567]: 322205076: from=<<a href="mailto:devgioiatech@gmail.com">devgioiatech@gmail.com</a>>, size=4566, nrcpt=1 (queue active)</div>
<div>Jan 31 13:04:05 mail postfix/cleanup[3469]: 6D70351E1: message-id=<003401cf1e7c$83cc5c60$8b651520$@<a href="http://gmail.com">gmail.com</a>></div><div>Jan 31 13:04:05 mail postfix/qmgr[3567]: 6D70351E1: from=<<a href="mailto:devgioiatech@gmail.com">devgioiatech@gmail.com</a>>, size=5074, nrcpt=1 (queue active)</div>
<div>Jan 31 13:04:05 mail amavis[3434]: (03434-06) Passed CLEAN {RelayedInbound}, [x.x.x.x]:3664 [y.y.y.y] <<a href="mailto:devgioiatech@gmail.com">devgioiatech@gmail.com</a>> -> <<a href="mailto:antonio.straziota@example.com">antonio.straziota@example.com</a>>, Queue-ID: 322205076, Message-ID: <003401cf1e7c$83cc5c60$8b651520$@<a href="http://gmail.com">gmail.com</a>>, mail_id: iobSmsZ0Mpa4, Hits: -1.899, size: 4567, queued_as: 6D70351E1, 5047 ms</div>
<div>Jan 31 13:04:05 mail lmtpunix[3477]: duplicate_check: <003401cf1e7c$83cc5c60$8b651520$@<a href="http://gmail.com">gmail.com</a>> <a href="http://example.com">example.com</a>!user.antonio^straziota 0</div><div>Jan 31 13:04:05 mail lmtpunix[3477]: Delivered: <003401cf1e7c$83cc5c60$8b651520$@<a href="http://gmail.com">gmail.com</a>> to mailbox: <a href="http://example.com">example.com</a>!user.antonio^straziota</div>
<div>Jan 31 13:04:05 mail lmtpunix[3477]: duplicate_mark: <003401cf1e7c$83cc5c60$8b651520$@<a href="http://gmail.com">gmail.com</a>> <a href="http://example.com">example.com</a>!user.antonio^straziota 1391169845 2705</div>
<div>Jan 31 13:04:05 mail lmtpunix[3477]: duplicate_mark: <003401cf1e7c$83cc5c60$8b651520$@<a href="http://gmail.com">gmail.com</a>> .antonio^straziota+@example.com.sieve. 1391169845 0</div><div>Jan 31 13:04:06 mail amavis[3245]: (03245-16) Passed CLEAN {RelayedOpenRelay}, <> -> <<a href="mailto:devgioiatech@gmail.com">devgioiatech@gmail.com</a>>, Message-ID: <cmu-sieve-3477-1391169845-0@vps34173>, mail_id: BRwwsVchH5dF, Hits: -1.901, size: 565, queued_as: 5DDF751E1, 848 ms</div>
<div>Jan 31 13:04:06 mail postfix/smtp[3470]: 8CBE159F4: to=<<a href="mailto:devgioiatech@gmail.com">devgioiatech@gmail.com</a>>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.89, delays=0.03/0/0.01/0.85, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5DDF751E1)</div>
<div>Jan 31 13:04:06 mail postfix/smtp[4667]: 5DDF751E1: to=<<a href="mailto:devgioiatech@gmail.com">devgioiatech@gmail.com</a>>, relay=<a href="http://mx1.gmail.com">mx1.gmail.com</a>[x.x.x.x]:25, delay=0.37, delays=0.03/0.03/0.19/0.12, dsn=2.0.0, status=sent (250 Requested mail action okay, completed)</div>
</div><div><br></div><div><br></div><div>Anybody has an idea on how to solve this?</div><div><br></div><div>Thanks,</div><div>Antonio.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013-10-01 Antonio Straziota <span dir="ltr"><<a href="mailto:devgioiatech@gmail.com" target="_blank">devgioiatech@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, always me.<div><br></div><div>I'm trying to check what happens if I use another sieve client.</div>
<div><br></div><div>- I tryed with sieveshell, but I get:</div><div><div># sieveshell --user=<a href="mailto:antonio.straziota@example.com" target="_blank">antonio.straziota@example.com</a> localhost</div>
<div>connecting to localhost</div><div>unable to connect to server at /usr/bin/sieveshell line 170.</div></div><div><br></div><div>- I tried to install smartsieve but I cannot login and in mail.log I get:</div><div><br></div>
<div><div>Oct 1 16:05:43 mail master[4039]: about to exec /usr/lib/cyrus-imapd/timsieved</div><div>Oct 1 16:05:43 mail sieve[4039]: executed</div><div>Oct 1 16:05:43 mail sieve[4039]: accepted connection</div><div>Oct 1 16:05:43 mail sieve[4039]: imapd:Loading hard-coded DH parameters</div>
<div>Oct 1 16:05:43 mail sieve[4039]: SSL_accept() incomplete -> wait</div><div>Oct 1 16:05:43 mail sieve[4039]: SSL_accept() succeeded -> done</div><div>Oct 1 16:05:43 mail sieve[4039]: starttls: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits new) no authentication</div>
<div>Oct 1 16:05:43 mail sieve[4039]: ptload(): fetched cache record (<a href="mailto:antonio.straziota@example.com" target="_blank">antonio.straziota@example.com</a>)(mark 1380632133, current 1380636343, limit 1380625543)</div>
<div>Oct 1 16:05:43 mail sieve[4039]: ptload returning data</div>
<div>Oct 1 16:05:43 mail sieve[4039]: canonified <a href="mailto:antonio.straziota@example.com" target="_blank">antonio.straziota@example.com</a> -> <a href="mailto:antonio.straziota@example.com" target="_blank">antonio.straziota@example.com</a></div>
<div>Oct 1 16:05:43 mail sieve[4039]: login: <a href="http://mail.example.com" target="_blank">mail.example.com</a>[x.x.x.x] antonio^<a href="mailto:straziota@example.com" target="_blank">straziota@example.com</a> PLAIN+TLS User logged in</div>
<div>Oct 1 16:05:43 mail sieve[4039]: Lost connection to client -- exiting</div>
<div>Oct 1 16:05:43 mail master[1924]: process 4039 exited, status 0</div></div><div><br></div><div>- if I make a telnet:</div><div><div><br></div><div># telnet localhost sieve</div><div>Trying ::1...</div><div>Connected to localhost.localdomain.</div>
<div>Escape character is '^]'.</div><div>"IMPLEMENTATION" "Cyrus timsieved v2.4.17-Debian-2.4.17-5"</div><div>"SASL" ""</div><div>"SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify include envelope body relational regex subaddress copy"</div>
<div>"STARTTLS"</div><div>OK</div></div><div><br></div><div>Any help?</div><div><br></div><div>Antonio.</div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br>
<br><div class="gmail_quote">2013/10/1 Antonio Straziota <span dir="ltr"><<a href="mailto:devgioiatech@gmail.com" target="_blank">devgioiatech@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I can't get out from this issue.</div><div><br></div><div>How can I see if sieve script is invoked?</div>
<div>I can find it in directory</div><div>/var/lib/imap/sieve/domain/e/<a href="http://example.com/a/antonio" target="_blank">example.com/a/antonio</a>^straziota/Straziota.bc<br>
</div><div><br></div><div>but I don't know how to verify if it is invoked.</div><div><br></div><div>Any help?</div><div><br></div><div>Thanks,</div><div>A.</div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">
2013/9/30 Antonio Straziota <span dir="ltr"><<a href="mailto:devgioiatech@gmail.com" target="_blank">devgioiatech@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi again,<div>I'm trying to debug situation by myself and looking around the web.</div><div><br></div><div>I found other situation in which roundcube filters don't work.</div><div><br></div><div>Looking in mail.log I have found these suspicious row:</div>
<div><div>SQUAT failed to open index file</div><div>SQUAT failed</div></div><div><br></div><div>and also:</div><div><br></div><div><div>Sep 30 17:23:53 mail lmtpunix[4934]: ptload(): bad response from ptloader server: identifier not found</div>
<div>Sep 30 17:23:53 mail lmtpunix[4934]: No data available at all from ptload()</div><div>Sep 30 17:23:53 mail lmtpunix[4934]: ptload failed for antonio^<a href="mailto:straziota@example.com" target="_blank">straziota@example.com</a></div>
</div><div><br></div><div><br></div><div>Any idea what this means? I found other asking for this, but no reply to the question.</div><div><br></div><div>These are my configuration file for cyrus-imap</div><div><br></div>
<div>
<imapd.conf></div><div><br></div><div><div>configdirectory: /var/lib/imap</div><div>partition-default: /var/spool/imap</div><div>admins: cyrus-admin</div><div>sievedir: /var/lib/imap/sieve</div><div>sendmail: /usr/sbin/sendmail</div>
<div>sasl_pwcheck_method: auxprop saslauthd</div><div>sasl_mech_list: PLAIN LOGIN</div><div>allowplaintext: no</div><div>tls_cert_file: /etc/ssl/private/cyrus-imapd.pem</div><div>tls_key_file: /etc/ssl/private/cyrus-imapd.pem</div>
<div>tls_ca_file: /etc/ssl/private/cyrus-imapd.pem</div><div># uncomment this if you're operating in a DSCP environment (RFC-4594)</div><div># qosmarking: af13</div><div>auth_mech: pts</div><div>pts_module: ldap</div>
<div>ldap_servers: ldap://localhost:389</div><div>ldap_sasl: 0</div><div>ldap_base: dc=example,dc=com</div><div>ldap_bind_dn: uid=kolab-service,ou=Special Users,dc=example,dc=com</div><div>ldap_password: AAX1ttEE8v4EV4M</div>
<div>ldap_filter: (|(&(|(uid=cyrus-admin)(uid=cyrus-murder))(uid=%U))(&(|(uid=%U)(mail=%U@%d)(mail=%U@%r))(objectclass=kolabinetorgperson)))</div><div>ldap_user_attribute: mail</div><div>ldap_group_base: dc=example,dc=com</div>
<div>ldap_group_filter: (&(cn=%u)(objectclass=ldapsubentry)(objectclass=nsroledefinition))</div><div>ldap_group_scope: one</div><div>ldap_member_base: ou=People,dc=example,dc=com</div><div>ldap_member_method: attribute</div>
<div>ldap_member_attribute: nsrole</div><div>ldap_restart: 1</div><div>ldap_timeout: 10</div><div>ldap_time_limit: 10</div><div>unixhierarchysep: 1</div><div>virtdomains: userid</div><div>annotation_definitions: /etc/imapd.annotations.conf</div>
<div>sieve_extensions: fileinto reject envelope body vacation imapflags notify include regex subaddress relational copy</div><div>allowallsubscribe: 0</div><div>allowusermoves: 1</div><div>altnamespace: 1</div><div>hashimapspool: 1</div>
<div>anysievefolder: 1</div><div>fulldirhash: 0</div><div>sieveusehomedir: 0</div><div>sieve_allowreferrals: 0</div><div>lmtp_downcase_rcpt: 1</div><div>lmtp_fuzzy_mailbox_match: 1</div><div>username_tolower: 1</div><div>
deletedprefix: DELETED</div><div>delete_mode: delayed</div><div>expunge_mode: delayed</div><div>flushseenstate: 1</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div><br></div><div><cyrus.conf></div>
<div># standard standalone server implementation</div><div><br></div><div>START {</div><div> # do not delete this entry!</div><div> recover cmd="ctl_cyrusdb -r"</div><div><br></div><div> # this is only necessary if using idled for IMAP IDLE</div>
<div> idled cmd="idled"</div><div>}</div><div><br></div><div># UNIX sockets start with a slash and are put into /var/lib/imap/sockets</div><div>SERVICES {</div><div> # add or remove based on preferences</div>
<div> imap cmd="imapd" listen="imap" prefork=5</div><div> imaps cmd="imapd -s" listen="imaps" prefork=1</div><div> pop3 cmd="pop3d" listen="pop3" prefork=3</div>
<div> pop3s cmd="pop3d -s" listen="pop3s" prefork=1</div></div><div> sieve cmd="timsieved" listen="sieve" prefork=0<br></div><div><div><br></div><div>
ptloader cmd="ptloader" listen="/var/lib/imap/ptclient/ptsock" prefork=0</div><div><br></div><div> # these are only necessary if receiving/exporting usenet via NNTP</div><div> #nntp cmd="nntpd" listen="nntp" prefork=3</div>
<div> #nntps cmd="nntpd -s" listen="nntps" prefork=1</div><div><br></div><div> # at least one LMTP is required for delivery</div><div> #lmtp cmd="lmtpd" listen="lmtp" prefork=0</div>
<div> lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1</div><div><br></div><div> # this is only necessary if using notifications</div><div> notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1</div>
<div>}</div><div><br></div><div>EVENTS {</div><div> # this is required</div><div> checkpoint cmd="ctl_cyrusdb -c" period=30</div><div><br></div><div> # this is only necessary if using duplicate delivery suppression,</div>
<div> # Sieve or NNTP</div><div> duplicate_prune cmd="cyr_expire -E 3" at=0400</div><div><br></div><div> # Expire data older then 69 days. Two full months of 31 days</div><div> # each includes two full backup cycles, plus 1 week margin</div>
<div> # because we run our full backups on the first sat/sun night</div><div> # of each month.</div><div> delete_prune cmd="cyr_expire -E 4 -D 69" at=0430</div><div> expunge_prune cmd="cyr_expire -E 4 -X 69" at=0445</div>
<div><br></div><div> # this is only necessary if caching TLS sessions</div><div> tlsprune cmd="tls_prune" at=0400</div><div><br></div><div> # Create search indexes regularly</div><div> squatter cmd="squatter -s -i" at=0530</div>
<div>}</div></div><div><br></div><div>Thanks.</div><div>A.</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/27 Antonio Straziota <span dir="ltr"><<a href="mailto:devgioiatech@gmail.com" target="_blank">devgioiatech@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div>any news?</div><div><br></div><div>I'm trying to search a way to debug the problem, but I can't.</div>
<div><br></div><div>I can see that filter was applied (in /var/log/roundcubemail/sieve), but no email is sent when i get an email which match filter condition.</div>
<div>I tried to change action in "move in folder" and, also in this case, no action is taken by the filter.</div><div><br></div><div>Any idea?</div><div><br></div><div>Any help wold be apreciated.</div><div><br>
</div><div>Thanks,</div><div>Antonio.</div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/25 ITADMIN GT <span dir="ltr"><<a href="mailto:devgioiatech@gmail.com" target="_blank">devgioiatech@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div>I've just installed kolab v3 on a Debian Wheezy.</div><div><br></div><div>I carried out the job with some little issue (i.e. /usr/lib64/mozldap/ldapsearch and libsoftokn3.so problem) but in the end it works.</div>
<div><br></div><div>I can send and receive email.</div><div><br></div><div>Now, I've a problem with the out of office notification. In details my situation is the following:</div><div><br></div><div>Primary domain: <a href="http://example.com" target="_blank">example.com</a></div>
<div>Secondary domani: <a href="http://oldexample.it" target="_blank">oldexample.it</a></div><div><br></div><div>primary email address: <a href="mailto:antonio.straziota@example.com" target="_blank">antonio.straziota@example.com</a></div>
<div>secondary email address (on alias domain): <a href="mailto:antonio.straziota@oldexample.it" target="_blank">antonio.straziota@oldexample.it</a></div>
<div><br></div><div>I need that when someone send an email to <a href="mailto:antonio.straziota@oldexample.it" target="_blank">antonio.straziota@oldexample.it</a>, an out of office notification must be sent (for example: old email address is not active, please use the new one).</div>
<div><br></div><div>I tried to set a filter on roundcubemail like:</div><div><br></div><div>matching all of the following rules </div><div> to is equal to <a href="mailto:antonio.straziota@oldexample.it" target="_blank">antonio.straziota@oldexample.it</a></div>
<div><br></div><div>...execute the following actions:</div><div> Reply with message blablablalba</div><div><br></div><div><br></div><div>I tried to set the equal condition both with <a href="mailto:antonio.straziota@example.com" target="_blank">antonio.straziota@example.com</a> and <a href="mailto:antonio.straziota@oldexample.it" target="_blank">antonio.straziota@oldexample.it</a> but nothing happens. </div>
<div><br></div><div>Do you have any idea on how to make it work?</div><div><br></div><div>Thanks in Advance.<br></div><div><br></div><div>Antonio.</div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>