2 messages in net.sourceforge.lists.courier-users[courier-users] mailbot / GDBM/DB : O...
FromSent OnAttachments
Benjamin BradleyDec 6, 2007 12:11 pm 
Sam VarshavchikDec 6, 2007 3:32 pm 
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:[courier-users] mailbot / GDBM/DB : Operation not permitted.Actions...
From:Benjamin Bradley (benj@gaiahost.coop)
Date:Dec 6, 2007 12:11:05 pm
List:net.sourceforge.lists.courier-users

Hi everyone. I'm setting up an autoresponder/away/vacation message on a mailbox on our courier server, and the mailbot seems to be having some trouble with the duplicate autoresponses database (-d parameter). The mailbot manpage says that "The -d option is only available if maildrop has GDBM/DB extensions enabled." but is not clear if this means BOTH GDBM & DB or ONE OF GDBM or DB must be available.

When I try to find out what our system actually supports, I get a contradictory output: $ maildrop -v maildrop 2.0.0 Copyright 1998-2005 Double Precision, Inc. ** GDBM extensions enabled. ** Enabled Berkeley DB instead of GDBM extensions. Maildir quota extension enabled. ...

**s added by me above.

If I take out the -d parameter altogether, the autoreply goes through fine.

So what's the deal? Do I need to recompile maildrop?

Thanks in advance, Benjamin

Other possibly useful info below: FreeBSD 5.4 Courier 0.52.1 Copyright 1999-2005 Double Precision, Inc.

Error message in the mail.log: Dec 5 16:17:03 mailin-smtp courierd: started,id=000B835E.47570992.00017B29,from=<sender@XXXXX>,module=local,host=replytest@XXXXX!!465!465!/var/mail/virtual/ga/bentest.gaiahost.net/replytest!!500000000S,addr=<replytest@XXXXX> Dec 5 16:17:03 mailin-smtp courierd: Waiting. shutdown time=none, wakeup time=Wed Dec 5 16:17:05 2007, queuedelivering=14, inprogress=1 Dec 5 16:17:04 mailin-smtp courierlocal: id=000B835E.47570992.00017B29,from=<sender@XXXXX>,addr=<replytest@XXXXX>: autoresponsedb.lock: Operation not supported Dec 5 16:17:04 mailin-smtp courierlocal: id=000B835E.47570992.00017B29,from=<sender@XXXXX>,addr=<replytest@XXXXX>,status: deferred Dec 5 16:17:04 mailin-smtp courierd: completed,id=000B835E.47570992.00017B29

User's .mailfilter file: EMAILFROMNAME="replytest@xxxxx" EMAILFROMEMAIL="replytest@xxxxx" AUTORESP=ON if ( $AUTORESP eq 'ON' ) { cc "| mailbot -t $HOME/autoreply.txt -d autoresponsedb -A 'From: $EMAILFROMNAME <$EMAILFROMEMAIL>'" }

contents of the user's home directory: -rw------- 1 courier courier 587 Dec 5 15:26 .mailfilter drwxr-xr-x 6 courier courier 512 Nov 29 02:11 Maildir/ -rw-r--r-- 1 courier courier 86 Nov 29 02:11 autoreply.txt -rw-rw---- 1 courier courier 0 Dec 5 15:26 autoresponsedb.lock

----------------------------------------------------- GAIA Host Collective, LLC http://www.gaiahost.coop "Internet solutions from an environmentally and socially concerned worker-owned cooperative" general support email: supp@gaiahost.coop urgent support issues: 1-800-672-8060 x0