>Раз никто отвечать не хочет, то отвечу сам :)
>
>Похоже, что в postfix'е нет механизма проверки почтовых ящиков, на которые указавают
>алиасы, ведь алиасы могут вести в том числе и на другой
>сервер. Поэтому, если алиас существует, то postfix принимает в любом случае
>письмо, а потом пытается отправить на тот адрес, на который указывает
>алиас. Да что ты говоришь
# telnet 192.168.10.2 25
Trying 192.168.10.2...
Connected to 192.168.10.2 (192.168.10.2).
Escape character is '^]'.
220 mail.vmware.local ESMTP
helo gw2.vmware.local
250 mail.vmware.local
mail from:<root@vmware.local>
250 2.1.0 Ok
rcpt to:<user1@vmware.local>
550 5.1.1 <user1@vmware.local>: Recipient address rejected: undeliverable address: host mail.domain.com[xxx.xxx.xxx.xxx] said: 511 sorry, no mailbox here by that name (#5.1.1 - chkuser) (in reply to RCPT TO command)
quit
221 2.0.0 Bye
Connection closed by foreign host.
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
local_recipient_maps = unix:passwd.byname $alias_maps $virtual_alias_maps
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = localhost.$mydomain, localhost, $mydomain
mydomain = vmware.local
myhostname = mail.vmware.local
mynetworks = 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination reject_unlisted_recipient reject_unverified_recipient
smtpd_reject_unlisted_recipient = yes
unknown_local_recipient_reject_code = 550
unverified_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
# cat /etc/postfix/virtual
user1 nonexistuser@domain.com
ЧЯДНТ?
Понятно что в случае с mail.ru например этот номер не прокатит, так как mxs.mail.ru всегда говорит, что пользователь существует. Но в общем случае такая схема работает