Ocenite etot tekst:


---------------------------------------------------------------
 Instrukciya neokonchena
---------------------------------------------------------------




Sgruzit' demoversiyu http://www.hp.com/go/openmail

1. Sozdat' yuzerov i gruppy (openmail,hpoffice), (x400,x400)

/etc/group :

hpoffice::500:
x400::400:

/etc/passwd :

openmail:*:500:500:OpenMail admin:/var/opt/openmail:/bin/sh
x400:*:400:400:X400 admin:/var/opt/x400:/bin/sh

Loginit'sya pod etimi yuzerami nastoyatel'no ne nado

2. Dobavit' v puti poiska /opt/openmail/bin

/etc/PATH :

...:...:/opt/openmail/bin

3. Sozdat' katalogi s sootvetstvuyushchimi pravami i bol'shimi razmerami

 /opt/openmail                   > 250Mb
 /var/opt/openmail               > 500 (pod razmer hraneniya mbox'ov
 /var/opt/x400                   > 500

 mkdir /opt/openmail
 chmod g+rwx     /var/opt/x400 /var/opt/openmail # openmail sam s'chmod'it

 lvcreate -L 500 -n openmail /dev/vg00
 lvcreate -L 500 -n varopenmail /dev/vg00
 newfs -F vxfs /dev/vg00/ropenmail
 newfs -F vxfs /dev/vg00/rvaropenmail

Dobavit' v /etc/fstab

/dev/vg00/openmail     /opt/openmail vxfs defaults 0 2
/dev/vg00/varopenmail  /var/opt/openmail vxfs defaults 0 2

 mount /var/opt/openmail
 mount /opt/openmail

3. Proinstallirovat' pakety (4 shtuki)

Patch sendmail'a obyazatel'no stavit' do openmail
PHNE_14041 - sendmail 8.8.6 (dlya HP-UX/10.20), ili na bolee svezhuyu versiyu
PHNE_15509 - sendmail 8.9.1 (dlya HP-UX/11.0), ili na bolee svezhuyu versiyu

Posle ustanovki patcha skopirovat' novye sendmail.cf fajly na mesto staryh
cp /usr/newconfig/etc/mail/* /etc/mail/

OPENMAIL   87Mb   # Sobstvenno openmail


OMGUI       4Mb

Raspolozhenie paketov

tiger:/tmpwolf/tigerdepots/openmail
tiger:/tmpwolf/tigerdepots/patches/*

O rezul'tatah installyacii smotret'

tail -f /tmp/ominstall.log
omshowlog -l 7

Povtornaya konfiguraciiya proinstallirovannogo openmail

ominstall

4. Zapustit' server

 omrc   # zapusk
 omshut # ostanov

rc-skript zapuska dobavlyaetsya v /sbin/rc2.d
touch ~openmail/sys/omrc.off # CHtob ego dezaktivirovat'

Zatem zapustit' hpterm i v nem

omadmin

 -> SERVICES   enable all



omshut
omreset -d       # Udalenie mail-storage i yuzerov
omreset -i       # Udalenie _vsego_ openmail



omstat -s
omsetsvc -r unix # posmotret' detali
omsetsvc -e      # posmotret' detali o vseh

omsetsvc -i  p7  # dezinstallirovat' servis (ne zapuskalsya, i ne pokazyvalsya)
*VOPROS: Kak ego reinstallirovat'
omoff -s rci     # pogasit' server
omon  -s unix    # startovat' server



Bez  licenzii openmail rabotaet 6 mesyacev posle installyacii bez ogranichenij.
Zatem nastupit konec sveta.

omaddlic # vnesenie parolya licenzij

omshowlic # mozhno ispol'nyat i na rabotayushchej i na pogashenoj siisteme




Dlya chteniya dannyh iz direktorij dopolnitel'noj konfiguracii ne trebuetsya



/etc/inetd.conf :
pop3	stream	tcp	nowait	root	/opt/openmail/bin/in.pop3d in.pop3d

/etc/services :
pop3             110/tcp          # PostOffice V.3

inetd -c



/etc/services :
imap4           143/tcp           # imap network mail protocol

Configuration in ~/sys/general.cfg.

Like the unix gateway has ~/sys/unixout.str to steer bodypart
conversion, the browser uses an equivalent file ~/sys/brwmime.str



Spisok  vseh  pol'zovatelej v Public Distribution List mozhno polozhit' tol'ko
rukami

omaddpdl  -l all/puma,class # sozdat' spisok
omshowu   -m puma,class > tmp ;
omaddpdln -l all/puma,class -f tmp # dobavit' v PDL adresa iz fajla



omsearch -e "s=as*/ou1=m*"



Rabotaet tol'ko na hpterm

omadmin



Ustanovit' uroven' protokolirovaniya
Ustanovit' razmer kol'cevogo loga
Prosmotr

Rabota s audit-logom.
Otredaktirovat' audit.cfg
omauditcg 6
Zatem smotret' ~/log/audit.log





Dostatochno podklyuchit' cgi-script. I direktoriyu s ikonkami




2. Gde opredelyaetsya sootvetstvie LDAP polej kotorye
vidit klient podklyuchivshis' cherez  LDAP protokol
k Openmail direktory. Zadacha - vbit' v OpenMail direktoriyu tekst
na russkom tak, chtob udalennye klienty mogli cherez LDAP
iskat' v nej po russki.

4. Kak gejtovat' OpenMail Buletin Board v Excange i obratno?




Ustroena  po  principu  push.  Kol'cevaniya messadzhej ne proishodit. Zaryazhat'
nado  sperva  prinimatelya,  zatem  -   tolkatelya.   Udalenie   messadzha   ne
podderzhivaetsya - tol'ko dobavlenie.



Ustroena  po  principu  request.  Kol'cevaniya dannyh ne proishodit. Zaryazhat'
nado sperva eksportera, zatem - zaproschika. V sluchae polucheniya otboya na
 request sinhronizaciya ostanavlivaetsya i ee nado zanovo perekonfigurit'.



 omtidyu   - chistka individual'naya
 omtidyall - chistka u vseh

/opt/opemail/diag/omcontain - prosmotr i redaktirovanie, otladchik message store
Parol'  A`date +"%d + 10" | bc`E     (  A{n+10}E gde n=segodnyashnee chislo )

/opt/opemail/diag/omqvtain - prosmotr i udalenie soobshchenij v ocheredyah
Parol'  tot zhe






> Zadacha - vbit' v OpenMail direktoriyu tekst
> na russkom tak, chtob udalennye klienty mogli cherez LDAP
> iskat' v nej po russki.

LDAP  -  chasto-primenyaemyj  protokol dlya podklyucheniya k proizvol'nym adresnym
knigam raznyh proizvoditelej. V OpenMail realizoval  ego  tol'ko  nachinaya  s
versii OM 5.10.  V starom Technical guide LDAP eshche ne byl opisan.

Poetomu vse podrobnosti sm. na
http://www.pwd.hp.com.--> OpenMail -> search "ldap",
Osobo lyubopytny dokumenty serii  OTN (Technical note).



Realizovano  v  OM versii >= 5.01. Mozhno ispol'zovat' po umolchaniyu bez kakih
libo  telodvizhenij.  Pryamo  v  adrese:  user@host.domain,  hotya  konechno   i
standartnoj   shemy  zapisi  "Any Name/unixmailnode,mime(user@host.domain)"
nikto ne otmenyal.



Nikak.  Est'  produkt M$ Excange Connect, no on umeet zatyagivat' _tol'ko_ OM
Directory i PDL. Excange-sistema s tochki zreniya OM nichem  ne  otlichaetsya  ot
prochih internetovskih adresov.

Na  tom  zhe  www.pwd.hp.com v podoblasti "Contributed scrips" kogda-to lezhal
samodel'nyj paket, pozvolyavshij gejtovat' BB v NNTP-news.  No  eto  bylo  dlya
drevnih versij OM.



Patch dlya perevoda OM iz 5.10 v 5.20 sushchestvuet na CD? Esli da, to na kakom?
Ili on kachaetsya iz Interneta?

V internete est'.

Po opcii 0S2 dolzhen li prihodit' etot patch ili net?

Da




/var/opt/openmail/csetconv

Last-modified: Mon, 27 Jan 2003 13:08:40 GMT
Ocenite etot tekst: