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