(Category) Theory Group Computing Faq
This a Computing FAQ for the Particle Theory Group.
manager@theory.uchicago.edu
Subcategories:
(Category) Printing
(Category) Computing Cluster
(Category) Applications
(Category) Mail
(Category) Contacting "The Managers"
(Category) Instant Messaging

Answers in this category:
(Answer) New Item

[New Answer in "Theory Group Computing Faq"]
(Category) (Category) Theory Group Computing Faq :
Printing
This deals with network printing within the theory group.
manager@theory.uchicago.edu
Subcategories:

Answers in this category:
(Answer) What printers can I print to in the particle theory group?
(Answer) How do I print to lpc duplexed?
(Answer) How do I set up printing from Mac OS X?
(Answer) Scanning documents
(Answer) New Item

[New Answer in "Printing"]
(Answer) (Category) Theory Group Computing Faq : (Category) Printing :
What printers can I print to in the particle theory group?
 Print Queue   | Description
---------------------------------------------------------------
 lp1           | Large HP 4100 B&W printer in RI 274
 lp1m          | Large HP 4100 B&W printer in RI 274 (Manual Feed)
 lp1s          | Large HP 4100 B&W printer in RI 274 (Single Sided)
 lpc           | Xerox Color Phaser 6300DN in RI274
 lpcm          | Xerox Color Phaser 6300DN in RI274 (Manual Feed)
 lpcs          | Xerox Color Phaser 6300DN in RI274 (Single Sided)
 ps284         | Xerox Color Phaser 6300DN RI 284
 ps284m        | Xerox Color Phaser 6300DN RI 284 (Manual Feed)
 ps284s        | Xerox Color Phaser 6300DN RI 284 (Single Sided)
[Append to This Answer]
(Answer) (Category) Theory Group Computing Faq : (Category) Printing :
How do I print to lpc duplexed?
You don't. Our color printer doesn't have a duplexing unit installed, so two-sided printing won't work no matter what options you specify. You might try printing odd pages and then even ones... but there are very few cases where two-sided printing is necessary on this printer.
plauss@theory.uchicago.edu, sbjensen@uchicago.edu
[Append to This Answer]
(Answer) (Category) Theory Group Computing Faq : (Category) Printing :
How do I set up printing from Mac OS X?
This is sometimes a two step process because of nonstandard assumptions made by the Mac OS Printer Setup Utility. (Note: I have only tested this process on OS 10.3.)

First, open the printer setup utility (System Preferences -> Print & Fax -> Set Up Printers). If the printer queue that you want appears automatically under "Shared Printers", you're already done: just click the checkbox on the left so that it will be listed as an option in your applications.

Otherwise, click on Add, and when the new printer dialog window comes up, choose:

IP Printing
Printer Type: Internet Printing Protocol
Printer Address: theory.uchicago.edu
Queue Name: [choose your queue: "lp1" and "color" are useful options]
Printer Model: [might not be necessary, but shouldn't hurt]

Unfortunately, a second step using the terminal command line is necessary. Open a terminal window, and type "lpstat -v". This will show a list of all available print queues and the address associated to each one. You should recognize the queue that you just added; it may look something like:

device for lp1_on_theory.uchicago.edu: ipp://theory.uchicago.edu:631/ipp/lp1

The correct address is slightly different, so we use the "lpadmin" command to change it. Making sure to substitute the appropriate print queue name(s) in two places, type:

lpadmin -p lp1_on_theory.uchicago.edu -v ipp://theory.uchicago.edu:631/printers/lp1

As you can see, the only change is replacing the directory "ipp" with "printers". After this change, the printer should work perfectly well.

For reference, this hint came from the following website: http://www.macosxhints.com/article.php?story=20031210081441221
sbjensen@uchicago.edu

[Append to This Answer]
(Answer) (Category) Theory Group Computing Faq : (Category) Printing :
Scanning documents
The HP 4101mfp laserjet printer/copier/scanner has the capability to scan documents and send them as email attachments (e.g. to your inbox). The procedure is as follows:

On the control panel of the printer, use the four arrow keys surrounding the green button with the OK/check mark to maneuver within the menus. Use the OK/check button to select an item.

1. Scroll down and select "Send options"
2. Select "email"
3. You will see a standard email address header in the display; fill in the From, To, Cc, and Subject fields as needed.
4. Place your document on the scanner glass for a single page, or in the document feeder if you have multiple pages. Press the "Start" button to scan and send. The document will appear in the inbox of the designated recipient as an email attachment, one attachment for each page. The machine keeps the settings for up to a minute if you have additional scans that you want sent to the same email address -- just place the next document in the feeder or on the scanner glass and press "Start" again.

The HP 4101mfp can be configured to scan documents into several formats: pdf, tiff, m-tiff, and jpeg. To configure the machine, press the "Menu" button. Scroll down and select in order
a. "Configure device"
b. "Sending"
c. "Email"
You will then see options to select B&W/color scans, as well as the file type (pdf, tiff, m-tiff, jpeg). Do not attempt to modify the other settings!


Emil Martinec
ejm@theory.uchicago.edu

[Append to This Answer]
(Answer) (Category) Theory Group Computing Faq : (Category) Printing :
New Item
[Append to This Answer]
(Category) (Category) Theory Group Computing Faq :
Computing Cluster
This deals with questions about the Computers in the Particle Theory Computing cluster.
manager@theory.uchicago.edu
Subcategories:

Answers in this category:

[New Answer in "Computing Cluster"]
(Category) (Category) Theory Group Computing Faq :
Applications
This is about the Programs on the machines in the Particle Theory Group.
manager@theory.uchicago.edu
Subcategories:

Answers in this category:
(Answer) New Item

[New Answer in "Applications"]
(Answer) (Category) Theory Group Computing Faq : (Category) Applications :
New Item
[Append to This Answer]
(Category) (Category) Theory Group Computing Faq :
Mail
This is for general questions about email.
manager@theory.uchicago.edu
Subcategories:

Answers in this category:
(Answer) How do I arrange to have junk mail either deleted from the mail spool file (ie the incoming queue), or shunted off to a junk mail file?
(Answer) How Does Authenticated SMTP work?
(Answer) How can I use the Beta version Blacklist?
(Answer) How can I make spamassassin learn what I think is spam?
(Answer) I want to make a whitelist, how do I do that?

[New Answer in "Mail"]
(Answer) (Category) Theory Group Computing Faq : (Category) Mail :
How do I arrange to have junk mail either deleted from the mail spool file (ie the incoming queue), or shunted off to a junk mail file?
The easiest way to do this is through the use of procmail filters.  
Procmail filters will accept regular expression.  Here is a quick 
recipe for moving mail labeled as "SPAM" to a junk spool.

:0:
* ^X-Spam-Status: Yes.*
$HOME/mail/Junk

Just write that to a file in your home directory called .procmailrc 
and everything  that is labeled with the "X-Spam-Status: Yes" line 
by spam assassin will be moved to the mail/junk file in your home 
directory.

For more information about procmail filters and recipes go to 
http://www.procmail.org/
manager@theory.uchicago.edu
For additional information and recipes for configuring
your .procmailrc file for filtering, consult the man pages,

man procmailex

or visit the procmail mailing list archive

http://www.xray.mpe.mpg.de/mailing-lists/procmail/

where you can search for answers to your problem,
and perhaps not reinvent the wheel.
ejm@theory
[Append to This Answer]
(Answer) (Category) Theory Group Computing Faq : (Category) Mail :
How Does Authenticated SMTP work?
When you setup smtp (outgoing email) select TLS (or SSL insome cases) and use Authentication. Then you must enter your username and password. It's that simple.
Servername: theory.uchicago.edu Port: 25 Password Method: Plain Text Password
manager@theory.uchicago.edu
[Append to This Answer]
(Answer) (Category) Theory Group Computing Faq : (Category) Mail :
How can I use the Beta version Blacklist?
The theory server now has a beta version email blacklisting program.  It takes several IP addresses from a few reliable external blacklisting organizations (more may be added later).  All you have to do is put these lines in your .procmailrc:

:0 wh
* ? /bin/checkblack
/home/<userid>/mail/Junk

This will use filters from abuseat.org.  We also get 3 lists from uceprotect.net which you can also use.  You must also have the above lines in your .procmailrc, but now you must also create a .blist file in your home directory.  Mine looks like this:

level1=yes
level2=no
level3=no

I recommend this configuration.  You can say yes on any none or all of the lines  but be advised that level1 will give you no false positives, level2 may give you some and level3 will likely give you some.

This tool will also give you access to the use of a .blacklist file in your home directory.  If you use a .blacklist be sure to use CIDR notation.  You can use straight IP addresses (192.168.10.1) or network addresses (192.168.10.1/24).  For a full explanation of CIDR go here http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
manager@theory.uchicago.edu
[Append to This Answer]
(Answer) (Category) Theory Group Computing Faq : (Category) Mail :
How can I make spamassassin learn what I think is spam?
This is really quite simple.  Spamassassin has a bayes filter in it by default.  All you need to do is tell it what you think is "spam" and what you think is "ham" (yes that is what they call good emails).  Start by creating a Junk or Spam folder  and then create a Ham folder.  Now all you need to do from the command line is enter this command:

theory$ sa-learn --showdots --mbox --spam spam-file
theory$ sa-learn --showdots --mbox --ham ham-file

This should help curb may unwanted emails.  For more details look here:
http://wiki.apache.org/spamassassin/BayesInSpamAssassin
manager@theory.uchicago.edu
[Append to This Answer]
(Answer) (Category) Theory Group Computing Faq : (Category) Mail :
I want to make a whitelist, how do I do that?
This is easy to do with procmail.  All you need to do is put the following lines in your .procmailrc:

:0E
* ? (echo "$FROM" | $FGREP -i -f /home/<userid>/.white)
/var/mail/<userid>

Now create a .white file in your home directory.  In this file enter the users you want to always receive email from one address per line like so (Regular Expression   and partial addresses are both acceptable):

manager@theory.uchicago.edu
bob@goodemailers.com
williamshakespear
google.com
@gmail.

You may also use this for blacklisting by substituting /var/mail/<userid> with /home/<userid>/mail/Junk and perhaps renaming .white to .black.
manager@theory.uchicago.edu
[Append to This Answer]
(Category) (Category) Theory Group Computing Faq :
Contacting "The Managers"
What is the Best way to contact the Theory Network Managers?
Subcategories:

Answers in this category:

Instant Messages:
 RIComputing @ AOL IM or Yahoo IM
Go into the RIComputing Group on im.uchicago.edu
Visit them at:
 Paul     RI135
 Brent    RI127

By phone at:
 Paul    22588
 Brent   20091

Email them at manager@theory.uchicago.edu.
[New Answer in "Contacting "The Managers""]
(Category) (Category) Theory Group Computing Faq :
Instant Messaging
How does instant messaging work for the theory group?
manager@theory.uchicago.edu
Subcategories:

Answers in this category:

There are two IM applications set up for the theory group gaim and gabber. gabber is strictly for use with a Jabber server such as im.uchicago.edu. gaim is functional for use with AOL Instant Messanger with plugins for other services.
  If you would like to contact us using gabber or gaim, launch it and fill out the information in the popups.  The information you will need to know is:
Your CNET ID and Password. Server: im.uchicago.edu Port: 5223 Resource: UofC SSL: ssl is required.
In gabber it will unsuccessfully try to connect just cancel it, then select "Gabber" / "Connection Settings" and click on "Use SSL encryption..."
[New Answer in "Instant Messaging"]
(Answer) (Category) Theory Group Computing Faq :
New Item
[Append to This Answer]
This document is: http://theory.uchicago.edu/faq/index.pl?file=1
[Search] [Appearance] [Show Top Category Only]
This is a Faq-O-Matic 2.719.
This FAQ administered by manager@theory.uchicago.edu