Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,207
» Latest member: Meup
» Forum threads: 4,029
» Forum posts: 16,404

Full Statistics

Online Users
There are currently 312 online users.
» 0 Member(s) | 308 Guest(s)
Applebot, Bing, Google, Yandex

Latest Threads
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 61
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 73,704
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 30,348
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,641
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,049
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 40,626
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 103,280
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 44,068
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 34,509
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 40,134

 
  falling penguins
Posted by: anyweb - 2003-12-30, 12:04 AM - Forum: Linux - Replies (1)


erm

 

check out my penguins

 

:)

 

[/url][url=https://www.linux-noob.com]https://www.linux-noob.com

 

 

hehe :)

<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/post-11-1072742644.png" data-fileid="21">[img]<fileStore.core_Attachment>/post-11-1072742644.png[/img]</a>



Attached Files
.png   Screenshot_36.png (Size: 464.26 KB / Downloads: 0)
Print this item

  Other idea of Logo
Posted by: Oroshi - 2003-12-29, 11:08 PM - Forum: Want to help linux-noob.com ? - Replies (9)


There u go.

 

[Image: logo.gif]

 

[Image: logo1.gif]

 

[Image: logo2.gif]

Print this item

  Fedora & Gnome & gDesklets
Posted by: Oroshi - 2003-12-29, 05:35 PM - Forum: Linux - Replies (2)


What ya think?

 

[Image: gdesklets.png]

Print this item

  another new moderator added
Posted by: anyweb - 2003-12-29, 01:16 PM - Forum: Site News - Replies (4)


hi all,

 

please congratulate and support digerati on becoming a Moderator of linux-noob.com/forums

 

well done digerati, keep up the good work and get lots of new members

and continue to post good info,

 

I still need your help to redesign the logo, I can't figure it out so cmon and give me a hint ;)

 

 

cheers

 

anyweb

Print this item

  digital camera
Posted by: lia - 2003-12-28, 01:49 PM - Forum: General Chat - Replies (1)

upload the new piccies pleease :)

Print this item

  winamp in wine in fedora
Posted by: anyweb - 2003-12-26, 09:59 PM - Forum: Wine - Replies (2)


heres winamp in wine in fedora on my laptop, works just fine, however.... if you look at the top part of winamp you can see the typical 'gnome' type surround on it,

 

how do i get rid of that, when i installed wine in rh8/9 i didnt have the same problem

 

any ideas ?

 

cheers

 

anyweb

<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/post-5-1072475979.png" data-fileid="20">[img]<fileStore.core_Attachment>/post-5-1072475979.png[/img]</a>



Attached Files
.png   Screenshot_2.png (Size: 220.77 KB / Downloads: 0)
Print this item

  hi i'm anyweb
Posted by: anyweb - 2003-12-25, 05:22 PM - Forum: Hello - Replies (10)


hi everyone,

 

i'm anyweb (the person who setup, runs, and maintains www.linux-noob.com),

 

real name, Niall C. Brady,

 

i'm an irish man, 38 years old (grey hairs too) and with three sons (Christopher - 6 and Sebastian 20 months, Benjamin 6 months), and a girlfriend Annelie.

 

I live in Sweden, in a small place on the south west coast called Jonstorp, its nice there

 

I love working with and messing with computers, and my job involves that, infact, i work from home !

 

There is some more info about me here including some short videos to download

 

I run this website and forums from a computer at home, it's a personal project and one that I am very interested in, I use both linux (mostly redhat, but fedora too) and windows (mostly xp), and i love to play with new gadgets and try out new software as soon as i can,

 

I also like to write reviews of Linux on OSNEWS.com , infact I wrote the worlds first review of Red Hat 9 (published) and the first review of Fedora Core Release 1.

 

I hope to continue writing reviews in the future,

 

I was born in Dublin, Ireland in 1966 and lived in Zambia, Africa for about 7 years from the ages of 3 to 10 or so. I've travelled to alot of different places in the world and am very happy living in Sweden now.

 

I've always been interested in computers, right from when i first got a ZX81 from my dad, i then progressed to an Amstrad CPC 6128 and taught myself how to program in assembly language in Z80 using a MAXAM rom and disassember. I started to first 'hack' games, and then went on to change the games by adding entire new levels and even new maps, it was fun fun fun. And very addictive. I was publised 14 times on popular English magazines at that time and all the results of that are here

 

I hope you all enjoy using these forums, and that we develop into a strong community.

 

cheers

 

anyweb

 

:)

Print this item

  xfce + gDesklets
Posted by: lytez - 2003-12-25, 04:59 PM - Forum: Linux - Replies (6)


here we are...my xfce desktop + gDesklets. MultiTail and GoodWeather, and of cuorse...gaim, xmms, gkrellm+gkrellcam, Eterm+irssi... o_O

 

[Image: gdesklets.png]

Print this item

  emacs tricks
Posted by: grep420 - 2003-12-24, 04:08 PM - Forum: Tips and Tricks - Replies (4)


I am posting this for nforbes. - grep420

 

One of the great things about emacs is that you can change the looks of it by editing files in a programming language called "lisp". It's actually a very simple programming language, and with the help of emacs, it can become quite useful. Let's get started.

 

First, open up emacs, and get up a find file in the minibuffer. This can be accomplished by pressing ^X-^F (^ means Ctrl). It should look similar to this:



Code:
Find file: ~/




 

Locate the file ~/.emacs, and open it. .emacs is the file that emacs trys to autoload to get settings from. If it doesn't exist, let emacs create it for you. Now we can start doing some cool things. Most commands in lisp for emacs look like this:



Code:
(set-variable 'option value)




 

These options are equivalent to pressing M-X (M means Alt), and then the option. For example, try M-X global-font-lock-mode. This is the same as writing (set-variable 'global-font-lock-mode t) in your .emacs. However, by putting that line in your .emacs, every time emacs starts, it will automatically execute M-X global-font-lock-mode. Pretty neat, huh?

 

A good way to edit your .emacs is to use the built-in emacs customization interface. Type M-X customize-browse. You can browse through all the settings available to emacs here. When you select to turn one on (or off), it will automatically add that to your .emacs as if you had written it yourself!

 

Next, let's do some key bindings. These are neat because you don't have to remember specific M-X commands, just the key that executes them. Let's see how we can have F1 and Shift-F1 move forward and backward in the buffers.

 

Some people like to have a different file for key bindings, and they generally put this in the /usr/share/emacs/site-lisp (or wherever your site-lisp directory might happen to be). By doing this, you can easily organize all your emacs settings. So get up the find file dialog in the minibuffer again, and (making sure you are root for this one), open /usr/share/emacs/site-lisp/site-keys.el. .el is the extension used for emacs lisp files.

 

Let's make a new keybinding. this can be accomplished by doing



Code:
(global-set-key [key]  'option)




 

We want to bind F1 to 'go to the next buffer' (the command for this is 'exhume-buffer'), and Shift-F1 to 'go to the previous buffer' (the command for this is 'bury-buffer'), so what we can do is this:



Code:
(global-set-key [f1]  'exhume-buffer)
(global-set-key [(shift f1)]    'bury-buffer)




 

Note the parenthesis around "shift f1". emacs does not have an interface (that I know of) for adding new key bindings, so you'll have to write this file yourself.

 

emacs does not automatically load the files in /usr/share/emacs/site-lisp, so we'll have to add this file as a library to our .emacs. Switch to your .emacs buffer (M-X bury-buffer until we load these key bindings), and add a library line:



Code:
(load-library "library-name")




 

By default, emacs loads libraries from its shared site-lisp directory. If you saved this file somewhere else, include the path to the library as well.

 

You can also customize emacs' colors. Again, it's good to put these in a seperate file, so open up /usr/share/emacs/site-lisp/primary-faces.el

 

Let's just do some easy stuff. You should be able to catch on to these settings, so I won't bother explaining all of them.

 



Code:
(set-background-color "black")
(make-face 'default)
(set-face-background  'default "black")
(set-face-foreground  'default "gray90")
(copy-face 'default   'bold)
(copy-face 'default   'italic)
(copy-face 'default   'bold-italic)
(copy-face 'bold      'zmacs-region)
(copy-face 'bold      'isearch)
(copy-face 'bold      'highlight)
(copy-face 'bold      'primary-selection)
(copy-face 'bold      'secondary-selection)
(copy-face 'default   'left-margin)
(copy-face 'default   'right-margin)
(set-face-background  'zmacs-region  "steelblue"   )
(set-face-foreground  'zmacs-region  "grey90"      )
(set-face-background  'isearch      "lightblue"   )
(set-face-foreground  'isearch      "black"       )
(set-face-background  'modeline      "deepskyblue4")
(set-face-foreground  'modeline      "linen"       )
(set-face-background  'highlight  "lightblue"   )
(set-face-foreground  'highlight  "black"       )
(set-face-background  'primary-selection    "steelblue3"  )
(set-face-background  'secondary-selection    "steelblue4"  )
(set-face-foreground  'secondary-selection    "grey90"      )

(provide 'primary-faces)




 

The one thing you may be curious about here is 'copy-face'. copy-face looks like this:



Code:
(copy-face 'face-from   'face-to)




 

It gives the 'face-to' face the attributes of the 'face-from' face, and nothing more.

 

That's pretty much how my primary-faces.el looks. Now we need to load the primary faces in our .emacs. This is accomplished by using a require require line (note: this is note a library because we use 'provide' in our file):



Code:
(require 'primary-faces)




 

There's a lot more customization available in emacs; this is just the tip of the iceberg. For other commands, you can type ^H-I and scroll to the 'Elisp' section. Be sure to check out some of the other help topics available, too.

 

If you have any questions about this tutorial, feel free to send me an email (<nomafo@bellsouth.net>), or hop on irc.blessed.net (EFNet) and join #redhat.

 

Enjoy!

--Noel

Print this item

  postfix + spamassassin
Posted by: hijinks - 2003-12-24, 02:39 PM - Forum: Tips and Tricks - No Replies


This is a simple doc on how to get spamassassin and postfix working together. This doc is targeted towards people with Redhat or Fedora. I also use apt-get. If you don't, you are missing out. Grab it at [/url]http://apt.freshrpms.net.

 

I like postfix mainly because its proven itself as being a fast and secure MTA. It is also very simple to configure unlike sendmail.

 

Lets grab the needed rpms using apt-get. Chances are apt-get will prompt you to install other needed rpms, just hit yes and let them install

 



Code:
apt-get install postfix spamassassin redhat-switch-mail




 

Now that you have all the needed rpms installed lets make sure sendmail won't start on startup and the SA and postfix will load on startup

 



Code:
chkconfig sendmail off
service sendmail stop
chkconfig spamassassin on
chkconfig postfix on




 

Now lets just the switch-mail program to make sure postfix is our default MTA

 



Code:
redhat-switch-mail




 

Then select postfix and hit ok. It'll change some symlinks to make sure that postfix is the default MTA. Now we are ready to start to config SA and postfix to end spam for good

 

So we need to create a spam user and also a homer dir for the spam user then make sure all the permissions are ok

 



Code:
groupadd spam
adduser -g spam -d /var/spam spam
chown -R spam:spam /var/spam




 

Now that the spam user is setup we have to make a spamfilter file. This is the file that will run the mail through spamassassin. create a file in /usr/local/bin/spamfilter.sh and insert the following lines into the file

 



Code:
#!/bin/sh
INSPECT_DIR=/var/spam
SENDMAIL=/usr/sbin/sendmail
SPAMASSASSIN=/usr/bin/spamc
EX_TEMPFAIL=75
EX_UNAVAILABLE=69
cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit $EX_TEMPFAIL; }
trap "rm -f in.$$; rm -f out.$$" 0 1 2 3 15
cat | $SPAMASSASSIN -f > out.$$ #|| # { echo Message content rejected; exit $EX_UNAVAILABLE; }
$SENDMAIL "$@" < out.$$
exit $?




 

Now that the file is made we have to set the permissions and ownership for the file so that the user spam can run the file

 



Code:
chmod +x /usr/local/bin/spamfilter.sh
chown spam:spam /usr/local/bin/spamfilter.sh




 

Now lets setup postfix. edit the file /etc/postfix/main.cf. Below I have copied the lines I have edited in that file just as they appear BEFORE i edited them. Its up to you to change them. If you see a # in front make sure you remove it. If you don't see one then just edit that line. Ignore the () on the line.. they are my notes to you.

 



Code:
#myhostname = host.domain.tld (host.domain.com)
#mydomain = domain.tld (domain.com)
#myorigin = $mydomain (just remove the #)

inet_interfaces = localhost (add a # in front)
#inet_interfaces = all ( remove the # in front)

#mydestination = $myhostname, localhost.$mydomain  (add a # in front)
mydestination = $myhostname, localhost.$mydomain $mydomain l ( remove the # in front)

#mynetworks_style = subnet
#mynetworks = 168.100.189.0/28, 127.0.0.0/8  (make sure you edit the first string)

#mail_spool_directory = /var/spool/mail




 

Thats it for main.cf. Now lets edit the file /etc/postfix/master.cf Below I will show the originals then what you should chanjge it to

 

smtp inet n - y - - smtpd

change it to look like this

smtp inet n - n - - smtpd -o content_filter=spamfilter:dummy

 

then scroll down to the bottom of the file and add the following. NOTE! the following line should just be one line in the file

 

spamfilter unix - n n - - pipe flags=Rq user=spam argv=/usr/local/bin/spamfilter.sh ${sender} ${recipient}

 

Now you are done with that. So the last thing to do is change how spamassassin is started. Edit the file /etc/sysconfig/spamassassin

 

 



Code:
# Options to spamd
SPAMDOPTIONS="-d -c -a -u spam -H /var/spam"




 

The last thing we have to edit is the SA config. It is located at /etc/mail/spamassassin/local.cf. I have an example one at www.zcentric.com/local.cf or use [url=http://www.yrex.com/spam/spamconfig.php]http://www.yrex.com/spam/spamconfig.php to generate your own.

 

Once you have created your own local.cf file you can move on to the next step

 

Now lets startup SA and postfix and do some testing!

 



Code:
service spamassassin start
service postfix start




 

Then test it out. Make sure you send mail from an outside host. SA does not seem to process it if you send it from the same host that the mailserver is running. You should see something like this in the headers

 

 

 



Code:
X-Spam-Status: No, hits=1.1 required=7.0
       tests=DATE_IN_PAST_03_06,SPAM_PHRASE_00_01
       version=2.44
X-Spam-Level: *




 

As you can see I have my limit set at 7 and my test mail got a 1.1 rating. So it doesn't get marked as spam. If its above 7.0 then it'll change the subject to ****SPAM**** before the real subject. Then I have a filter setup on my mailclient to move all mails with that in the subject to a spam folder. You can make SA delete all spam also. Read the SA docs and its all done in the local.cf file

 

ANother great tip from the J to the Y. Damn i rule

Print this item