Emails von / an Root

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
distanzcheck
Posts: 531
Joined: 2003-01-09 08:58
Location: NRW

Emails von / an Root

Post by distanzcheck » 2003-02-22 10:14

Wie kann ich emaild an und root abfragen ???

Dirk

[tom]
RSAC
Posts: 671
Joined: 2003-01-08 20:10
Location: Berlin

Re: Emails von / an Root

Post by [tom] » 2003-02-22 10:19

Die werden normalerweise an einen anderen User weitergeleitet. An wen, steht in /etc/aliases. Zum lokalen Lesen kannst Du z. B. mutt nehmen.

[TOM]

distanzcheck
Posts: 531
Joined: 2003-01-09 08:58
Location: NRW

Re: Emails von / an Root

Post by distanzcheck » 2003-02-22 10:36

wo da genau sollte es denn stehen ???

Dirk

dodolin
RSAC
Posts: 4009
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe

Re: Emails von / an Root

Post by dodolin » 2003-02-22 12:25

Code: Select all

[dominik@sklave dominik]$ grep ^root /etc/aliases
root:		dominik+admin

[tom]
RSAC
Posts: 671
Joined: 2003-01-08 20:10
Location: Berlin

Re: Emails von / an Root

Post by [tom] » 2003-02-22 16:30

Wenn da nix steht, werden sie halt auch nicht weitergeleitet. ;-)

Also einfach als root "mutt" aufrufen. Besser ist es allerdings, die Mails an den normalen User weiterzuleiten, mit dem Du Dich normalerweise einloggst.

[TOM]

distanzcheck
Posts: 531
Joined: 2003-01-09 08:58
Location: NRW

Re: Emails von / an Root

Post by distanzcheck » 2003-02-22 17:52

das ist meine aliasses

Code: Select all

# Copyright (c) 1997-1999,2000 SuSE GmbH Nuernberg, Germany.
# Author: Florian La Roche
#         Werner Fink      <werner@suse.de>
#
# The program "newaliases" must be run after changing this file.

# It is probably best to not work as user root and redirect all
# email to "root" to another account. Then you don't have to check
# for important email too often on the root account.
# The "root" will make sure that email is also delivered to the
# root-account, but also forwared to the user "joe".
#root:		joe, root

# Basic system aliases that MUST be present.
postmaster:	root
mailer-daemon:	postmaster

# amavis
virusalert:	root

# General redirections for pseudo accounts in /etc/passwd.
administrator:	root
daemon:		root
lp:		root
news:		root
uucp:		root
games:		root
man:		root
at:		root
postgres:	root
mdom:		root
amanda:		root
ftp:		root
wwwrun:		root
squid:		root
msql:		root
gnats:		root
nobody:		root
# "bin" used to be in /etc/passwd
bin:		root

# Further well-known aliases for dns/news/ftp/mail/fax/web/gnats.
newsadm:	news
newsadmin:	news
usenet:		news
ftpadm:		ftp
ftpadmin:	ftp
ftp-adm:	ftp
ftp-admin:	ftp
hostmaster:	root
mail:		postmaster
postman:	postmaster
post_office:	postmaster
# "abuse" is often used to fight against spam email
abuse:		postmaster
spam:		postmaster
faxadm:		root
faxmaster:	root
webmaster:	root
gnats-admin:	root

# Majordomo can be used to have mailinglists on your site.
#majordomo:		"|/usr/lib/majordomo/wrapper majordomo"
#owner-majordomo:	root,
#majordomo-owner:	root,

# sample entry for a majordomo mailing-list called "test"
# read /usr/doc/packages/majordomo/README.linux for more information
# replace "test" with a new name and put the administrator into
# the "owner-test" alias instead of "root".
#
#test:			"|/usr/lib/majordomo/wrapper resend -l test test-outgoing"
#test-outgoing:		:include:/var/lib/majordomo/lists/test
#test-request:		"|/usr/lib/majordomo/wrapper majordomo -l test"
#test-approval:		owner-test,
#owner-test-outgoing:	owner-test,
#owner-test-request:	owner-test,
#owner-test:		root,
#
# if you have bulk_mailer installed, you can replace the above
# "test-outgoing" line with the following:
#test-outgoing:		"|/usr/bin/bulk_mailer owner-test@host.com /var/lib/majordomo/lists/test"
#

confixx-du-20: webmaster@distanz-chat.de
Wo gehört das dann hin das alle emails an root an meine lokale email weitergeleitet werden ?

Dirk

distanzcheck
Posts: 531
Joined: 2003-01-09 08:58
Location: NRW

Re: Emails von / an Root

Post by distanzcheck » 2003-02-22 21:04

das mit der weiterleitung klappt nun. aber wie bekomme ich es hin das der server mit root@p12345678puretec.info mails an zum traffic@distanzcheck.de sendet ???

[tom]
RSAC
Posts: 671
Joined: 2003-01-08 20:10
Location: Berlin

Re: Emails von / an Root

Post by [tom] » 2003-02-22 21:06

Einfach von root an die adresse weiterleiten, also

Code: Select all

root: traffic@distanzcheck.de
[TOM]

distanzcheck
Posts: 531
Joined: 2003-01-09 08:58
Location: NRW

Re: Emails von / an Root

Post by distanzcheck » 2003-02-22 21:11

nein ich meine ads root an andere adressen senden kann wegen dem Traffic SMS Script.

http://www.rootforum.de/forum/viewtopic ... hlight=sms

Weil an meine Lokale email adresse sendet root, aber nicht an alle, zb. dirk@uboot.com

Dirk