Chris Wilkes wrote:

On Sat, Aug 28, 2004 at 07:57:05PM +0200, Hasse Hagen Johansen wrote:


Claudio Jeker wrote:



Does it "just" work by export the RELAYCLIENT before invoking qmail-smtp, I am asking because I would like to use it with qpsmtpd instead.


Yes, it just sets RELAYCLIENT if the IP is in the db and executes
argv[1]...



Ok. Weird it should work then, but it doesn't. Maybe it is because I am running qpsmtpd under pperl, and I cannot read the rigth env variables. I'll have to try removing pperl then. Thanks for the info :-)



What is "pperl"? Also can you post a description of your architecture? Are there multiple qmail-ldap servers? Are they behind NAT boxes?

Chris


Not a big setup. Only one qmail-ldap/ldap/imap server...nothing serious.

pperl is a way to make perl program persitent i memmory (e.g. like SpeedyCGI), it is for skipping the overhead by loading perl & qpsmtpd everytime tcpserver invokes it. I think the problem is that it doesn't reset it en vars on each invocation. I have mailed the qpsmtpd mailinglist as there has been a lot of discussion about pperl vs. SpeedyCGI recently. The problem doesn't realy have anything to do with qmail-ldap i think. The pbs is working fine when qpsmtpd is not running under pperl :-)

/Hasse

Reply via email to