Koozali.org: home of the SME Server

Cyrus-imap and vacation

boblefou

Cyrus-imap and vacation
« on: August 13, 2007, 02:14:57 PM »
Hi all,
   
On an installation of SME Server 7.x with Cyrus IMAP, I have a problem to make function script sieve “vacation” since interface provided “Web-sieve”.
Script created well, is activated, but if I try a sending on the account where is activated script, I receive an email of error of qmail:

"Hi. This is the qmail-send program at xxxxxx.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<xxxxxx@unspecified-domain.xxxxxx>:
Sorry, I couldn't find any host named unspecified-domain.xxxxxx. (#5.1.2)

--- Below this line is a copy of the message.

Return-Path: <"<>"@xxxxxx>
Received: (qmail 20886 invoked by uid 76); 13 Aug 2007 09:31:56 -0000
Message-ID: <cmu-sieve-20839-1186997516-0@sme>
Date: Mon, 13 Aug 2007 11:31:56 +0200
X-Sieve: CMU Sieve 2.2
From: <xxxxxx@xxxxxx>
To: <xxxxxxx@unspecified-domain.xxxxxx>
Subject: I'm not here
In-Reply-To: <blabla@x.x.x.x>
Auto-Submitted: auto-replied (vacation)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit"

Sieve's scripts works fine for forward, filter, but not for vacation...
The unspecied-domain field seems to be the problem, maybe a misconfiguration of qmail ?

Did somebody already have this problem?

Thank you for your answers and excuse me for my English...

boblefou

Cyrus-imap and vacation
« Reply #1 on: August 13, 2007, 05:31:27 PM »
The problem is : return-path : <>
So, my question is now, in the .qmail file is it possible to recover a variable who contain "return-path" ?

The .qmail for cyrus is :
"| preline -f /usr/lib/cyrus-imapd/deliver -m "$USER" "$USER""

and after with the variable :
"| preline -f /usr/lib/cyrus-imapd/deliver -m "$USER" "$USER" -r "$return_path""

But is this variable exist ?
Thanks.