jeroen | 1 Feb 2003 01:33

Re: [ANNOUNCEMENT] Spamassassin contrib BETA

>
> Tried to install it on 5.1.2 without the nodeps option. It fails on:
> perl(Pod::Usage) is needed by perl-Mail-SpamAssassin-2.43-3.
> What module is needed here?
>

Hmmm....I see those modules are in /usr/lib/perl5/5.6.0 so they are there.
Is there a way I can check those modules?

Jeroen

--
Please report bugs to bugs <at> e-smith.com
Please mail smesecurity <at> mitel.com (only) to discuss security issues
Support for registered customers and partners to smesupport <at> mitel.com
To unsubscribe, e-mail: devinfo-unsubscribe <at> lists.e-smith.org
For additional commands, e-mail: devinfo-help <at> lists.e-smith.org
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Michael P. Soulier | 1 Feb 2003 04:39
Favicon

Re: [ANNOUNCEMENT] Spamassassin contrib BETA

On 01/02/03 jeroen did say:

> Hmmm....I see those modules are in /usr/lib/perl5/5.6.0 so they are there.
> Is there a way I can check those modules?

    If you want to check if they load properly, you can do so from the
debugger. 

[msoulier <at> piglet msoulier]$ perl -de 0
Default die handler restored.

Loading DB routines from perl5db.pl version 1.07
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(-e:1):   0
  DB<1> use Pod::Usage

    etc...

    Mike

--

-- 
Michael P. Soulier <michael_soulier <at> mitel.com>, 613-592-2122 x2522
SME Solutions, Mitel Networks Corporation
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix

--
(Continue reading)

Steve Bush | 1 Feb 2003 05:36

RE: [UPDATE] ari-mitel-acid-1.1-1.noarch.rpm now available

I wanted the alert description emailed to me when Guardian blocks an IP
address, so...

Below are changes I made to two of the perl scripts.

    ----------------
 /usr/local/bin/guardian.pl
sub ipchain {
  my ($source, $dest, $type) =  <at> _;
  &write_log ("$source\t$type\n");
  if ($hash{$source} eq "") {
    &write_log ("Running '$blockpath $source $interface'\n");
    system ("$blockpath $source $interface \"$type\"");
    $hash{$source} = time() + $TimeLimit;
  } else {
    # We have already blocked this one, but snort detected another
attack. So
    # we should update the time blocked..
    $hash{$source} = time() + $TimeLimit;
  }
}
   ---------------
 /bin/guardian_unblock.sh
source=$1
interface=$2
alert=$3  <---{added}

/sbin/ipchains -I input -s $source -i $interface -j DENY

echo "The Snort-Guardian service has updated your firewall rules by
(Continue reading)

Rich Lafferty | 1 Feb 2003 06:08
Favicon

Re: [ANNOUNCEMENT] Spamassassin contrib BETA

On Fri, Jan 31, 2003 at 10:39:09PM -0500, Michael Soulier <michael_soulier <at> mitel.com> wrote:
> On 01/02/03 jeroen did say:
> 
> > Hmmm....I see those modules are in /usr/lib/perl5/5.6.0 so they are there.
> > Is there a way I can check those modules?
> 
>     If you want to check if they load properly, you can do so from the
> debugger. 

Or without it :-)

  perl -MModule::Name -e 0

or even

  perl -MModule::Name -e 'print $Module::Name::VERSION'

And for the implicit question of "Which copy of a module is Perl trying
to use", you can:

  perldoc -l Module::Name

(The -m option to perldoc is handy in other circumstances, btw.)

Cheers,

  -Rich

--

-- 
------------------------------ Rich Lafferty ---------------------------
(Continue reading)

Brandon Friedman | 1 Feb 2003 10:03

RE: [Announcement] Howto setup virtualdomain aliases on SME Server without creating a virtualdomain

Nope.....he has only pointed me to the site I have been to already..!

How about improving my howto...or what I have done?

> -----Original Message-----
> From: Charlie Brady [mailto:charlie_brady <at> mitel.com] 
> Sent: 31 January 2003 16:28
> To: Brandon Friedman
> Cc: 'Peter Samuel'; 'devinfo'
> Subject: RE: [e-smith-devinfo] [Announcement] Howto setup 
> virtualdomain aliases on SME Server without creating a virtualdomain
> 
> 
> 
> On Fri, 31 Jan 2003, Brandon Friedman wrote:
> 
> > I agree Peter, it is a bit of a dirty fix but it 
> works....if you can 
> > improve it please let me know how!
> 
> He has, hasn't he?
> 
> > It can be done
> > with an appropriate custom template for virtualdomains that 
> > examines /var/qmail/users/assign.
> > 
> > For more information on virtualdomains see
> > 
> >     man -M /var/qmail/man qmail-send
> >     http://www.lifewithqmail.org/lwq.html#virtual-domains
(Continue reading)

jeroen | 1 Feb 2003 11:25

Re: [ANNOUNCEMENT] Spamassassin contrib BETA


----- Original Message -----
From: "Rich Lafferty" <rich_lafferty <at> mitel.com>

> On Fri, Jan 31, 2003 at 10:39:09PM -0500, Michael Soulier
<michael_soulier <at> mitel.com> wrote:
> > On 01/02/03 jeroen did say:
> >
> > > Hmmm....I see those modules are in /usr/lib/perl5/5.6.0 so they are
there.
> > > Is there a way I can check those modules?
> >
> >     If you want to check if they load properly, you can do so from the
> > debugger.
>
> Or without it :-)
>
>   perl -MModule::Name -e 0
>
> or even
>
>   perl -MModule::Name -e 'print $Module::Name::VERSION'
>
> And for the implicit question of "Which copy of a module is Perl trying
> to use", you can:
>
>   perldoc -l Module::Name
>
> (The -m option to perldoc is handy in other circumstances, btw.)
>
(Continue reading)

John Cusick | 1 Feb 2003 19:53

php_admin_value

I have need to change the php_admin_value open_basedir value for an
ibay. I know how to do this, but have no clue what the default base_dir
is.

I have checked the PHP docs php.net's forums and I'm unable to find out
this information.

Is it the root (/) directory?

I don't have the source around and thought someone may know off the top
of their heads (so to speak ;-)

If anyone knows the answer I sure would appreciate it. 

Regards,

John Cusick

--
Please report bugs to bugs <at> e-smith.com
Please mail smesecurity <at> mitel.com (only) to discuss security issues
Support for registered customers and partners to smesupport <at> mitel.com
To unsubscribe, e-mail: devinfo-unsubscribe <at> lists.e-smith.org
For additional commands, e-mail: devinfo-help <at> lists.e-smith.org
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Craig Jensen | 1 Feb 2003 21:47

RE: beta rpm for testing- new revision

Thanks, Jeff.

I do have another revision -1.0-03 http://www.acenet-tech.org/cdj/beta-rpm/ 
(see changelog), but changes are minimal and databases did not change, *upgrade 
is not necessary*.  Install one OR the other.

To-do:

Allow for rpm upgrade of revisions... including database, although as of yet 
the database has not changed.

Craig D. Jensen

www.acenet-tech.org

--
Please report bugs to bugs <at> e-smith.com
Please mail smesecurity <at> mitel.com (only) to discuss security issues
Support for registered customers and partners to smesupport <at> mitel.com
To unsubscribe, e-mail: devinfo-unsubscribe <at> lists.e-smith.org
For additional commands, e-mail: devinfo-help <at> lists.e-smith.org
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Jason Miller | 2 Feb 2003 02:40

Re: php_admin_value

On 1 Feb 2003, John Cusick wrote:

> I have need to change the php_admin_value open_basedir value for an
> ibay. I know how to do this, but have no clue what the default base_dir
> is.

The default basedir on an SMEServer is the ibay directory itself which one
can see in the /etc/httpd/conf/httpd.conf file

i.e. for an ibay on my home system called 'esmith' with php enabled, I get:

---

<Directory /home/e-smith/files/ibays/esmith/html>
    AddType application/x-httpd-php .php .php3 .phtml
    AddType application/x-httpd-php-source .phps
    php_admin_value open_basedir /home/e-smith/files/ibays/esmith
</Directory>

---

which comes from this template fragment:

/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays

To change that value on a per-ibay basis:

1. Set the property for the given ibay
/sbin/e-smith/db accounts setprop <ibay_name> PHPBaseDir <new_directory>

(Continue reading)

John Cusick | 2 Feb 2003 03:32

Re: php_admin_value

Jason,

Thanks for the reply.

I probably didn't make myself clear enough.

As I mentioned, I know how to set it, but I do not know what the default
is if it is not explicitly set. I don't believe it is the root
directory, but it may be for all I know.

Regards,

John C.

On Sat, 2003-02-01 at 20:40, Jason Miller wrote:
> On 1 Feb 2003, John Cusick wrote:
> 
> > I have need to change the php_admin_value open_basedir value for an
> > ibay. I know how to do this, but have no clue what the default base_dir
> > is.
> 
> The default basedir on an SMEServer is the ibay directory itself which one
> can see in the /etc/httpd/conf/httpd.conf file
> 
> i.e. for an ibay on my home system called 'esmith' with php enabled, I get:
> 
> ---
> 
> <Directory /home/e-smith/files/ibays/esmith/html>
>     AddType application/x-httpd-php .php .php3 .phtml
(Continue reading)


Gmane