Re: lug-bg: DHCP -> DNS; sendmail
- Subject: Re: lug-bg: DHCP -> DNS; sendmail
- From: teodor@xxxxxxxxxxxxxxx (Teodor Georgiev)
- Date: Fri, 3 Aug 2001 14:14:02 +0300
>sendmail
>Kato se razpadne wryzkata dokato potrebitela si wzima postata
>wyw /var/mail opaskata na usera ostawa zaklucena.
>Oswen samata opaska /var/mail/user se poiawiawa i
>/var/mail/user.lock i na potrebitela mu wika dai parola
>parolata ne werna i taka. Iztriwam faila user.lock
>i se oprawia. Predpolagam ce sendmail sled nekakyw timeout
>ste iztrie sam toia fail. Ima cela grupa promenliwi s timeouti
>no koia tocno e promenliwata za celta. Postite sa wse spesni
>a wremenata tam sa wse okolo 1 cas a az ne winagi sym pod ryka da
>go iztria.
1. tozi problem go pravi pop3 demona, ne sendmail... ne znam kak si tochish
poshtata prez Sendmail :))) T.e. kogato usera si tegli poshtata, mu se syzdava
lock fail, za da ne stane gaf. Sled kato prikluchi s tegleneto, tozi lock fail
se iztriva. I kato dropne usera nenadeino - olele... lock faila ostava i toi
posle ne mozhe da si checkne maila. Po princip si imashe scriptcheta za
qpopper i in.pop3d v crontaba, koito proverqvat za "stale" lock failove, ama
te na 15min proverqvaha mai.
2. eto ti reshenie ot men:
* script v crontab, deto se startira na vsqka minuta.
* v edin fail si durzhish baza danni za sichki DIAL-UP useri.
* ta scripta na vsqka minuta obikalq i sybira imenata na lock
failovete ot spool direktoriata (i si gepva ot tqh username-a).
* za vseki lock fail proverqva:
1. dali username-a e v spisuka na dial-upite,
2. chrez "radwho" dali go ima v spisuka na tekushto
zakachenite dial-up'i
* Ako e v spisuka na dial-up'ite, no go nqma v radwho, znachi
e stanal gaf - triesh lock faila.
ne znam za po-efikasno reshenie. Ako ti svyrshi work - GPL :)))
---------------------------------
Teodor Georgiev
Network Consultant
AbacusTrade Ltd, Sofia.
e-mail: teodor@xxxxxxxxxxxxxxx
e-mail: lv_tokata@xxxxxxxxx
ICQ: 33741477
---------------------------------
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|