Страница 1 из 1

Почта

Добавлено: 2009-08-21 5:28:05
Useroff
Доброе время суток,
Подскажите, как всю преходящую почту руту от системы, пересылать на определеный ящик ?

Re: Почта

Добавлено: 2009-08-21 8:23:00
Raven2000
Mail Aliases
Every standard OpenBSD system sends status emails on a regular basis. If you're on a middlesized
network, you probably have central systems administration email accounts that go to the
proper people. Edit the mail aliases file, /etc/mail/ aliases, to direct those emails to that central
account.
In /etc/mail/aliases, you'll see a section that looks like this.
# Well-known aliases -- these should be filled in!
# root:
# manager:
# dumper:
Remove the leading pound sign from each of the "root," "manager," and "dumper" lines. Then
put in your correct email address after the colon.
# Well-known aliases -- these should be filled in!
root: support@AbsoluteOpenBSD.com
manager: support@AbsoluteOpenBSD.com
dumper: support@AbsoluteOpenBSD.com
Once you have done this, run newaliases(8) without any arguments to update the aliases
database. Emails will now start going to the appropriate accounts.
;-)

Re: Почта

Добавлено: 2009-08-21 9:37:48
icb
# manager:
# dumper:
На эти алиасы что посылается?
Есть список подобных алиасов?

Re: Почта

Добавлено: 2009-08-21 9:39:01
Raven2000
я все руту кидаю

Re: Почта

Добавлено: 2009-08-21 10:19:58
icb
Так если отправка будет на manager или dumper, то повиснет в очереди (как недоставленное).

Re: Почта

Добавлено: 2009-08-21 10:21:29
Raven2000
алиас на рута

Re: Почта

Добавлено: 2009-08-21 10:56:51
icb
Т.е. выглядит это так?
root: email@email.com
manager: root
dumper: root
И как быть с другими стандартными алиасами? Или их только 3?

Re: Почта

Добавлено: 2009-08-21 11:03:26
Raven2000

Код: Выделить всё

root: Raven2000, Vasia

Raven2000: Raven2000@lissyara.su
Vasia: Vasia@mail.ru

manager:  root
dumper: root
home: Raven2000

Re: Почта

Добавлено: 2009-08-21 11:05:40
icb
Как все таки дела обстоят с другими стандартными алиасами? Или их только 3?
Про manager и dumper я вообще слышу в первый раз.

Re: Почта

Добавлено: 2009-08-21 11:06:29
Raven2000
ставь хоть named, dhcp и тп