Hi, I'm a newbie with what may be a simple question.
I'm attempting an LDAP whitelist. I cannot seem to get the sender's full address. The code that follows should have $from_whitelist = (uid=t...@yahoo.com) after $fromhost_whitelist is declared. # Need sender to search for the address in whitelist use Qpsmtpd::Constants; my ($self, $transaction, $sender) = @_; my $fromhost = lc($sender->host); my $from_whitelist = "(uid=".lc($sender->user) . '@' . $fromhost . ")"; $self->log(LOGINFO, "whitelist_ldap search string $from_whitelist"); When run, the following appears in the qpsmtpd.log. It should have uid=t...@yahoo.com inside the parens. Thu Dec 18 16:39:07 2008 sip[11898]: whitelist_ldap search string (uid=t...@friendwich.net) What did I do wrong? Michael