Vacation messages only sent internally...

Gunnar Wrobel wrobel at pardus.de
Wed Feb 20 09:32:49 CET 2008


Adam Katz <kolab at khopis.com> writes:

> Gunnar Wrobel wrote:
>> I don't understand if you get the vacation response only to internal
>> mail addresses known to the kolab server of if they are sent but only
>> relayed if the original sender was an internal user. What does the
>> postfix log on the Kolab server tell you? And how does the sieve
>> script look like? Any information from the imap log available?
>
> The user's sieve rules and relevant portions of the mail.log are
> attached.  The included broke.log was created by my emailing the user
> (usera at domain.com) from an outside email server (no auto-response) and
> the included works.log was create by userb emailing usera from the
> kolab server (auto-response was sent immediately).  Cyrus logs to the
> same file, and there were no related cyrus/imap messages anywhere in
> the broken log.
>
> Additional notes from my original inquiry:
>>> Incoming mail passes through an extra relay that checks for spam
>>> before passing on to the kolab server (so my users can still view old
>>> mail and send new mail while somebody trashes my MX servers).  This
>>> relay uses forwards users to the kolab server (so user at domain.com goes
>>> to the relay, passes through spam/av filters, and is forwarded to
>>> internal address user at kolab).  I have tested listing user at kolab as one
>>> of the addresses in the webadmin's config to no avail.
>>>
>>> The "Only react to mail coming from domain ____" field is empty.
>
>
> Thanks for looking into this, Gunnar!

Hm, from the logs I can't determine the reason for sieve not
responding. Strange.

Then again: Your logs don't look like they don't originate from a
standard Kolab server. What kind of system are you using?

Cheers,

Gunnar

> -Adam
>
> Feb 19 13:19:58 kolab postfix/smtpd[3892]: connect from mail-relay.domain.com[66.238.211.190]
> Feb 19 13:19:58 kolab postfix/smtpd[3892]: 2B1233C8AD: client=mail-relay.domain.com[66.238.211.190]
> Feb 19 13:19:58 kolab postfix/cleanup[3644]: 2B1233C8AD: message-id=<Pine.GSO.4.58.0802191318230.8233 at external.server.com>
> Feb 19 13:19:58 kolab postfix/qmgr[12671]: 2B1233C8AD: from=<usera at domain.com>, size=2202, nrcpt=1 (queue active)
> Feb 19 13:19:58 kolab postfix/smtpd[3892]: disconnect from mail-relay.domain.com[66.238.211.190]
> Feb 19 13:19:58 kolab postfix/pickup[3267]: 3CC1B3C8B4: uid=111 from=<usera at domain.com>
> Feb 19 13:19:58 kolab postfix/pipe[3893]: 2B1233C8AD: to=<usera at domain.com>, orig_to=<usera at kolab.domain.com>, relay=spamc, delay=0.08, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered via spamc service)
> Feb 19 13:19:58 kolab postfix/qmgr[12671]: 2B1233C8AD: removed
> Feb 19 13:19:58 kolab postfix/cleanup[3275]: 3CC1B3C8B4: message-id=<Pine.GSO.4.58.0802191318230.8233 at external.server.com>
> Feb 19 13:19:58 kolab postfix/qmgr[12671]: 3CC1B3C8B4: from=<usera at domain.com>, size=2311, nrcpt=1 (queue active)
> Feb 19 13:19:58 kolab cyrus/master[3905]: about to exec /usr/lib/cyrus/bin/lmtpd
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: executed
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: accepted connection
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: connection from localhost [127.0.0.1] preauth'd as postman
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: duplicate_check: <Pine.GSO.4.58.0802191318230.8233 at external.server.com> domain.com!user.usera   0
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: duplicate_check: <Pine.GSO.4.58.0802191318230.8233 at external.server.com> domain.com!user.usera   0
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: mystore: starting txn 2147530597
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: mystore: committing txn 2147530597
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: duplicate_mark: <Pine.GSO.4.58.0802191318230.8233 at external.server.com> domain.com!user.usera   1203445198 134537643
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: Delivered: <Pine.GSO.4.58.0802191318230.8233 at external.server.com> to mailbox: domain.com!user.usera
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: mystore: starting txn 2147530598
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: mystore: committing txn 2147530598
> Feb 19 13:19:58 kolab cyrus/lmtp[3905]: duplicate_mark: <Pine.GSO.4.58.0802191318230.8233 at external.server.com> .usera+ at domain.com.sieve. 1203445198 0
> Feb 19 13:19:58 kolab postfix/pipe[3438]: 3CC1B3C8B4: to=<usera at domain.com>, relay=kolabmailboxfilter, delay=0.08, delays=0/0/0/0.08, dsn=2.0.0, status=sent (delivered via kolabmailboxfilter service)
> Feb 19 13:19:58 kolab postfix/qmgr[12671]: 3CC1B3C8B4: removed
>
>
> Feb 19 13:45:32 kolab postfix/smtpd[4522]: connect from office.domain.com[66.236.178.138]
> Feb 19 13:45:32 kolab cyrus/imaps[3537]: mydelete: starting txn 2147531046
> Feb 19 13:45:32 kolab cyrus/imaps[3537]: mydelete: committing txn 2147531046
> Feb 19 13:45:32 kolab cyrus/imaps[3537]: mystore: starting txn 2147531047
> Feb 19 13:45:32 kolab cyrus/imaps[3537]: mystore: committing txn 2147531047
> Feb 19 13:45:32 kolab cyrus/imaps[3537]: starttls: TLSv1 with cipher DES-CBC3-SHA (168/168 bits new) no authentication
> Feb 19 13:45:32 kolab postfix/smtpd[4522]: 5F07C53A8: client=office.domain.com[66.236.178.138], sasl_method=PLAIN, sasl_username=userb at domain.com
> Feb 19 13:45:32 kolab postfix/cleanup[4398]: 5F07C53A8: message-id=<47BB23C7.7040106 at domain.com>
> Feb 19 13:45:32 kolab postfix/qmgr[12671]: 5F07C53A8: from=<userb at domain.com>, size=1507, nrcpt=1 (queue active)
> Feb 19 13:45:32 kolab postfix/smtpd[4522]: disconnect from office.domain.com[66.236.178.138]
> Feb 19 13:45:32 kolab cyrus/imaps[4563]: accepted connection
> Feb 19 13:45:32 kolab cyrus/imaps[4563]: mydelete: starting txn 2147531048
> Feb 19 13:45:32 kolab cyrus/imaps[4563]: mydelete: aborting txn 2147531048
> Feb 19 13:45:32 kolab cyrus/imaps[4563]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits reused) no authentication
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: accepted connection
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: connection from localhost [127.0.0.1] preauth'd as postman
> Feb 19 13:45:32 kolab cyrus/imaps[4563]: login: office.domain.com [66.236.178.138] userb at domain.com plain+TLS User logged in
> Feb 19 13:45:32 kolab cyrus/imaps[4563]: seen_db: user userb at domain.com opened /var/lib/cyrus/domain/i/domain.com/user/u/userb.seen
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: duplicate_check: #«r\201/\227m\221^TRS^T¤                         usera at domain.com        0
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: starting txn 2147531049
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: committing txn 2147531049
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: duplicate_mark: #«r\201/\227m\221^TRS^T¤                         usera at domain.com        1204051532 0
> Feb 19 13:45:32 kolab postfix/pickup[4413]: 757375011C: uid=108 from=<>
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: starting txn 2147531050
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: committing txn 2147531050
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: duplicate_mark: <cmu-sieve-4556-1203446732-0 at kolab>   .usera at domain.com.sieve. 1203446732 0
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: duplicate_check: <47BB23C7.7040106 at domain.com>               domain.com!user.usera   0
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: duplicate_check: <47BB23C7.7040106 at domain.com>               domain.com!user.usera   0
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: starting txn 2147531051
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: committing txn 2147531051
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: duplicate_mark: <47BB23C7.7040106 at domain.com>               domain.com!user.usera   1203446732 134537643
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: Delivered: <47BB23C7.7040106 at domain.com> to mailbox: domain.com!user.usera
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: starting txn 2147531052
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: committing txn 2147531052
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: duplicate_mark: <47BB23C7.7040106 at domain.com>               .usera+ at domain.com.sieve. 1203446732 0
> Feb 19 13:45:32 kolab postfix/cleanup[4580]: 757375011C: message-id=<cmu-sieve-4556-1203446732-0 at kolab>
> Feb 19 13:45:32 kolab postfix/pipe[4554]: 5F07C53A8: to=<usera at domain.com>, relay=kolabmailboxfilter, delay=0.1, delays=0.01/0/0/0.09, dsn=2.0.0, status=sent (delivered via kolabmailboxfilter service)
> Feb 19 13:45:32 kolab postfix/qmgr[12671]: 5F07C53A8: removed
> Feb 19 13:45:32 kolab postfix/qmgr[12671]: 757375011C: from=<>, size=629, nrcpt=1 (queue active)
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: accepted connection
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: connection from localhost [127.0.0.1] preauth'd as postman
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: duplicate_check: <cmu-sieve-4556-1203446732-0 at kolab>   domain.com!user.userb    0
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: duplicate_check: <cmu-sieve-4556-1203446732-0 at kolab>   domain.com!user.userb    0
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: starting txn 2147531053
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: committing txn 2147531053
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: duplicate_mark: <cmu-sieve-4556-1203446732-0 at kolab>   domain.com!user.userb    1203446732 134537643
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: Delivered: <cmu-sieve-4556-1203446732-0 at kolab> to mailbox: domain.com!user.userb
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: starting txn 2147531054
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: mystore: committing txn 2147531054
> Feb 19 13:45:32 kolab cyrus/lmtp[4556]: duplicate_mark: <cmu-sieve-4556-1203446732-0 at kolab>   .userb+ at domain.com.sieve. 1203446732 0
> Feb 19 13:45:32 kolab postfix/pipe[4554]: 757375011C: to=<userb at domain.com>, relay=kolabmailboxfilter, delay=0.08, delays=0.01/0/0/0.07, dsn=2.0.0, status=sent (delivered via kolabmailboxfilter service)
> Feb 19 13:45:32 kolab postfix/qmgr[12671]: 757375011C: removed
>
>
> require ["relational", "comparator-i;ascii-numeric", "fileinto", "vacation"];
>
> if not header :contains "X-Spam-Score" "-" {
>   if header :value "ge" :comparator "i;ascii-numeric" ["X-Spam-Score"] ["7"]
>     { discard; stop; }
> }
>
> if header :contains "X-Spam-Flag" "YES" { keep; stop; }
> vacation :addresses [ "usera at domain.com", "usera at kolab" ] :days 7 text:
> I am out of office until 03/24/08.
> In urgent cases, please contact Mr. Other Person
>
> email: userb at domain.com
>
> Yours sincerely,
> --
> Vacation User
> .
> ;
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users

-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   >> Mail at ease - Rent a kolab groupware server at p at rdus <<                 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the users mailing list