Out of office for a secondary email address

Antonio Straziota devgioiatech at gmail.com
Thu Feb 6 12:39:19 CET 2014


No one?


2014-02-04 18:07 GMT+01:00 Antonio Straziota <devgioiatech a gmail.com>:

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


More information about the users mailing list