10
8

More than 5 years have passed since last update.

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

Posted at

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
10
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
8