Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    8

    Question Abwesenheitsbenachrichtigung wird nicht verschickt

    Hallo Forum,
    ich habe ein Problem mit der Abwesenheitsbenachrichtigung.
    Diese wird nicht verschickt.

    1. Mailfilter funktioniert
    2. Sieve Filter-script wird erstellt.
    Code:
    # Generated by OX Sieve Bundle on Mon Jul 04 13:08:36 CEST 2011
    require [ "vacation" , "fileinto" , "regex" ] ;
    
    ## Flag: vacation|UniqueId:0|Rulename: Abwesenheitsbenachrichtigung
    if true 
    {
        vacation :days 7 :addresses "email@email.de" :subject "Test abwesenheit" "Test" ;
    }
    
    ## Flag: |UniqueId:1|Rulename: Neue Regel
    if header :regex "From" "root" 
    {
        fileinto "INBOX/Spam" ;
        stop ;
    }
    3. Folgendes ist im Log zu finden, wenn eine Mail bei aktivierter Abwesenheitsbenachrichtigung eintrifft
    Code:
    Jul  4 13:21:22 cnomx01 postfix/cleanup[568]: 3D6B263C086: hold: header Received: by cnomx01.email.de (Postfix, from userid 0)??id 3D6B263C086; Mon,  4 Jul 2011 13:21:22 +0200 (CEST) from local; from=<root@email.de> to=<m.holstein@email.de>
    Jul  4 13:21:22 cnomx01 postfix/cleanup[568]: 3D6B263C086: message-id=<20110704112122.3D6B263C086@cnomx01.email.de>
    Jul  4 13:21:23 cnomx01 MailScanner[32122]: New Batch: Scanning 1 messages, 529 bytes
    Jul  4 13:21:23 cnomx01 MailScanner[32122]: Expired 3 records from the SpamAssassin cache
    Jul  4 13:21:23 cnomx01 MailScanner[32122]: Virus and Content Scanning: Starting
    Jul  4 13:21:31 cnomx01 MailScanner[32122]: Requeue: 3D6B263C086.18630 to AE78163C2F1
    Jul  4 13:21:31 cnomx01 postfix/qmgr[13628]: AE78163C2F1: from=<root@email.de>, size=307, nrcpt=1 (queue active)
    Jul  4 13:21:31 cnomx01 MailScanner[32122]: Uninfected: Delivered 1 messages
    Jul  4 13:21:31 cnomx01 MailScanner[32122]: Logging message 3D6B263C086.18630 to SQL
    Jul  4 13:21:31 cnomx01 MailScanner[332]: 3D6B263C086.18630: Logged to MailWatch SQL
    Jul  4 13:21:31 cnomx01 cyrus/master[581]: about to exec /usr/lib/cyrus/bin/lmtpd
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: executed
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: telling master 2
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: accepted connection
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: telling master 3
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: lmtp connection preauth'd as postman
    Jul  4 13:21:31 cnomx01 cyrus/master[13690]: service lmtpunix pid 581 in READY state: now unavailable and in BUSY state
    Jul  4 13:21:31 cnomx01 cyrus/master[13690]: service lmtpunix now has 0 ready workers
    Jul  4 13:21:31 cnomx01 cyrus/master[13690]: service lmtpunix pid 581 in BUSY state: now serving connection
    Jul  4 13:21:31 cnomx01 cyrus/master[13690]: service lmtpunix now has 0 ready workers
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: duplicate_check:  ¦i^]¦¦¦¦¦jwk¦^E¦                         m^holstein           1310127698
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: duplicate_check: <20110704112122.3D6B263C086@cnomx01.email.de> user.m^holstein      0
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: duplicate_check: <20110704112122.3D6B263C086@cnomx01.email.de> user.m^holstein      0
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: mystore: starting txn 2147485808
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: mystore: committing txn 2147485808
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: duplicate_mark: <20110704112122.3D6B263C086@cnomx01.email.de> user.m^holstein      1309778491 134539339
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: Delivered: <20110704112122.3D6B263C086@cnomx01.email.de> to mailbox: user.m^holstein
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: mystore: starting txn 2147485809
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: mystore: committing txn 2147485809
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: duplicate_mark: <20110704112122.3D6B263C086@cnomx01.email.de> .m^holstein+@.sieve. 1309778491 0
    Jul  4 13:21:31 cnomx01 cyrus/lmtpunix[581]: telling master 1
    Jul  4 13:21:31 cnomx01 postfix/pipe[579]: AE78163C2F1: to=<m.holstein@email.de>, relay=cyrus, delay=9.6, delays=9/0.06/0/0.56, dsn=2.0.0, status=sent (delivered via cyrus service)
    Jul  4 13:21:31 cnomx01 cyrus/master[13690]: service lmtpunix pid 581 in BUSY state: now available and in READY state
    Jul  4 13:21:31 cnomx01 postfix/qmgr[13628]: AE78163C2F1: removed
    Jul  4 13:21:31 cnomx01 cyrus/master[13690]: service lmtpunix now has 1 ready workers
    4. Hier die mailfilter.properties
    Code:
    # Specify which sieve server should be used. Two options are allowed here:
    # user : use the imap server setting stored for user in the database
    # global : use the sieve server given in this config file for all users
    SIEVE_LOGIN_TYPE=user
    # Specify which sieve credentials should be use. Two options are allowed here:
    # "session" : login name and password are used from the current session
    # "imapLogin" : the login name is taken from the field imapLogin of the current
    #               user the password is taken from the current session
    # "mail" : use the primary mail address of the user and the password from the
    #          session
    SIEVE_CREDSRC=session
    ##SIEVE_CREDSRC=imapLogin
    
    # to override the  sieve server defaults specify a value for the sieve server here
    SIEVE_SERVER=localhost
    SIEVE_PORT=2000
    # If you want the script to be generated with another script name change it here.
    # Note that the mail filter bundle will then leave the old script with the old
    # script name behind, and doesn't delete it
    SCRIPT_NAME=Open-Xchange
    # Define the charset encoding to use for authentication to sieve server
    SIEVE_AUTH_ENC=UTF-8
    # Define the regex which recognizes servers with incorrect sieve TLS implementation
    NON_RFC_COMPLIANT_TLS_REGEX=^Cyrus.*v([0-1]\\.[0-9].*|2\\.[0-2].*|2\\.3\\.[0-9]|2\\.3\\.[0-9][^0-9].*)$
    # Whether to use TLS if available
    TLS=true
    # Specify here if vacation messages should only be sent to specific domains
    # If multiple domains are given, they should be separated by ","
    # e.g. VACATION_DOMAINS=testdomain.com,example.com
    VACATION_DOMAINS=
    # Specifies when the connection should time out (value in milliseconds)
    com.openexchange.mail.filter.connectionTimeout=30000
    # Set the password source; meaning which source is taken to determine a user's
    # password to login into mail filter system. If 'session' is set, then user's individual
    # system's password is taken. If 'global' is set, then the value specified through
    # property 'com.openexchange.mail.filter.masterPassword' is taken.
    # Currently known values: session and global
    com.openexchange.mail.filter.passwordSource=session
    # The master password for mail/transport server. Only takes effect when property
    # "com.openexchange.mail.filter.passwordSource" is set to "global"
    com.openexchange.mail.filter.masterPassword=
    # Cyrus imap server uses MODIFIED UTF-7 encoding for folder names in older versions.
    # This has to be set to 'true' if a cyrus imap server is used whose version is lower than 2.3.11.
    # Otherwise moving mails with the 'fileinto' command will not work for mail folders with special characters in their names.
    ##com.openexchange.mail.filter.useUTF7FolderEncoding=false
    com.openexchange.mail.filter.useUTF7FolderEncoding=true
    5. OX Version 6.20.0 Rev8 (2011-04-21 12:40:37), Cyrus
    6. Cyrus Version
    Code:
    name       : Cyrus IMAPD
    version    : v2.2.13-Debian-2.2.13-14+lenny3 2006/12/19 19:32:59
    vendor     : Project Cyrus
    support-url: http://asg.web.cmu.edu/cyrus
    os         : Linux
    os-version : 2.6.26-2-686
    environment: Built w/Cyrus SASL 2.1.22
                 Running w/Cyrus SASL 2.1.22
                 Built w/Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
                 Running w/Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
                 Built w/OpenSSL 0.9.8g 19 Oct 2007
                 Running w/OpenSSL 0.9.8g 19 Oct 2007
                 CMU Sieve 2.2
                 TCP Wrappers
                 NET-SNMP
                 mmap = shared
                 lock = fcntl
                 nonblock = fcntl
                 idle = poll
    7. Postfix 2.5.5

    Wo kann ich noch suchen? Ich bin mit meinem Latein ziemlich am Ende.

    Danke im voraus

  2. #2

    Default

    Hallo,

    die E-Mail Adressen müssen schon zueinander passen. In dem Fall wird eine Mail an m.holstein@email.de wie man aus den Logs sehen kann. Unter addresses ist in der Vacation aber nur email@email.de zu sehen. Ich denke mal das es sich bei der anderen Adresse um einen Alias handelt. Falls ja ist dieser unter E-Mail Adressen im Vacation Dialog aufgeführt, und es muss der Haken gesetzt sein. Falls sie in dem Dialog nicht auftaucht, ist die E-Mail Adresse im OX nicht als Alias eingerichtet. Dies sollte dann noch vorgenommen werden.

    Gruß,

    Dennis

  3. #3
    Join Date
    Apr 2009
    Posts
    8

    Default

    Hallo,
    ich habe das Problem lösen können.
    Und zwar wurde der return-path in den E-Mails nicht richtig gesetzt.
    Dort stand cyrus@hostname irgendwo wird daraus dann cyrus@unspecified- domain.
    Das klappt nicht.

    Folgende Änderungen habe ich in der master.cf gemacht:

    ALT
    cyrus unix - n n - - pipe
    flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}

    NEU
    cyrus unix - n n - - pipe
    flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -r ${sender} -m ${extension} ${user}

    So klappt es dann auch mit der Vacation notification. ;-)

    Warum ich das nicht schon eher gesehen habe, weiß ich allerdings nicht. :-(

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •