A problem with sieve-vacation
Hello, although I read in the mailing list I could not discover what I configured wrong. "Reject" or "fileinto" is no problem, only "vacation". I know this topic has been discussed a few times, but I don´t get away with this problem alone. Thanks - Dietmar Rahlfs P.S.: If I forgot to write necessary information, please inform me. == My setting: sendmail version 8.11.2, cyrus-imapd 2.0.13. Linux kernel 2.2.19. Immediately before I edited /usr/sieve/r/rahlfs/default to change the vacation text. Then I sent an e-mail from the host felix to lrp where the cyrus IMAP cought it. /var/log/messages: May 18 09:29:46 lrp master[27712]: about to exec /usr/cyrus/bin/lmtpd May 18 09:29:46 lrp service-lmtpunix[27712]: executed May 18 09:29:46 lrp lmtpd[27712]: accepted connection May 18 09:29:46 lrp lmtpd[27712]: lmtp connection preauth'd as postman May 18 09:29:47 lrp master[75]: process 27712 exited, status 0 /var/log/mail May 18 09:29:46 lrp sendmail[27708]: f4I7TkX27708: from=<[EMAIL PROTECTED]>, size=312, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, relay=Felix.rz.fh-ulm.de [141.59.42.14] May 18 09:29:46 lrp sendmail[27710]: f4I7TkX27708: to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=120312, relay=cyrus, dsn=2.0.0, stat=Sent Mail file under /var/spool/imap/user: Return-Path: <[EMAIL PROTECTED]> X-Sieve: cmu-sieve 2.0 Return-Path: <[EMAIL PROTECTED]> Received: from felix.rz.fh-ulm.de (Felix.rz.fh-ulm.de [141.59.42.14]) by lrp.rz.fh-ulm.de (8.11.2/8.11.2) with ESMTP id f4I7TkX27708 for <[EMAIL PROTECTED]>; Fri, 18 May 2001 09:29:46 +0200 Received: (from root@localhost) by felix.rz.fh-ulm.de (8.9.3/8.9.3) id JAA00969 for [EMAIL PROTECTED]; Fri, 18 May 2001 09:29:47 +0200 Date: Fri, 18 May 2001 09:29:47 +0200 From: [EMAIL PROTECTED] Message-Id: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: zzz zzz /usr/sieve/r/rahlfs/default: require ["vacation","reject","fileinto"]; vacation "testing3"; In /etc/sendmail.cf (also tested without the P flag): Mcyrus, P=/usr/cyrus/bin/deliver, F=PlsDFMnqA5@/:SmXz, S=EnvFromL, R=EnvToL/HdrToL, U=cyrus:mail, T=DNS/RFC822/X-Unix, A=deliver -e -l Mcyrusbb, P=/usr/cyrus/bin/deliver, F=PlsDFMnu, S=EnvFromL, R=EnvToL/HdrToL, U=cyrus:mail, T=DNS/RFC822/X-Unix, A=deliver -e -l sendmail.mc: divert(0)dnl OSTYPE(linux) DOMAIN(generic) FEATURE(`always_add_domain') FEATURE(`nouucp',`reject') define(`confLOCAL_MAILER',`cyrus')dnl define(`confCW_FILE',`/etc/mail/local-host-names')dnl define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')dnl define(`CYRUS_MAILER_FLAGS', `A5@/:SmXz')dnl define(`CYRUS_MAILER_ARGS', `deliver -e -l')dnl define(`CYRUS_BB_MAILER_ARGS', `deliver -e -l')dnl define(`confMAX_MESSAGE_SIZE',`2500')dnl MAILER(local) MAILER(smtp) MAILER(cyrus) LOCAL_RULE_0 Rbb + $+ < @ $=w . > $#cyrusbb $: $1
Re: A problem with sieve-vacation
Try changing your script to: require ["vacation","reject","fileinto"]; vacation :addresses "[EMAIL PROTECTED]" "testing3"; Dietmar Rahlfs wrote: > > Hello, > > although I read in the mailing list I could not discover > what I configured wrong. > > "Reject" or "fileinto" is no problem, only "vacation". > > I know this topic has been discussed a few times, but I > don´t get away with this problem alone. > > Thanks - Dietmar Rahlfs > > P.S.: If I forgot to write necessary information, please > inform me. > > == > > My setting: > > sendmail version 8.11.2, cyrus-imapd 2.0.13. Linux kernel 2.2.19. > > Immediately before I edited /usr/sieve/r/rahlfs/default > to change the vacation text. Then I sent an e-mail from > the host felix to lrp where the cyrus IMAP cought it. > > /var/log/messages: > May 18 09:29:46 lrp master[27712]: about to exec /usr/cyrus/bin/lmtpd > May 18 09:29:46 lrp service-lmtpunix[27712]: executed > May 18 09:29:46 lrp lmtpd[27712]: accepted connection > May 18 09:29:46 lrp lmtpd[27712]: lmtp connection preauth'd as postman > May 18 09:29:47 lrp master[75]: process 27712 exited, status 0 > > /var/log/mail > May 18 09:29:46 lrp sendmail[27708]: f4I7TkX27708: > from=<[EMAIL PROTECTED]>, size=312, class=0, nrcpts=1, > msgid=<[EMAIL PROTECTED]>, proto=ESMTP, > daemon=MTA, relay=Felix.rz.fh-ulm.de [141.59.42.14] > May 18 09:29:46 lrp sendmail[27710]: f4I7TkX27708: > to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, > mailer=cyrus, pri=120312, relay=cyrus, dsn=2.0.0, stat=Sent > > Mail file under /var/spool/imap/user: > > Return-Path: <[EMAIL PROTECTED]> > X-Sieve: cmu-sieve 2.0 > Return-Path: <[EMAIL PROTECTED]> > Received: from felix.rz.fh-ulm.de (Felix.rz.fh-ulm.de [141.59.42.14]) > by lrp.rz.fh-ulm.de (8.11.2/8.11.2) with ESMTP id f4I7TkX27708 > for <[EMAIL PROTECTED]>; Fri, 18 May 2001 09:29:46 +0200 > Received: (from root@localhost) > by felix.rz.fh-ulm.de (8.9.3/8.9.3) id JAA00969 > for [EMAIL PROTECTED]; Fri, 18 May 2001 09:29:47 +0200 > Date: Fri, 18 May 2001 09:29:47 +0200 > From: [EMAIL PROTECTED] > Message-Id: <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: zzz > > zzz > > /usr/sieve/r/rahlfs/default: > > require ["vacation","reject","fileinto"]; > > vacation "testing3"; > > In /etc/sendmail.cf (also tested without the P flag): > > Mcyrus, P=/usr/cyrus/bin/deliver, F=PlsDFMnqA5@/:SmXz, S=EnvFromL, > R=EnvToL/HdrToL, > U=cyrus:mail, T=DNS/RFC822/X-Unix, > A=deliver -e -l > > Mcyrusbb, P=/usr/cyrus/bin/deliver, F=PlsDFMnu, S=EnvFromL, R=EnvToL/HdrToL, > U=cyrus:mail, T=DNS/RFC822/X-Unix, > A=deliver -e -l > > sendmail.mc: > > divert(0)dnl > OSTYPE(linux) > DOMAIN(generic) > FEATURE(`always_add_domain') > FEATURE(`nouucp',`reject') > define(`confLOCAL_MAILER',`cyrus')dnl > define(`confCW_FILE',`/etc/mail/local-host-names')dnl > define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')dnl > define(`CYRUS_MAILER_FLAGS', `A5@/:SmXz')dnl > define(`CYRUS_MAILER_ARGS', `deliver -e -l')dnl > define(`CYRUS_BB_MAILER_ARGS', `deliver -e -l')dnl > define(`confMAX_MESSAGE_SIZE',`2500')dnl > MAILER(local) > MAILER(smtp) > MAILER(cyrus) > LOCAL_RULE_0 > Rbb + $+ < @ $=w . > $#cyrusbb $: $1 -- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
Re: A problem with sieve-vacation
Ken Murchison wrote: > Try changing your script to: > > require ["vacation","reject","fileinto"]; > > vacation :addresses "[EMAIL PROTECTED]" "testing3"; > > Much thanks, Ken, this was it! In draft-showalter-sieve-vacation-03 '":address" string-list' is optional. Is there a more present document describing "vacation"? Dietmar Rahlfs
Re: A problem with sieve-vacation (supplement)
Hello Ken, please excuse my not having well read the vacation draft. The local hostname of lrp.rz.fh-ulm.de is configured as "lrp", and a local message to rahlfs@lrp succeeds concerning vacation even without the :addresses options. Therefore: If I only want to use to vacation- reply messages sent to @`bin/hostname` I do not have to use the :addresses option, but in all other cases. This is what the draft v03 says, I think (for Unix systems with "hostname" in the /bin directory). Dietmar Rahlfs