[SLUG] debian newbie can't start X

2003-09-14 Thread Amanda
I've just installed Debian Sparc 3.0r1 on my Sun Ultra 10 clone. I used tasksel
to select desktop machine with development.
startx gives me;
xauth: creating new authority file
/usr/X11R6/lib/X11/xinit/xserverrc: /usr/bin/X11/X: no such file or directory

startkde gives;
xsetroot: unable to opendisplay''
ksplash: cannot connect to X server
connect() failed: : no such file or directory

So obviously, it hasn't installed something correctly, but what's the apt-get
install magic to rectify the situation.
I've got a 3 cd set, but the install only used the first one.

Amanda
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] no bandwidth after connecting to ISP

2003-09-14 Thread Russell Davie
Hi
After connecting to ISP using KPPP, my box is not able to connect to any 
WWW sites or get email.
this is happening on recently recompiled kernel, and on the original kernel 
kernel-2.4.19-16mdk.
I have removed proxy, reduced firewall security, and not sure what to check 
next.
any help gratefully received!
TIA
Russell

---
Outgoing mail is certified Virus Free.
Free Antivirus @  http://www.grisoft.com/
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.514 / Virus Database: 312 - Release Date: 28/08/03
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] no bandwidth after connecting to ISP

2003-09-14 Thread Rene Cunningham
On Sun, Sep 14, 2003 at 05:32:20PM +1000, Russell Davie wrote:
 I have removed proxy, reduced firewall security, and not sure what to check 
 next.

Can you resolve IP addresses? Could be a DNS issue. 

Do you have a default route?

-- 

Rene Cunningham
DCLabs Pty Ltd
http://www.dclabs.com.au

Error in operator: add beer
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] no bandwidth after connecting to ISP

2003-09-14 Thread dazza
On Sun, 14 Sep 2003, Russell Davie wrote:

 After connecting to ISP using KPPP, my box is not able to connect to any
 WWW sites or get email.
 this is happening on recently recompiled kernel, and on the original kernel
 kernel-2.4.19-16mdk.
 I have removed proxy, reduced firewall security, and not sure what to check
 next.
 any help gratefully received!

Do you have a default route out to your ISP?

Run the command

netstat -r

as root. What do you get?

DaZZa

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] no bandwidth after connecting to ISP

2003-09-14 Thread Mohammad Salaque
or before conneting run kpp
route del default

--- [EMAIL PROTECTED] wrote:
 On Sun, 14 Sep 2003, Russell Davie wrote:
 
  After connecting to ISP using KPPP, my box is not
 able to connect to any
  WWW sites or get email.
  this is happening on recently recompiled kernel,
 and on the original kernel
  kernel-2.4.19-16mdk.
  I have removed proxy, reduced firewall security,
 and not sure what to check
  next.
  any help gratefully received!
 
 Do you have a default route out to your ISP?
 
 Run the command
 
 netstat -r
 
 as root. What do you get?
 
 DaZZa
 
 -- 
 SLUG - Sydney Linux User's Group -
 http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


=
Mohammad Salaque
WEB Programmer
PHP,ASP,MySQL

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] no bandwidth after connecting to ISP

2003-09-14 Thread Mohammad Salaque
or before runomg  kpp run
route del default

 as root

Salaque
--- [EMAIL PROTECTED] wrote:
 On Sun, 14 Sep 2003, Russell Davie wrote:
 
  After connecting to ISP using KPPP, my box is not
 able to connect to any
  WWW sites or get email.
  this is happening on recently recompiled kernel,
 and on the original kernel
  kernel-2.4.19-16mdk.
  I have removed proxy, reduced firewall security,
 and not sure what to check
  next.
  any help gratefully received!
 
 Do you have a default route out to your ISP?
 
 Run the command
 
 netstat -r
 
 as root. What do you get?
 
 DaZZa
 
 -- 
 SLUG - Sydney Linux User's Group -
 http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] no bandwidth after connecting to ISP

2003-09-14 Thread Russell
to all involved
all better now..
It was the DNS settings..
and  netstat -r is 

[EMAIL PROTECTED] russell]# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
eth01.001.lis.i *   255.255.255.255 UH   40 0  0 ppp0
192.168.1.0 *   255.255.255.0   U40 0  0 eth0
127.0.0.0   *   255.0.0.0   U40 0  0 lo
default eth01.001.lis.i 0.0.0.0 UG   40 0  0 ppp0

regards
Russell


On Sunday 14 Sep 2003 7:13 pm, you wrote:
 On Sun, 14 Sep 2003, Russell Davie wrote:
  After connecting to ISP using KPPP, my box is not able to connect to any
  WWW sites or get email.
  this is happening on recently recompiled kernel, and on the original
  kernel kernel-2.4.19-16mdk.
  I have removed proxy, reduced firewall security, and not sure what to
  check next.
  any help gratefully received!

 Do you have a default route out to your ISP?

 Run the command

 netstat -r

 as root. What do you get?

 DaZZa

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Xine is AWOL

2003-09-14 Thread Mike MacCana
It should be under your `Sound and Video' section in the menu (under the
`more Sound and Video section'.

If you want to launch it from the command line, type `xine'. This will
launch /usr/bin/xine, but as part of Unix culture, all a users apps are
their path. 

Mike

On Sun, 2003-09-14 at 20:53, mick wrote:
 Hi all,
 
 Installed Xine, but can't find it.  I have been searching for the .exe
 for xine.  
 Using Redhat 9.0 (why else would I have to install Xine!)
 Any pointers?
 
 Regards
 
 Mick
 
 PS I sort of understand Redhat's reasons for leaving out Xine, disbaling
 mp3's in Xmms and other possible infringment software, but when you
 can rip CD's in Windows Media Player, maybe they can relax alittle.  
-- 
__
Mike MacCana  ConsultantRHCX, MCSE, MCP+I
Cybersource: Providing Quality IT Professional Services for 11 Years
Specialists in Unix/Linux, TCP/IP and Web Application Development
Level 4, 10 Queen St, Melbourne.  Ph : 03 9621 2377 Fax: 03 9621 2477

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Weird spam problem

2003-09-14 Thread Nick Croft
* Erik de Castro Lopo ([EMAIL PROTECTED]) wrote:
 
   They contain no advertising, just a random string of words. 
 
 I could understand them trying to use this stuff to avoid having their
 advertising classified as spam, but there was no advertising.
 
 Could they be trying to poison my (non-existant) baysian spam filter?
 
The ads are usually in images, which on my setup (spamassassin +
bogofilter)are filtered out. 

I only get the nonsense strings, although mutt has a mechanism for letting you
view the html version if you wish.

Nick
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] enable public_html access for user

2003-09-14 Thread Kevin Saenz
Did you uncomment 


Directory /home/*/public_html
AllowOverride All
Options MultiViews -Indexes Includes FollowSymLinks
IfModule mod_access.c
  Order allow,deny
  Allow from all
/IfModule
/Directory

 Its a stock rollout. I thought it would come to vhost's, since I dont 
 know much about time. The server is 192.168.0.4, i try a ~user it will 
 point to something like 192.168.0.3
 
 All my /etc/httpd/conf/vhosts files as commented out
 
 commonhttpd.conf has:
 IfModule mod_userdir.c
  UserDir public_html
 /IfModule
 


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Server 'up'; but 'down' from external viewers...

2003-09-14 Thread Jared Pritchard
Eerrkk...  experiencing some problems here with our server  :(

We had a crash of some sort on the weekend, whereby 2 of our 4 machines in
one rack 'turned off' and the switch just stopped working (all lights were
on).
I pulled the power on the switch  restarted it, and it's working fine now,
and restarted the other two machines...
The main machine is the main server, and acts as a basic router, sending log
in requests from our ISP to our RADIUS server (one of the machines that was
still on  working). Henceforth, since the main one was down, no-one could
log in to our internet connection. After re-starting the main server, we
could log in
again and everything seemed to be fine  dandy.

Our main machine has two major websites stored on it. One is our ISPs, the
other is the main website for the other business the boss runs.
The ISP website is working fine. The Main website is not. 
Is this an httpd.conf error? maybe it started up wrong?  (or an apache)...
how can I restart those?

I think it's something like   'apachelt restart now'that we use instead
of httpd restart...  where should I execute this?

Many thanks,

Jared Pritchard

' 02 6882 0288
6  02 6881 6318
*  0427 813 400 
* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

The information contained in and accompanying this communication is strictly
confidential and intended solely for the use of the intended recipient(s).
The copyright in this communication belongs to Macquarie Telecom Pty Limited
or one of its related entities. If you are not the intended recipient of
this communication please delete and destroy all copies and telephone Mactel
on +61 6882 0288 immediately. You should not copy, disclose or distribute
this communication without the authority of Mactel.  Emails may be
interfered with, therefore if you have any doubts about the authenticity of
an email purportedly sent by Mactel please contact Mactel immediately. 


attachment: winmail.dat-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Server 'up'; but 'down' from external viewers...

2003-09-14 Thread Gonzalo Servat
On Tue, 2003-09-16 at 02:53, Jared Pritchard wrote:
[...]
 Our main machine has two major websites stored on it. One is our ISPs, the
 other is the main website for the other business the boss runs.
 The ISP website is working fine. The Main website is not. 
 Is this an httpd.conf error? maybe it started up wrong?  (or an apache)...
 how can I restart those?

When you say it's not working... what exactly do you mean? Connection
timeout?
Regardless, it's probably worthwile checking apache's access_log to see
if Apache received the request. Other things to check are the error_log,
and I would do a tcpdump to ensure the packet is arriving. Try and
telnet from external yourself to port 80 and type:

GET / HTTP/1.0

(provided it's an IP-based website, not name-based)

Are you running a firewall on this server? I presume there's a firewall
in between, though you can access the ISPs website and unless they
aren't hosted on the same IP it's probably not the problem.

 I think it's something like   'apachelt restart now'that we use instead
 of httpd restart...  where should I execute this?

apachectl restart. Try and find where apachectl is:

  # updatedb
  # locate apachectl

.. or simply:

  # find / -type f -name apachectl

HTH,
Gonzalo

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Oh Complier ... where out thou?

2003-09-14 Thread John Clarke
On Sun, Sep 14, 2003 at 10:42:47AM +1000, mick wrote:

 I'm trying ti install Xine under Redhat 9.0.  I downloaded a Tar file
 and unzipped it to my home directory.
 
 I typed the ./configure command as instructed in the readme and the
 process ends with 
 
 gcc  no
 cc .no

You need to install these packages:

gcc
glibc-devel
binutils

and possibly:

gcc-c++
glibc-kernheaders

and any dependencies they need.  Everything you need will be on your
RH9.0 CDs.  If it's installed, it should be in your path.

 suppose I should learn how to put things in a users Path (whatever

It's the environment variable PATH which is used to search for
programs, similar to DOS/Windows except that under Unix, *only* the
directories in $PATH are searched - DOS/Windows searches the current
directory too. It's a list of directories separated by colons, e.g.:

[EMAIL PROTECTED] ~]$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/johnc/bin:/usr/bin

When you enter a program name, and don't provide a path (either
relative or absolute), each directory in $PATH is tried, in order from
left to right, and the first one found is run.  For example, I have two
copies of a program called mev - one in /usr/bin and one in
/usr/local/bin.  Each reports a different version number:

[EMAIL PROTECTED] ~]$ /usr/bin/mev -v
(gpm-Linux) 1.19.3, $Date: 2000/01/17 22:23:03 $

[EMAIL PROTECTED] ~]$ /usr/local/bin/mev -v
(gpm-Linux (imwheel)) 1.19.3, $Date: 2000/01/17 22:23:03 $

If I run mev without giving the path, the first one found in $PATH is
run:

[EMAIL PROTECTED] ~]$ mev
(gpm-Linux (imwheel)) 1.19.3, $Date: 2000/01/17 22:23:03 $

There's a command called which that will tell you where in $PATH a
program is:

[EMAIL PROTECTED] ~]$ which mev
/usr/local/bin/mev

If the program doesn't exist, this is what is says:

[EMAIL PROTECTED] ~]$ which xxx
/usr/bin/which: no xxx in (/usr/local/bin:/bin:/usr/bin:
   /usr/X11R6/bin:/home/johnc/bin:
   /usr/bin)

To add a new directory into $PATH:

PATH=$PATH:/new/directory
export PATH

or:

PATH=/new/directory:$PATH
export PATH

depending upon whether you want it to be searched first or last.


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Server 'up'; but 'down' from external viewers...

2003-09-14 Thread Andrew Cowie
On Tue, 2003-09-16 at 02:53, Jared Pritchard wrote:
 I think it's something like   'apachelt restart 

Another post replied saying how you might go about testing and finding
`apachectl`

For what it is worth, I have seen some installations where apachectl
doesn't actually do the right thing.

This can happen if the configuration file for apache (httpd.conf,
apache.conf, apache2.conf, etc) isn't named or located where the
webserver is compiled to expect it ... and the commands in
/etc/init.d/apache (or /etc/init.d/httpd or whatever) explicitly
reference a different configuration file.

This is all to say that you might try using

/etc/init.d/apache [re]start

(or whatever) if apachectl doesn't do it for you.

AfC

-- 
Andrew Frederick Cowie
Operational Dynamics Consulting Pty Ltd

Australia: +61 2 9977 6866

http://www.operationaldynamics.com/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


RE: [SLUG] Server 'up'; but 'down' from external viewers...

2003-09-14 Thread Low Christopher - clow
You can try a few things once you have located apachectl

./apachectl configtest

Should return and say Syntax OK

Also, try looking at the error logs for apache (usually under
/usr/local/apache/logs)
That may give you some hints on what is wrong.

Could the other site be a secure site and needs to run with SSL?
If so, then the command would be:

./apachectl startssl

HTH

Chris





**
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] normal newbie question

2003-09-14 Thread Sayth



Whats the best guide for newbies trying to figure 
out the basic in mandrake 9. I f you find this easy my two issues 
are:-

1. Can no long go internet or kmail receive unknown 
host errors occur .(is there a restore defaults mode). It doesn't allow my 
changes in security for no firewall to take affect.

2. When trying to instal wine or gaim - I have a 
lot of files what and how do I compile and execute, I downloaded latest version 
of Gaim and so had a lot of files but don't know what to do with 
them.

Boom Shanka

Sayth
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] normal newbie question

2003-09-14 Thread Kevin Saenz
When asking for help it would be wise to
1. Tell us what you have for internet connection modem/dsl/isdn/etc,
also ISP helps.
2. give up more of a description about your problem. We can't help you
if we don't know what you are talking about.

The problems you have given us there are a couple of solutions and only
1 right one. My advice if you can be as verbose as you can, maybe then
we could help.
  
 1. Can no long go internet or kmail receive unknown host errors occur
 .(is there a restore defaults mode). It doesn't allow my changes in
 security for no firewall to take affect.
Your firewall is using IPchains or IPtables? 
  
 2. When trying to instal wine or gaim - I have a lot of files what and
 how do I compile and execute, I downloaded latest version of Gaim and
 so had a lot of files but don't know what to do with them.
  
how did you download wine and gaim, what file format where they rpm or
tar.gz? if you have downloaded tar.gz then you make have to compile
them. More information will help. 

 Boom Shanka
  
 Sayth
 
 __
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
-- 
Regards,

Kevin Saenz
 
Spinaweb
I.T consultants
 
Ph: 02 4620 5130
Fax: 02 4625 9243
Mobile: 0418455661
Web: http://www.spinaweb.com.au

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Postfix + amavisd + virtual hosts

2003-09-14 Thread Wim Pranata
On Fri, 12 Sep 2003, John Clarke wrote:

 Hi all,
 
 One for the postfix gurus ...
 
 I have a mail server, running postfix, handling mail for the primary
 domain and several virtual domains.  I want to setup amavisd (with
 clamav) to scan mail for only one of those domains.
 
 I've found lots of info on how to scan mail for all domains, but I've
 not been able to come up with a Google incantation to find any
 information on how to do it for just one (or maybe it's just not out
 there) :-(
 
 Is it possible to configure postfix to pass mail to amavisd for only
 one of its virtual domains, and if so, how (or where do I look to find
 out how)?

I'm not a postfix guru but I'll try to answer this anyway :)

If you have more than 1 IP address on the box that would be very easy, you just
need to add another instance of smtpd in the master.cf, and assign the MX to
that IP address for the domains you want to filter, eg:

smtpinetn   -   y   -   -   smtpd
1.2.3.4:smtp inet n - y - - smtpd
 -o content_filter=smtp-amavis:[127.0.0.1]:10024

There are some documentations about content filtering in the postfix tarball,
README_FILES/FILTER_README, conf/sample-filter.cf


wim

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Postfix + amavisd + virtual hosts

2003-09-14 Thread John Clarke
On Mon, Sep 15, 2003 at 11:52:39AM +1000, Wim Pranata wrote:

  Is it possible to configure postfix to pass mail to amavisd for only
  one of its virtual domains, and if so, how (or where do I look to find
  out how)?
 
 I'm not a postfix guru but I'll try to answer this anyway :)

Thanks :-)

 If you have more than 1 IP address on the box that would be very easy, 

I don't :-(

 There are some documentations about content filtering in the postfix
 tarball, README_FILES/FILTER_README, conf/sample-filter.cf

I've read them.  Neither provide an example of what I'm trying to do or
any clue to how to go about it.


Thanks anyway,


John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Postfix + amavisd + virtual hosts

2003-09-14 Thread Kevin Saenz
did you check out google and enter in the search query 
amavis postfix
?

How this link helps

http://www.kobitosan.net/postfix/postfix-amavis-sweep-howto.html

 I've read them.  Neither provide an example of what I'm trying to do or
 any clue to how to go about it.
 
 
 Thanks anyway,
 
 
 John
 -- 
 whois [EMAIL PROTECTED]
 GPG key id: 0xD59C360F
 http://kirriwa.net/john/
-- 
Regards,

Kevin Saenz
 
Spinaweb
I.T consultants
 
Ph: 02 4620 5130
Fax: 02 4625 9243
Mobile: 0418455661
Web: http://www.spinaweb.com.au

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Postfix + amavisd + virtual hosts

2003-09-14 Thread Kevin Saenz
or this one :)
http://translate.google.com/translate?hl=ensl=fru=http://www.com.univ-mrs.fr/ssc/info/cours/install-amavis-postfix.htmlprev=/search%3Fq%3Damavis%2Bpostfix%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26sa%3DG

 I've read them.  Neither provide an example of what I'm trying to do or
 any clue to how to go about it.
 
 
 Thanks anyway,
 
 
 John
 -- 
 whois [EMAIL PROTECTED]
 GPG key id: 0xD59C360F
 http://kirriwa.net/john/
-- 
Regards,

Kevin Saenz
 
Spinaweb
I.T consultants
 
Ph: 02 4620 5130
Fax: 02 4625 9243
Mobile: 0418455661
Web: http://www.spinaweb.com.au

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Postfix + amavisd + virtual hosts

2003-09-14 Thread Wim Pranata
On Mon, 15 Sep 2003, John Clarke wrote:

 On Mon, Sep 15, 2003 at 11:52:39AM +1000, Wim Pranata wrote:
 
   Is it possible to configure postfix to pass mail to amavisd for only
   one of its virtual domains, and if so, how (or where do I look to find
   out how)?
  
  I'm not a postfix guru but I'll try to answer this anyway :)
 
 Thanks :-)
 
  If you have more than 1 IP address on the box that would be very easy, 
 
 I don't :-(
 
  There are some documentations about content filtering in the postfix
  tarball, README_FILES/FILTER_README, conf/sample-filter.cf
 
 I've read them.  Neither provide an example of what I'm trying to do or
 any clue to how to go about it.

You can try to use the header_checks hack from the README_FILES/FILTER_README
eg:

/mydomain\.com/ FILTER smtp-amavis:[127.0.0.1]:10024

I've never tried this before though :-)


wim

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Postfix + amavisd + virtual hosts

2003-09-14 Thread John Clarke
On Mon, Sep 15, 2003 at 12:07:44PM +1000, Kevin Saenz wrote:

 did you check out google and enter in the search query 
 amavis postfix

Yes (actually not quite, I tried amavisd postfix virtual host).  I
have no problem figuring out how to install amavis and have postfix run
it.

 http://www.kobitosan.net/postfix/postfix-amavis-sweep-howto.html

Thanks, I've already read that.  I think you might have missed
something from my original post: I want to scan *only one* of several
virtual domains on the server and have the rest delivered unscanned.


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Swap Partition question

2003-09-14 Thread Myuran Pathmanathan
Dear all,

I have a dual boot computer with RH Linux 9 and Windows 2000. I
installed the system with 512MB ram. Now I have found that the specific
application i use for my work runs on windows and it needs more memory.
So I am going to upgrade the memory to 1GB. In that case do I have to
readjust the partitions in my linux side? I read somewhere that the swap
partition size should be double the amount of memory used.

~myuran

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Postfix + amavisd + virtual hosts

2003-09-14 Thread John Clarke
On Mon, Sep 15, 2003 at 12:09:50PM +1000, Kevin Saenz wrote:

 or this one :)
 http://translate.google.com/translate?hl=ensl=fru=http://www.com.univ-mrs.fr/ssc/info/cours/install-amavis-postfix.htmlprev=/search%3Fq%3Damavis%2Bpostfix%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26sa%3DG

I love machine translation:

Amavis automatically detects the presence of these antivirus on
 the waiter.

... ensure attachments coming via email are scanned for viruses
 before they reach system they are repugnant whitebait ...

... I was very irritated and I had the mouth of the system
 administrator who frightens the users

:-)


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Postfix + amavisd + virtual hosts

2003-09-14 Thread John Clarke
On Mon, Sep 15, 2003 at 12:18:03PM +1000, Wim Pranata wrote:

 You can try to use the header_checks hack from the README_FILES/FILTER_README
 eg:
 
 /mydomain\.com/ FILTER smtp-amavis:[127.0.0.1]:10024

Thanks, I'll have a look at it.

 I've never tried this before though :-)

I was planning to setup a test virtual domain first anyway so hopefully
I won't lose any mail :-)


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Font problem

2003-09-14 Thread Adam Bogacki
Hi, trying to start gnucash gives me

[EMAIL PROTECTED]:~$ gnucash
The font -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-* does not 
support all the required character sets for the current locale 
LC_CTYPE=en_US;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C
 (Missing character set ISO8859-1)
 (Missing character set ISO8859-1)
Warning: gnucash_style_set_register...(): Cannot load font: 
-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*

Similarly, trying xvidtune gives me

Tux:~# xvidtune
Vendor: , Model:
Num hsync: 1, Num vsync: 1
hsync range 0:  31.00 -  70.00
vsync range 0:  55.00 - 120.00
Warning: Unable to load any usable ISO8859 font
Segmentation fault
I'd also like to load ISO8859-1 font to give me Polish accents ...

Googling around has not been productive, but I might have been looking
in the wrong place. It was often referred to as an 'old' problem. Any 
ideas ?

Adam Bogacki,
[EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Swap Partition question

2003-09-14 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 15-09-2003 12:20:29 PM:

 Dear all,
 
 I have a dual boot computer with RH Linux 9 and Windows 2000. I
 installed the system with 512MB ram. Now I have found that the specific
 application i use for my work runs on windows and it needs more memory.
 So I am going to upgrade the memory to 1GB. In that case do I have to
 readjust the partitions in my linux side? I read somewhere that the swap
 partition size should be double the amount of memory used.
 
From memory, If your RAM is 128meg or less, it should be double. Anymore 
then that, the swap should ideally be the same size as the RAM.
This also depends on what the load the machine is using, If you run out of 
memory and swap, you would need to create more swap, or RAM, depending on 
your funds.
You don't have to re-adjust the swap filesystem, you can just add another 
one. you can even create it on another hard drive if needed.


Cheers,

Scott

 ~myuran
 
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Font problem

2003-09-14 Thread Peter Hardy
On Mon, 2003-09-15 at 12:28, Adam Bogacki wrote:
 Hi, trying to start gnucash gives me
 
 [EMAIL PROTECTED]:~$ gnucash
 The font -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-* does not 
 support all the required character sets for the current locale 
 LC_CTYPE=en_US;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C
   (Missing character set ISO8859-1)
   (Missing character set ISO8859-1)
 Warning: gnucash_style_set_register...(): Cannot load font: 
 -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*

This could be solved by editing the default font used in your gtkrc. 
Best place to start looking is your ~/.gtkrc, which will probably just
include the gtkrc for the theme you're using.  Or make sure you've got
the right fonts installed - keep reading.

 Similarly, trying xvidtune gives me
 
 Tux:~# xvidtune
 Vendor: , Model:
 Num hsync: 1, Num vsync: 1
 hsync range 0:  31.00 -  70.00
 vsync range 0:  55.00 - 120.00
 Warning: Unable to load any usable ISO8859 font
 Segmentation fault
 
 I'd also like to load ISO8859-1 font to give me Polish accents ...

Not 100% sure about this one, but I wouldn't be surprised if it's trying
to use the fixed font (which is the default font when all else fails),
which is most likely aliased to a core font that you don't have
installed.  If that's the case, you can probably go futzing with, for
example, /usr/lib/X11/fonts/misc/fonts.alias to set fixed up as an alias
to something you do actually have on your machine.  Or once again, make
sure you've got some base font packages installed. :-)

You're using debian, right?  You should make sure xfonts-base is
installed, and one of either xfonts-75dpi or xfonts-100dpi.  They're the
minimal set of fonts the XFree86 guys suggest for a basic X setup. 
Install them, run xset fp rehash or restart your X session.

Of course, if they are installed, then you've got bigger problems that
I'd rather not think about unless they're actually happening. :-)

-- 
Pete

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Re: Font problem

2003-09-14 Thread Adam Bogacki
Checking the X font server's configuration file in
/etc/X11/xfs/config I find I have no 'xfs' directory there.
However, 'find' tells me I have
./home/share/doc/xfs
./usr/share/doc/xfs
./usr/X11R6/bin/xfs
./etc/init.d/xfs
Could it just be a matter of

/usr/X11R6/bin:~$ cp xfs /etc/X11 ?

Adam Bogacki,
[EMAIL PROTECTED]


--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] linux e-mail virus scanners

2003-09-14 Thread Alex Sayle

Hi,

I was asked by a client to install a e-mail virus scanner on to 
their server that I previously installed fro them. The mail server 
runs postfix and then exports mail via courier IMAP for windows
clients in the office. 

I've never dealt with linux based e-mail virus scanners and was
wondering if any of them out there where worth a recommendation and if
anyone has had good or bad experiences with any products.   


Thanks for your time in advance.
--alex


--
[--]
 Alex Sayle   [EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Postfix + amavisd + virtual hosts

2003-09-14 Thread Jeff Waugh
quote who=John Clarke

 On Mon, Sep 15, 2003 at 12:18:03PM +1000, Wim Pranata wrote:
 
  You can try to use the header_checks hack from the
  README_FILES/FILTER_README eg:
  
  /mydomain\.com/ FILTER smtp-amavis:[127.0.0.1]:10024
 
 Thanks, I'll have a look at it.
 
  I've never tried this before though :-)
 
 I was planning to setup a test virtual domain first anyway so hopefully I
 won't lose any mail :-)

This works really well, if you have a new enough version of postfix to take
advantage of FILTER in header_checks, but it's probably better to use the
transports table.

The Amavis docs include good setup information for general postfix install,
but if you want to do funky things, you'll need to use transports or header
checks.

Here's what I do (in master.cf, for amavisd):

# amavis out
# all mail that you want to scan should go to this transport, most
# likely set up in your transport table or with content_filter. you
# can change the number of concurrent connections, and all that sort
# of stuff too. if you're using content_filter, do this in main.cf:
# content_filter = amavis:[127.0.0.1]:10024
# note that this will affect *ALL* mail

amavis unix -   -   n   -   2  smtp
  -o smtp_data_done_timeout=1200
  -o disable_dns_lookups=yes

# amavis in
# this is how mail from amavis returns into postfix. note the many
# postfix settings that are 'unset' for this smtpd - that stops all
# kinds of horrible screwups, such as mails being stuck in a scary
# content_filter loop. 8)

127.0.0.1:10025 inet n  -   n   -   -  smtpd
  -o content_filter=
  -o local_recipient_maps=
  -o relay_recipient_maps=
  -o smtpd_restriction_classes=
  -o smtpd_client_restrictions=
  -o smtpd_helo_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
  -o strict_rfc821_envelopes=yes

- Jeff

-- 
linux.conf.au 2004: Adelaide, Australia http://lca2004.linux.org.au/
 
   Driving Miss Daisy. Best film of 1989. So said the academy. What does
that tell you? - Spike Lee
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] linux e-mail virus scanners

2003-09-14 Thread Jeff Waugh
quote who=Alex Sayle

 I was asked by a client to install a e-mail virus scanner on to their
 server that I previously installed fro them. The mail server runs postfix
 and then exports mail via courier IMAP for windows clients in the office. 
 
 I've never dealt with linux based e-mail virus scanners and was wondering
 if any of them out there where worth a recommendation and if anyone has
 had good or bad experiences with any products.   

You want amavisd - read the Postfix + amavisd + virtual... thread which is
discussing this kind of set up right now. ;-)

For the virus scanning component, I recommend NOD32 and Kaspersky.

- Jeff

-- 
linux.conf.au 2004: Adelaide, Australia http://lca2004.linux.org.au/
 
  NASCAR is not race per se. It's just a contest about who can turn left
the best. - Unknown
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] linux e-mail virus scanners

2003-09-14 Thread guru
On Mon, 15 Sep 2003, Alex Sayle wrote:

Hello Alex,

did you try Clam-AV ? 100% free, iirc

http://clamav.elektrapro.com/

best wishes,
Norm

 Hi,

 I was asked by a client to install a e-mail virus scanner on to
 their server that I previously installed fro them. The mail server
 runs postfix and then exports mail via courier IMAP for windows
 clients in the office.

-- 
Epsilon-6! Ph:+612 8807-4780   Fax: +612 8807-4498
E-Solutions for BSD and Linux   http://www.paladincorp.com.au/
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] two intractable problems

2003-09-14 Thread Steven O'Reilly

On the Toshiba Tecra 780 laptop, I can't get sound with any modern
distro.  Not Debian, not Redhat 9, not SuSE 8.2.  SuSE 7.3 does it, but

Hi

I got the sound working on my tecra 550cdt by following the instructions at

http://www.physics.adelaide.edu.au/~jwoithe/toshiba-550CDT.html

there are specific setting for sound settup, I think it might be the same
soundcard in the 780 (they look the same?)

I'm not sure if I used Redhat or debian, or whether I used alsa, but i do
remeber that  it worked fine as root.

good luck

Steven
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Re: Font problem

2003-09-14 Thread Adam Felix Bogacki
Yep, I've got xfonts-100dpi, xfonts-100dpi-transcoded, xfonts-75dpi, 
xfonts-75dpi-transcoded, 
xfonts-artwiz, xfonts-base, xfonts-base-transcoded ... as well as 
gsfonts-x11, and a few others.
That's not the problem. I'm a bit bemused by an apparently missing x 
font server in
/etc/X11 ... surely Debian (unstable) still uses it ?

Adam Bogacki,
[EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Re: Font problem

2003-09-14 Thread Peter Hardy
On Mon, 2003-09-15 at 14:19, Adam Felix Bogacki wrote:
  Yep, I've got xfonts-100dpi, xfonts-100dpi-transcoded, xfonts-75dpi, 
 xfonts-75dpi-transcoded, 
 xfonts-artwiz, xfonts-base, xfonts-base-transcoded ... as well as 
 gsfonts-x11, and a few others.
 That's not the problem. I'm a bit bemused by an apparently missing x 
 font server in
 /etc/X11 ... surely Debian (unstable) still uses it ?

OK then, I'm still guessing it's something boonky with your font
loading.  The list of available fonts is returned by xlsfonts.  Could
you try grepping that for helvetica and fixed, to make sure I'm right?
:-)

Also, what do the FontPath entries look like in the Files section of
your XF86Config?  And what modules are being loaded?

My generated XF86Config file included a font server, but I certainly
don't use one.  I think it's overkill if you're only serving them up to
the local machine.  The following works for me:

Section Files
FontPathunix/:7100# local font server
# if the local font server has problems, we can fall back on these
FontPath/usr/lib/X11/fonts/Type1
FontPath/usr/lib/X11/fonts/CID
FontPath/usr/lib/X11/fonts/Speedo
FontPath/usr/lib/X11/fonts/misc
FontPath/usr/lib/X11/fonts/cyrillic
FontPath/usr/lib/X11/fonts/100dpi
FontPath/usr/lib/X11/fonts/75dpi
FontPath/usr/share/fonts/truetype
FontPath/usr/share/fonts/truetype/xfree86-nonfree
FontPath/usr/share/fonts/truetype/freefont
FontPath/usr/share/fonts/truetype/larabie-straight
EndSection

-- 
Pete

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] two intractable problems

2003-09-14 Thread Felix Sheldon
On Mon, 2003-09-15 at 13:50, Bret Comstock Waldow wrote:

 The other problem is much weirder.  The desktop machine kills the cable
 modem connection when it's powered up.  Even when there's no ethernet
 cable connecting it to the modem.
 
 Didn't used to.  It's worked for almost 2 years on that setup, and now
 it's killing it.  Windows or Linux.  Pulling the machine into another
 room and powering it up there seems not to kill the modem, so power is
 all I can think of, but that's ridiculously inconvenient in his house -
 the cable goes into the computer room.  Has anyone seen such behavior?
 

Could be radio interference from that PC. Are all it's covers on? You
could try running an extension power lead from the other room to test
the theory. If the 'cable' internet is running coaxial cable, it should
be fairly safe from interference, but maybe a connection is loose, or
the cable modem itself is not very well shielded.


-- 
Felix Sheldon [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] two intractable problems

2003-09-14 Thread Bret Comstock Waldow
Apologies for cross-posting.

I'm trying to get my Dad's machines set up so I can leave the US and
return Down Under, and I'm tearing my hair out with some problems I'm
running into.  I bought both the machines involved, and have run Linux
on them successfully for a while, and so has he.

We want gnomemeeting on them, so we can keep in touch.  Windows and
Netmeeting has worked just fine quite a while, but I can't get Linux set
up.

On the Toshiba Tecra 780 laptop, I can't get sound with any modern
distro.  Not Debian, not Redhat 9, not SuSE 8.2.  SuSE 7.3 does it, but
then no Gnome 2 and no gnomemeeting.  I had a look at the modules loaded
in SuSE 7.3/alsa 0.5, and I've built alsa 0.9 and alsa 0.5 in Debian but
no joy.  The alsa configuration program in debconf builds the
configuration, but it doesn't then work.  It's a Tecra 780 with a Yamaha
OPL3-SA2 sound card - does anyone know how to make one of those work?

The other problem is much weirder.  The desktop machine kills the cable
modem connection when it's powered up.  Even when there's no ethernet
cable connecting it to the modem.

Didn't used to.  It's worked for almost 2 years on that setup, and now
it's killing it.  Windows or Linux.  Pulling the machine into another
room and powering it up there seems not to kill the modem, so power is
all I can think of, but that's ridiculously inconvenient in his house -
the cable goes into the computer room.  Has anyone seen such behavior?

Lesser problems with the desktop involve the BestData VC-100 bttv video
camera not working with Debian Woody (drivers lock up), but if we can't
put it on the net, that doesn't matter a lot.

I'd hate to have to leave him with Windows only, and me having to boot
Windows to contact him.  He'd rather use Linux, and I'm sure I do too.

A shot in the dark, but I don't have a lot of hair left at this point. 
Anyone seen either of these problems?

Cheers,
Bret


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug