[Postfixbuch-users] Vacation-Problem mit Postfix/Cyrus/Sieve/Amavis

Ralf Boehm ralf.boehm at hs-magdeburg.de
Di Okt 20 17:28:07 CEST 2009


Hallo allerseits,

wir haben ein Problem bei der Nutzung der Abwesenheitsfunktion von sieve.
Der Absender erhaelt keine Abwesenheitsnotiz. Filtern und weiterleiten
dagegen funktioniert. Nachdem ich ca. 4h ohne Erfolg "rumgegoogelt" habe,
ist das hier meine letzte Hoffnung.

Unser System:
SUSE LINUX Enterprise Server 9 (x86_64)

mit:
cyrus-sasl-2.1.18-33.1
cyrus-sasl-crammd5-2.1.18-33.1
cyrus-sasl-plain-2.1.18-33.1
cyrus-sasl-32bit-9-200407011229
cyrus-sasl-digestmd5-2.1.18-33.1
cyrus-sasl-otp-2.1.18-33.1
cyrus-imapd-2.2.3-83.5
cyrus-sasl-gssapi-2.1.18-33.1
postfix-2.1.1-1.4

Ein telnet auf den sieve-Port zeigt:
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v2.2.3"
"SASL" "PLAIN GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
relational regex"
"STARTTLS"

Im Logfile ist folgendes zu finden:
/var/log/messages:
Oct 20 15:47:59 hrzserv12 lmtpunix[3343]: duplicate_check:
<659303.61663.qm at web27007.mail.ukl.yahoo.com> user.raboehm         0
Oct 20 15:47:59 hrzserv12 lmtpunix[3343]: mystore: starting txn 2147485793
Oct 20 15:47:59 hrzserv12 lmtpunix[3343]: mystore: committing txn 2147485793
Oct 20 15:47:59 hrzserv12 lmtpunix[3343]: duplicate_mark:
<659303.61663.qm at web27007.mail.ukl.yahoo.com> user.raboehm
1256046479 5699
Oct 20 15:47:59 hrzserv12 lmtpunix[3343]: mystore: starting txn 2147485794
Oct 20 15:47:59 hrzserv12 lmtpunix[3343]: mystore: committing txn 2147485794
Oct 20 15:47:59 hrzserv12 lmtpunix[3343]: duplicate_mark:
<659303.61663.qm at web27007.mail.ukl.yahoo.com> .raboehm+ at .sieve.
1256046479 0
/var/log/mail:
Oct 20 15:47:52 hrzserv12 postfix/smtpd[9690]: connect from
fhmdserv.ZKI.HS-Magdeburg.DE[193.175.12.1]
Oct 20 15:47:52 hrzserv12 postfix/smtpd[9690]: ABC923180AE:
client=fhmdserv.ZKI.HS-Magdeburg.DE[193.175.12.1]
Oct 20 15:47:52 hrzserv12 postfix/cleanup[10549]: ABC923180AE:
message-id=<659303.61663.qm at web27007.mail.ukl.yahoo.com>
Oct 20 15:47:52 hrzserv12 postfix/qmgr[9660]: ABC923180AE:
from=<rb_md_weg-170405 at yahoo.de>, size=2219, nrcpt=1 (queue active)
Oct 20 15:47:52 hrzserv12 postfix/smtpd[9690]: disconnect from
fhmdserv.ZKI.HS-Magdeburg.DE[193.175.12.1]
Oct 20 15:47:59 hrzserv12 postfix/smtpd[9979]: connect from
localhost[127.0.0.1]
Oct 20 15:47:59 hrzserv12 postfix/smtpd[9979]: 0A4AA3180AC:
client=localhost[127.0.0.1]
Oct 20 15:47:59 hrzserv12 postfix/cleanup[10545]: 0A4AA3180AC:
message-id=<659303.61663.qm at web27007.mail.ukl.yahoo.com>
Oct 20 15:47:59 hrzserv12 postfix/qmgr[9660]: 0A4AA3180AC:
from=<rb_md_weg-170405 at yahoo.de>, size=2787, nrcpt=1 (queue active)
Oct 20 15:47:59 hrzserv12 postfix/smtpd[9979]: disconnect from
localhost[127.0.0.1]
Oct 20 15:47:59 hrzserv12 postfix/smtp[13305]: ABC923180AE:
to=<raboehm at hrzserv12.zki.hs-magdeburg.de>, relay=127.0.0.1[127.0.0.1],
delay=7, status=sent (250 2.6.0 Ok, id=12678-05, from MTA: 250 Ok: queued
as 0A4AA3180AC)
Oct 20 15:47:59 hrzserv12 postfix/qmgr[9660]: ABC923180AE: removed
Oct 20 15:47:59 hrzserv12 postfix/lmtp[9988]: 0A4AA3180AC:
to=<raboehm at hrzserv12.zki.hs-magdeburg.de>,
relay=/var/imap/socket/lmtp[/var/imap/socket/lmtp], delay=0, status=sent
(250 2.1.5 Ok)
Oct 20 15:47:59 hrzserv12 postfix/qmgr[9660]: 0A4AA3180AC: removed

Das sieve-Script sieht so aus:
require "fileinto";
require "reject";
require "vacation";
require "regex";
vacation :days 21 :addresses ["ralf.boehm at hs-magdeburg.de"] text:
Das ist nur ein Test. Bitte ignorieren

.
;
keep;
stop;

Listing des Verzeichnisses:
l /usr/sieve/r/raboehm/
total 16
drwxr-x---   2 cyrus mail 4096 Oct 20 17:29 ./
drwxr-x---  34 cyrus mail 4096 Oct 16 21:01 ../
lrwxrwxrwx   1 cyrus mail   15 Oct  9 10:04 defaultbc -> filter.sieve.bc
-rw-------   1 cyrus mail  172 Oct 20 15:29 filter.sieve.bc
-rw-------   1 cyrus mail  249 Oct 20 15:29 filter.sieve.script

Die /etc/cyrus.conf
# standard standalone server implementation

START {
  recover       cmd="ctl_cyrusdb -r"
  mboxlist      cmd="ctl_cyrusdb -r"
  deliver       cmd="ctl_deliver -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/socket
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=0 maxfds=1024 maxchild=100
  imaps         cmd="imapd -s" listen="imaps" prefork=0 maxfds=1024
maxchild=100
  pop3          cmd="pop3d" listen="pop3" prefork=0
  pop3s         cmd="pop3d -s -C /etc/pop3d.conf" listen="pop3s" prefork=0
  sieve         cmd="timsieved" listen="sieve" prefork=0

  # at least one LMTP is required for delivery
  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
maxchild=100
}

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression
  delprune      cmd="cyr_expire -E 3" period=1440

  squatter      cmd="squatter -rs" period=180
}


--
MfG Boehm



Mehr Informationen über die Mailingliste Postfixbuch-users