[Comm] Аномалия с алиасами Postfix

Прокопьев Евгений =?iso-8859-1?q?john_=CE=C1_rmts=2Edonpac=2Eru?=
Вт Июл 1 16:57:23 MSD 2003


Здравствуйте!

Почему после двух ничем в принципе не отличающихся команд:

echo hello | mail postmaster alex
echo hello | mail info alex

я получаю в логах следующее:

Jul  1 16:52:37 myserver postfix/pickup[19373]: 9B36A2C91: uid=0 from=<root>
Jul  1 16:52:37 myserver postfix/cleanup[19598]: 9B36A2C91: 
message-id=<20030701125237.9B36A2C91 на myserver.ru>
Jul  1 16:52:37 myserver postfix/qmgr[19374]: 9B36A2C91: 
from=<root на myserver.ru>, size=299, nrcpt=2 (queue active)
Jul  1 16:52:37 myserver postfix/local[19686]: 9B36A2C91: 
to=<alex на myserver.ru>, relay=local, delay=0, status=sent 
("|/usr/bin/maildrop-userdb -d $LOGNAME")
Jul  1 16:52:37 myserver postfix/local[19685]: 9B36A2C91: 
to=<john на myserver.ru>, relay=local, delay=0, status=sent 
("|/usr/bin/maildrop-userdb -d $LOGNAME")
Jul  1 16:52:45 myserver postfix/pickup[19373]: A871B2C96: uid=0 from=<root>
Jul  1 16:52:45 myserver postfix/cleanup[19598]: A871B2C96: 
message-id=<20030701125245.A871B2C96 на myserver.ru>
Jul  1 16:52:45 myserver postfix/qmgr[19374]: A871B2C96: 
from=<root на myserver.ru>, size=293, nrcpt=2 (queue active)
Jul  1 16:52:45 myserver maildrop[19709]: Unable to open mailbox.
Jul  1 16:52:45 myserver postfix/local[19686]: A871B2C96: 
to=<alex на myserver.ru>, relay=local, delay=0, status=deferred (temporary 
failure. Command output: /usr/bin/maildrop-userdb: Unable to open mailbox. )
Jul  1 16:52:45 myserver postfix/local[19685]: A871B2C96: 
to=<john на myserver.ru>, relay=local, delay=0, status=sent 
("|/usr/bin/maildrop-userdb -d $LOGNAME")


Вот полное содержимое /etc/postfix/aliases:

# cat /etc/postfix/aliases
#
#       >>>>>>>>>>      The program "newaliases" must be run after
#       >> NOTE >>      this file is updated for any changes to
#       >>>>>>>>>>      show through to MTA.
#

# Basic system aliases -- these MUST be present.
MAILER-DAEMON:  postmaster
postmaster:     root

### BEGIN aliases required by RFC 2142 ###

## Business-related mailbox names.
# Packaged information about the organization, products, and/or 
services, as appropriate
info:           root
# Product marketing and marketing communications
marketing:      postmaster
# Product purchase information
sales:          postmaster
# Problems with product or service
support:        postmaster

development:    postmaster
notes:          postmaster
web-activity:   postmaster
demo:           | /home/arbuz/scripts/autoreply/autoreply
catalog:        | /home/arbuz/scripts/catalog/get_letter
#marconi:       postmaster

## Network operations mailbox names.
# Inappropriate public behaviour
abuse:          postmaster
# Network infrastructure
noc:            postmaster
# Security bulletins or queries
security:       postmaster

### END aliases required by RFC 2142 ###

# Trap decode to catch security attacks.
decode:         postmaster

# Other well-known aliases.
hostmaster:     postmaster
webmaster:      postmaster
ftpmaster:      postmaster
newsmaster:     postmaster
proxymaster:    postmaster
faxmaster:      postmaster
manager:        postmaster
admin:          postmaster
dumper:         postmaster
www:            webmaster
usenet:         newsmaster

# General redirections for pseudo accounts.
bin:    unknown-mail-user
daemon: unknown-mail-user
adm:    unknown-mail-user
lp:     unknown-mail-user
sync:   unknown-mail-user
shutdown:       unknown-mail-user
halt:   unknown-mail-user
mail:   unknown-mail-user
news:   unknown-mail-user
uucp:   unknown-mail-user
operator:       unknown-mail-user
games:  unknown-mail-user
gopher: unknown-mail-user
ftp:    unknown-mail-user
squid:  unknown-mail-user
named:  unknown-mail-user
nscd:   unknown-mail-user
rpcuser:        unknown-mail-user
rpc:    unknown-mail-user
mailman:        unknown-mail-user
postfix:        unknown-mail-user
popa3d: unknown-mail-user
xfs:    unknown-mail-user
mysql:  unknown-mail-user
postgres:       unknown-mail-user
gdm:    unknown-mail-user
ldap:   unknown-mail-user
sympa:  unknown-mail-user
apache: unknown-mail-user
nobody: unknown-mail-user
syslogd:        unknown-mail-user
jabber: unknown-mail-user
cacheman:       unknown-mail-user
klogd:  unknown-mail-user
postman:        unknown-mail-user
iputils:        unknown-mail-user
ntpd:   unknown-mail-user
atdaemon:       unknown-mail-user
nmapuser:       unknown-mail-user
sshd:   unknown-mail-user
osec:   unknown-mail-user
scanlogd:       unknown-mail-user
vsftpd: unknown-mail-user
novsftpd:       unknown-mail-user
firebird:       unknown-mail-user
fetchmail:      unknown-mail-user
upsmon: unknown-mail-user

unknown-mail-user: root

# Person who should get root's mail.
root:   john

-- 
С уважением, Прокопьев Евгений



Подробная информация о списке рассылки community