2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Maildrop delivering dupli...
FromSent OnAttachments
HelpMePleaseeMay 8, 2003 12:09 pm 
Devin RubiaMay 9, 2003 6:39 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Maildrop delivering duplicate message instead of replying to sender..bActions...
From:HelpMePleasee (aspj@yahoo.com)
Date:May 8, 2003 12:09:55 pm
List:net.sourceforge.lists.courier-maildrop

Redhat 7.2, qmail, qmail-ldap, virtual users, sqwebmail, maildrop, courier-imap installed.

Wanted to create a vacation rule through a Web front end. Decided to use Maildrop+ Sqwebmail combination.

have 2 users /home/vmail/user1/Maildir and /home/vmail/user2/Maildir

user2 ldap entry is all follows: init_ldap: passwords are not compared via rebind localdelivery: on clustering: off ldapobjectclass: homedirmaker: /var/qmail/bin/dirmaker defaultDotMode: both defaultQuota: QuotaWarning:

------ undefined

------ qldap_lookup: searching with (uid=user2) qldap_lookup: succeeded, found: uid: user2 qmailUID: 507 qmailGID: 502 accountStatus: undefined mailMessageStore: /home/vmail/user2 homeDirectory: (null pointer) mailHost: (null pointer) mail: use@company.com mailAlternateAddress: use@hotmail.com mailQuota: no entry in the database mailForwardingAddress: no entry in the database deliveryProgramPath: no entry in the database qmailDotMode: no entry in the database deliveryMode: no entry in the database mailReplyText: no entry in the database userPassword: lIDySMLBpt3bo

#cat /var/qmail/control/ldapdefaultdotmode both #

# created maildirfilterconfig in all the users Maildir since I have virtual users gave absolute paths MAILDIRFILTER=/home/vmail/user2/.mailfilter MAILDIR=/home/vmail/user2/Maildir

user2 is on vacation from 7th May to 10th May. He creates a rule using sqwebmail edit mailfilters option saying that if addressed to use@company.com then reply with vacation type message.

the .mailfilter of user2 is as follows: -------------.mailfilter--------------- #MFMAILDROP=2 # # DO NOT EDIT THIS FILE. This is an automatically generated filter. logfile "maildrop.txt" FROM='use@company.com' import SENDER if ($SENDER eq "") { SENDER=$FROM } ##Op:hasrecipient ##Header: ##Value:use@company.com ##Folder:+vacation ##From: ##PlainString ##DoesNot ##Name:vacation

if ((hasaddr("use@company.com"))) { AUTOREPLYFROM=$FROM `/usr/local/bin/mailbot -A "X-Sender: $FROM" -A "From: $AUTOREPLYFROM" -m
"/home/vmail/user2/Maildir/autoresponses/vacation" $SENDMAIL -t -f ""` }

to "/home/vmail/user2/Maildir/."

----.mailfilter end-----

When user2 is receiving message he receives 2 copies of the message and user1 who has sent him the message does not get a vacation reply.

created a maildrop.txt log ----maildrop.txt----- Date: Thu May 8 18:30:37 2003 From: "'User 1 of Company'" Subj: testing maildrop after log added to mailfilter File: /home/vmail/user2/Maildir/. (605) ---end----- The response is stored in the autoresponse/vacation file. owner of the file is
vmail:vmail. The actual file is not being sent... It stops at Maildir/. and then
shows (605)..this number keeps on increasing....

Why is the vacation response not going and the recepient is getting 2 copies of
the mail instead? Thanks for all the help from the mailing lists experts..