информационная безопасность
без паники и всерьез
 подробно о проектеRambler's Top100
За кого нас держат?Где водятся OGRыАтака на Internet
BugTraq.Ru
Русский BugTraq
 Анализ криптографических сетевых... 
 Модель надежности двухузлового... 
 Специальные марковские модели надежности... 
 Microsoft Authenticator прекращает... 
 Очередное исследование 19 миллиардов... 
 Оптимизация ввода-вывода как инструмент... 
главная обзор RSN блог библиотека закон бред форум dnet о проекте
bugtraq.ru / форум / sysadmin
Имя Пароль
если вы видите этот текст, отключите в настройках форума использование JavaScript
ФОРУМ
все доски
FAQ
IRC
новые сообщения
site updates
guestbook
beginners
sysadmin
programming
operating systems
theory
web building
software
hardware
networking
law
hacking
gadgets
job
dnet
humor
miscellaneous
scrap
регистрация





Легенда:
  новое сообщение
  закрытая нитка
  новое сообщение
  в закрытой нитке
  старое сообщение
sendmail.. во всех своих проявлениях :) 01.03.02 14:27  Число просмотров: 924
Автор: _lesha_ <lesha> Статус: Member
<"чистая" ссылка>
> Что надо прописать в aliase что бы вся почта, которая
> предназначенна для моего сервера, но посланная
> несуществующему пользователю автоматически форвардилась на
> root'а??????
А с чего ты взял, что оно делается через алиасы?
Вот тебе кусок документации на этот счет:

---CUT---
To do this, a few changes are needed to sendmail's configuration file. Edit /etc/mail/sendmail.cf and look for the lines near the start of the file which read:

# "Smart" relay host (may be null)
DSyour ISP's smart mail host

After this section, insert the following lines:

# place to which unknown users should be forwarded
Kuser user -m -a<>
# deliver mail for unknown users to postmaster locally
DLlocal:postmaster

If you want to deliver mail for unknown users to some user other than postmaster, replace postmaster with the name of the user who should receive such mail. Note that the username specified here must exist as a real Solaris user or must be listed as an alias in the /etc/aliases file. By default, postmaster is an alias for the real user root.

Then look for the section headed:

### Ruleset 5

and, a few lines further on:

# prepend an empty "forward host" on the front
R$+ $: <> $1

Immediately after these two lines, insert the following:

# send unrecognized local users to a relay host
R< > $+ $: < $L . > $(user $1 $) look up user
R< $* > $+ <> $* $: < > $2 $3 found; strip $L
R< $* . > $+ $: < $1 > $2 strip extra dot

---CUT---

ЗЫ а нафига оно тебе надо? От спама спасаться?
<sysadmin>
sendmail.. во всех своих проявлениях :) 28.02.02 17:32  
Автор: Liquid Статус: Незарегистрированный пользователь
<"чистая" ссылка>
господа... у меня к вам маленький вопросик....
:
Что надо прописать в aliase что бы вся почта, которая предназначенна для моего сервера, но посланная несуществующему пользователю автоматически форвардилась на root'а??????

заранее благодарен :))))))
sendmail.. во всех своих проявлениях :) 01.03.02 14:27  
Автор: _lesha_ <lesha> Статус: Member
<"чистая" ссылка>
> Что надо прописать в aliase что бы вся почта, которая
> предназначенна для моего сервера, но посланная
> несуществующему пользователю автоматически форвардилась на
> root'а??????
А с чего ты взял, что оно делается через алиасы?
Вот тебе кусок документации на этот счет:

---CUT---
To do this, a few changes are needed to sendmail's configuration file. Edit /etc/mail/sendmail.cf and look for the lines near the start of the file which read:

# "Smart" relay host (may be null)
DSyour ISP's smart mail host

After this section, insert the following lines:

# place to which unknown users should be forwarded
Kuser user -m -a<>
# deliver mail for unknown users to postmaster locally
DLlocal:postmaster

If you want to deliver mail for unknown users to some user other than postmaster, replace postmaster with the name of the user who should receive such mail. Note that the username specified here must exist as a real Solaris user or must be listed as an alias in the /etc/aliases file. By default, postmaster is an alias for the real user root.

Then look for the section headed:

### Ruleset 5

and, a few lines further on:

# prepend an empty "forward host" on the front
R$+ $: <> $1

Immediately after these two lines, insert the following:

# send unrecognized local users to a relay host
R< > $+ $: < $L . > $(user $1 $) look up user
R< $* > $+ <> $* $: < > $2 $3 found; strip $L
R< $* . > $+ $: < $1 > $2 strip extra dot

---CUT---

ЗЫ а нафига оно тебе надо? От спама спасаться?
1




Rambler's Top100
Рейтинг@Mail.ru


  Copyright © 2001-2025 Dmitry Leonov   Page build time: 0 s   Design: Vadim Derkach