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