URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 59773
[ Назад ]

Исходное сообщение
"Postfix"

Отправлено Rustya , 05-Сен-05 13:03 
Помогите с одной задачкой в Postfix
Есть почтовые ящики:
test@virtual.ru
test1@virtual.ru
test2@virtual.ru
test3@virtual.ru

как настроить чтоб письма приходяшие в test@virtual.ru автоматически приходили и к test1@virtual.ru, test2@virtual.ru, test3@virtual.ru

Заранее блогадарю.


Содержание

Сообщения в этом обсуждении
"Postfix"
Отправлено jonatan , 05-Сен-05 13:38 
Покажите, как у Вас настроен домен virtual.ru.
postconf -n

"Postfix"
Отправлено Rustya , 05-Сен-05 13:49 
>Покажите, как у Вас настроен домен virtual.ru.
>postconf -n

alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
body_checks = regexp:/etc/postfix/body_checks
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_process_limit = 25
defer_transports =
disable_dns_lookups = no
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
mail_name = Postfix on Linux (i386)
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_domains =
masquerade_exceptions = root
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = $myhostname, localhost.$mydomain $mydomain
mydomain = sugdinter.com
myhostname = mail.virtual.com
mynetworks = 192.168.60.0/24, 192.168.75.0/24, 127.0.0.0/8, 192.168.1.0/24
myorigin = $mydomain
newaliases_path = /usr/sbin/sendmail
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_domains = $mydestination
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /etc/postfix
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_non_fqdn_recipient
smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain
unknown_local_recipient_reject_code = 450
virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = hash:/etc/postfix/virtual


"Postfix"
Отправлено jonatan , 05-Сен-05 13:53 
man 5 virtual
...
TABLE FORMAT
...
       user@domain address, address, ...
              Mail for user@domain is redirected to address.   This  form  has
              the highest precedence.

       user address, address, ...
              Mail  for  user@site is redirected to address when site is equal
              to $myorigin, when site is listed in $mydestination, or when  it
              is listed in $inet_interfaces or $proxy_interfaces.

              This  functionality  overlaps  with  functionality  of the local
              aliases(5) database. The difference is that virtual mapping  can
              be applied to non-local addresses.

       @domain address, address, ...
              Mail for any user in domain is redirected to address.  This form
              has the lowest precedence.

       In all the above forms, when address has  the  form  @otherdomain,  the
       result  is  the  same  user  in  otherdomain.  This works for the first
       address in the expansion only.
...


"Postfix"
Отправлено Rustya , 05-Сен-05 14:41 
>man 5 virtual
>...
>TABLE FORMAT
>...
>       user@domain address, address, ...
>            
>  Mail for user@domain is redirected to address.  
>This  form  has
>            
>  the highest precedence.
>
>       user address, address, ...
>            
>  Mail  for  user@site is redirected to address
>when site is equal
>            
>  to $myorigin, when site is listed in $mydestination, or
>when  it
>            
>  is listed in $inet_interfaces or $proxy_interfaces.
>
>            
>  This  functionality  overlaps  with  functionality
> of the local
>            
>  aliases(5) database. The difference is that virtual mapping  
>can
>            
>  be applied to non-local addresses.
>
>       @domain address, address, ...
>            
>  Mail for any user in domain is redirected to
>address.  This form
>            
>  has the lowest precedence.
>
>       In all the above forms,
>when address has  the  form  @otherdomain,  the
>
>       result  is  the
> same  user  in  otherdomain.  This works
>for the first
>       address in the expansion only.
>
>...


Спасибо, получилось.