Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
8
Help us understand the problem. What is going on with this article?
@is0me

infoユーザー宛のメールが受信できない

More than 5 years have passed since last update.

postfixなどで、infoユーザーを作成すると、infoユーザーのメールボックスでメールが受信できない。
aliasesファイルを確認すると、infoはpostmasterへ転送され、postmasterはrootに転送しているのがわかる。

$ vim /etc/aliases
#
#  Aliases in this file will NOT be expanded in the header from
#  Mail, but WILL be visible over networks or from /bin/mail.
#
#       >>>>>>>>>>      The program "newaliases" must be run after
#       >> NOTE >>      this file is updated for any changes to
#       >>>>>>>>>>      show through to sendmail.
#

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

# General redirections for pseudo accounts.
bin:            root
daemon:        root
adm:            root
lp:            root
sync:          root
shutdown:      root
halt:          root
mail:          root
news:          root
uucp:          root
operator:      root
games:          root
gopher:        root
ftp:            root
nobody:        root
radiusd:        root
nut:            root
dbus:          root
vcsa:          root
canna:          root
wnn:            root
rpm:            root
nscd:          root
pcap:          root
apache:        root
webalizer:      root
dovecot:        root
fax:            root
quagga:        root
radvd:          root
pvm:            root
amanda:        root
privoxy:        root
ident:          root
named:          root
xfs:            root
gdm:            root
mailnull:      root
postgres:      root
sshd:          root
smmsp:          root
postfix:        root
netdump:        root
ldap:          root
squid:          root
ntp:            root
mysql:          root
desktop:        root
rpcuser:        root
rpc:            root
nfsnobody:      root

ingres:        root
system:        root
toor:          root
manager:        root
dumper:        root
abuse:          root

newsadm:        news
newsadmin:      news
usenet:        news
ftpadm:        ftp
ftpadmin:      ftp
ftp-adm:        ftp
ftp-admin:      ftp
www:            webmaster
webmaster:      root
noc:            root
security:      root
hostmaster:    root
info:          postmaster
marketing:      postmaster
sales:          postmaster
support:        postmaster

# trap decode to catch security attacks
decode:        root

# Person who should get root's mail
#root:          marc

これは、infoからの転送をコメントアウトすれば解決する。

# info:          postmaster
8
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
is0me
ベトナムで働くエンジニア

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
8
Help us understand the problem. What is going on with this article?