/[cvs]/joko/doc/SampleTasks/sysadmin_2003-01.twingle
ViewVC logotype

Contents of /joko/doc/SampleTasks/sysadmin_2003-01.twingle

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Wed Feb 26 23:27:13 2003 UTC (21 years, 9 months ago) by joko
Branch: MAIN
CVS Tags: HEAD
+ twingled

1 <h3>admin's sample notes - 2003-01-22 - creating an account for "recieveMail"</h3>
2 <hr/>
3
4 ------------------------------------------------------------------
5 Admin-Task: creating an account for "recieveMail" - 2003-01-22
6 ------------------------------------------------------------------
7 links-computing@news.netfrag.org
8 by now: links-computing@netfrag.org
9
10 useradd newscollector
11 cd /home
12 mkdir newscollector
13 chown newscollector.staff newscollector
14 nano .bashrc
15 add line:
16 alias l='ls -alF --color'
17
18 cd /etc/mail
19 nano virtusertable
20 add lines:
21 # --- news.netfrag.org - joko, 2003-01-22
22 #@news.netfrag.org newscollector
23 links-computing@netfrag.org newscollector # (by now)
24 (
25 make
26 /etc/init.d/sendmail reload
27 )
28 makemap hash virtusertable < virtusertable
29
30 cd /home/newscollector
31 mkdir tmp
32 cd tmp
33 export CVSROOT=/var/lib/cvs
34 cvs checkout -d recieveMail joko/ToolBox/Linux/MailDelivery/recieveMail no!
35 cvs checkout -d recieveMail nfo/perl/scripts/recieveMail
36 su newscollector
37 cd ~
38 export CVSROOT=/var/lib/cvs
39 mkdir Mail
40 cvs checkout -d Mail joko/ToolBox/Linux/MailDelivery/recieveMail/test/Mail/.rules.pm
41 modify!
42 cd ~
43 nano .forward
44 add line:
45 |"/data/bin/recieveMail/recieveMail
46
47 TODO: rename user to "collector"!!!
48
49 install rules:
50 cd ~
51 ln -s /data/opt/dispatchmail/etc/.dispatchmailrc-collector.pm .dispatchmailrc.pm
52
53 -----------------------------------------------------------------------------
54
55 cd /var/lib/cvs/nfo/perl/libs/
56 chown -R .src Mail/
57
58
59 ./buildmail | ./dispatchmail
60
61 integrate Mail::Audit::Dispatch with Log::Dispatch and/or DesignPattern::Object::Logger
62

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed