Предыдущая тема :: Следующая тема |
Автор |
Сообщение |
nikyev Гость
|
Добавлено: Ср Сен 04 2002 16:36 Заголовок сообщения: ...opyat' pro sendmail. |
|
|
V sendmail.cf yest' stroka "O Forward file search path". Eto imeyet kakoye-to otnosheniye k vozmozhnosti forwarding outgoing pochti ? |
|
Вернуться к началу |
|
|
Борис Гость
|
Добавлено: Ср Сен 04 2002 18:57 Заголовок сообщения: Это список путей, по которым ищется файл .forward |
|
|
Вот цитата из "SENDMAIL INSTALLATION AND OPERATION GUIDE" --------------------------- 4.10. Moving the Per-User Forward Files Some sites mount each user's home directory from a local disk on their workstation, so that local access is fast. However, the result is that .forward file lookups are slow. In some cases, mail can even be delivered on machines inappropriately because of a file server being down. The performance can be especially bad if you run the automounter.
The ForwardPath (J) option allows you to set a path of forward files. For example, the config file line
O ForwardPath=/var/forward/$u:$z/.forward.$w
would first look for a file with the same name as the user's login in /var/forward; if that is not found (or is inaccessible) the file ``.forward.machinename'' in the user's home directory is searched. A truly perverse site could also search by sender by using $r, $s, or $f.
If you create a directory such as /var/forward, it should be mode 1777 (that is, the sticky bit should be set). Users should create the files mode 644. Note that you must use the forwardfileinunsafedirpath and forwardfileinunsafedirpathsafe flags with the DontBlameSendmail option to allow forward files in a world writable directory. This might also be used as a denial of service attack (users could create forward files for other users); a better approach might be to create /var/forward mode 755 and create empty files for each user, owned by that user, mode 644. If you do this, you don't have to set the DontBlameSendmail options indicated above. |
|
Вернуться к началу |
|
|
Борис Гость
|
Добавлено: Ср Сен 04 2002 20:00 Заголовок сообщения: Здешнее ПО съело часть ответа. Я повторил. См. Борис 04-09-2002 19:10 |
|
|
. |
|
Вернуться к началу |
|
|
nikyev Гость
|
Добавлено: Чт Сен 05 2002 14:55 Заголовок сообщения: Re: Здешнее ПО съело часть ответа. Я повторил. См. Борис 04-09-2002 19:10 |
|
|
Spasibo-)) Ne obeshayu, chto derznu, no ideya ponyatna, obyasnil tak, chto ya (chaynik v sendmaile) uhvatil srazu. Yesli reshus' nachat', to soobshu ob etom zdes' zhe. Yesho raz spasibo. |
|
Вернуться к началу |
|
|
|