Re: Newbie: $sender->user & $sender->host

2008-12-19 Thread Hanno Hecker
On Thu, 18 Dec 2008 17:01:21 -0800 (PST) Michael Papet wrote: > 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. [...] > my ($self, $tran

Re: Newbie: $sender->user & $sender->host

2008-12-19 Thread Steve Kemp
On Thu Dec 18, 2008 at 17:01:21 -0800, Michael Papet wrote: > I'm attempting an LDAP whitelist. I cannot seem to get the sender's full > address. This is the code I use: sub hook_foo { my ( $self, $transaction ) = @_; # # Get sender. Untaint it. # my $se

Newbie: $sender->user & $sender->host

2008-12-18 Thread Michael Papet
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 w