Re: cvm-vmailmgr lookup problem (internal temporary error)

Mattias Wikstrom <[email protected]> Wed, 14 Sep 2005 23:12:59 +0300
Newsgroups gmane.comp.sysutils.bgware
Organization Tigerbyte
Message-ID <[email protected]>
Bruce Guenter wrote:
> On Wed, Sep 14, 2005 at 08:47:17PM +0300, Mattias Wikstrom wrote:
> 
>>I'm trying to achieve realrcptto checking with mailfront and cvm. For 
>>some reason I cannot get cvm-vmailmgr to look up the recipient at 
>>smtp-time, I only get this error message:
>>
>>  RCPT TO: [email protected]
>>  451 Sorry, I could not verify that recipient (internal
>>  temporary error).
> 
> qmail-smtpd is traditionally run with non-root privileges, but
> cvm-vmailmgr needs root privileges to be able to open virtual domain
> password tables.  You will need to set up a lookup service, and connect
> to that.

Thanks for the help! I got it to work now, but when I try to use it
together with cvm-qmail through cvm-chain it stops working. As far as I
can see, only cvm-qmail is doing any recipient checking:

   rcpt to: [email protected]
   250 Recipient accepted.
   rcpt to: [email protected]
   250 Recipient accepted.
   rcpt to: [email protected]
   250 Recipient accepted.

This is how I have configured it in my run-file:

   export CVM_CHAIN0="cvm-local:/tmp/.cvm-qmail-lookup.local"
   export CVM_CHAIN1="cvm-local:/tmp/.cvm-vmailmgr-lookup.local"
   export CVM_LOOKUP="/usr/local/bin/cvm-chain"

If I use only cvm-vmailmgr it works OK:

   rcpt to: [email protected]
   250 Recipient accepted.
   rcpt to: [email protected]
   553 Sorry, that recipient does not exist.

Thanks in advance!

Mattias Wikstrom