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