Hi,
I have been testing sieve in my setup with qmail-ldap and deliver on a LAN with an artificial domain name. Everything seems to be working as expected, except in cases when autoreplies (vacation, reject messages) need to be tested.
The domain name is vmint, and dawnone is the hostname on which mail server is setup, so a users have address like cot@vmint, cute@vmint and dove@vmint
- LDA Log* *cot is the user with the sieve vacation filter enabled* 2010-09-22 16:47:55 deliver(cot): Info: Loading modules from directory: /usr/lib/dovecot/modules/lda 2010-09-22 16:47:55 deliver(cot): Info: Module loaded: /usr/lib/dovecot/modules/lda/lib10_quota_plugin.so 2010-09-22 16:47:55 deliver(cot): Info: Module loaded: /usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so 2010-09-22 16:47:55 deliver(cot): Info: auth input: uid=1011 2010-09-22 16:47:55 deliver(cot): Info: auth input: gid=1011 2010-09-22 16:47:55 deliver(cot): Info: auth input: home=/home/cot 2010-09-22 16:47:55 deliver(cot): Info: auth input: quota_rule=*:bytes=1000000 2010-09-22 16:47:55 deliver(cot): Info: Quota root: name= backend=maildir args= 2010-09-22 16:47:55 deliver(cot): Info: Quota rule: root= mailbox=* bytes=1000000 messages=0 2010-09-22 16:47:55 deliver(cot): Info: maildir: data=/home/cot/Maildir 2010-09-22 16:47:55 deliver(cot): Info: maildir++: root=/home/cot/Maildir, index=, control=, inbox=/home/cot/Maildir 2010-09-22 16:47:55 deliver(cot): Info: sieve: using sieve path for user's script: /home/cot/.dovecot.sieve 2010-09-22 16:47:55 deliver(cot): Info: sieve: opening script /home/cot/.dovecot.sieve 2010-09-22 16:47:55 deliver(cot): Info: sieve: executing compiled script /home/cot/.dovecot.sieve 2010-09-22 16:47:55 deliver(cot): Info: sieve: msgid=< e93c61e349a52559d3060b6530f6dd69.squirrel@192.168.1.137>: sent vacation response to <cute@vmint> 2010-09-22 16:47:55 deliver(cot): Info: Namespace : Using permissions from /home/cot/Maildir: mode=0700 gid=-1 2010-09-22 16:47:55 deliver(cot): Info: sieve: msgid=< e93c61e349a52559d3060b6530f6dd69.squirrel@192.168.1.137>: stored mail into mailbox 'INBOX'
*failure notice message/bounce sent to the postmaster*
Return-Path: <> Received: (qmail 5346 invoked for bounce); 22 Sep 2010 11:17:55 -0000 Date: 22 Sep 2010 11:17:55 -0000 From: MAILER-DAEMON@vmint To: "<>"@dawnone.vmint Subject: failure notice
Hi. This is the qmail-send program at vmint. 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.
<cute@vmint.vmint <http://192.168.1.137/squirrelmail/src/compose.php?send_to=cute%40vmint.vmint>>: Sorry, I couldn't find any host named vmint.vmint. (#5.1.2)
--- Below this line is a copy of the message.
Return-Path: <"<>"@dawnone.vmint> Received: (qmail 5344 invoked by uid 1011); 22 Sep 2010 11:17:55 -0000 X-Sieve: Dovecot Sieve 0.1.17 Message-ID: <dovecot-sieve-1285154275-554846-0@dawnone> Date: Wed, 22 Sep 2010 16:47:55 +0530 From: <cot@vmint.vmint <http://192.168.1.137/squirrelmail/src/compose.php?send_to=cot%40vmint.vmint>> To: <cute@vmint.vmint <http://192.168.1.137/squirrelmail/src/compose.php?send_to=cute%40vmint.vmint>> Subject: Not here In-Reply-To: <e93c61e349a52559d3060b6530f6dd69.squirrel@192.168.1.137 <http://192.168.1.137/squirrelmail/src/compose.php?send_to=e93c61e349a52559d3060b6530f6dd69.squirrel%40192.168.1.137>> References: <e93c61e349a52559d3060b6530f6dd69.squirrel@192.168.1.137 <http://192.168.1.137/squirrelmail/src/compose.php?send_to=e93c61e349a52559d3060b6530f6dd69.squirrel%40192.168.1.137>> Auto-Submitted: auto-replied (vacation) Precedence: bulk MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
This is an automated reply; I am away and will not be able to reply to you immediately.I will get back to you as soon as I return.
*deliver is being called like this*:
deliver -f $SENDER -d $USER
where SENDER and USER are provided by qmail-ldap.
So, am not sure what component in the chain is appending a .vmint to the existing domain name.
Any input appreciated, thanks.