The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"Postfix && alias "
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"Postfix && alias "  
Сообщение от alk (??) on 14-Фев-07, 19:08 
Не приходят письма по alias

лог


Feb 14 19:04:21 mail.domen.ru postfix/qmgr[633]: [ID 197553 mail.info] 336DB115D6: from=<alkX@mail.ru>, size=582, nrcpt=1 (queue active)
Feb 14 19:04:21 mail.domen.ru postfix/smtpd[713]: [ID 197553 mail.info] disconnect from alk[10.0.1.10]
Feb 14 19:04:21 mail.domen.ru postfix/virtual[717]: [ID 197553 mail.info] 336DB115D6: to=<postmaster@domen.ru>, relay=virtual, delay=0.05, delays=0.02/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "postmaster@domen.ru")


Конфиг

[root@mail:/var/log] #postconf -n
alias_database = $virtual_alias_maps
alias_maps = mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_alias_maps.cf
command_directory = /opt/csw/postfix/sbin
config_directory = /etc/postfix
daemon_directory = /opt/csw/postfix/libexec/postfix
debug_peer_level = 3
default_privs = nobody
default_process_limit = 2000
disable_dns_lookups = no
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = no
local_recipient_maps = $alias_maps
mail_owner = postfix
mailbox_size_limit = 1073741824
mailq_path = /opt/csw/bin/mailq
manpage_directory = /opt/csw/postfix/share/man
maps_rbl_domains = list.dsbl.org, dul.ru, relays.ordb.org, blackholes.mail-abuse.org,  work.drbl.caravan.ru, reject_unknown_client
maps_rbl_reject_code = 554
message_size_limit = 10240000
mydestination = $myhostname, $transport_maps
mydomain = my.domen.ru
myhostname = my.domen.ru
mynetworks = 127.0.0.0/8, x.x.x.x
mynetworks_style = host
newaliases_path = /opt/csw/bin/newaliases
queue_directory = /opt/csw/postfix/var/spool/postfix
readme_directory = no
receive_override_options = no_address_mappings
sample_directory = /opt/csw/postfix/share/doc/postfix/samples
sendmail_path = /sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP READY
smtpd_client_connection_count_limit = 1000
smtpd_client_restrictions = permit_mynetworks
smtpd_data_restrictions = reject_unauth_pipelining,        permit
smtpd_delay_reject = no
smtpd_etrn_restrictions = permit_mynetworks,        reject
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_unknown_recipient_domain,        reject_non_fqdn_recipient,        reject_non_fqdn_sender,        reject_unknown_sender_domain,        permit_sasl_authenticated,        permit_mynetworks,        reject_unauth_destination,        reject_invalid_hostname        reject_non_fqdn_hostname,        reject_unverified_sender
strict_rfc821_envelopes = no
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_alias_maps.cf
virtual_create_maildirsize = yes
virtual_gid_maps = static:101
virtual_mailbox_base = /opt/csw/postfix/var/spool/postfix/virtual
virtual_mailbox_domains = proxy:mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 0
virtual_mailbox_limit_maps = mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_minimum_uid = 100
virtual_overquota_bounce = yes
virtual_transport = virtual
virtual_uid_maps = static:100

Запрос
[root@mail:/var/log] #postmap -q 'postmaster@domen.ru' mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_alias_maps.cf
alk@domen.ru


Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

 Оглавление

  • Postfix && alias , lapweed, 11:10 , 15-Фев-07, (1)  

Сообщения по теме [Сортировка по времени, UBB]


1. "Postfix && alias "  
Сообщение от lapweed (??) on 15-Фев-07, 11:10 
Похоже что вы забыли прописать юзера postmaster
аот сюда alias_maps = mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_alias_maps.cf
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

2. "Postfix && alias "  
Сообщение от alk (??) on 15-Фев-07, 14:21 
Да нет ....  решил уже проблему
кому интерестно

alias_database = $virtual_alias_maps
alias_maps = mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_alias_maps.cf
command_directory = /opt/csw/postfix/sbin
config_directory = /etc/postfix
daemon_directory = /opt/csw/postfix/libexec/postfix
debug_peer_level = 3
default_privs = nobody
default_process_limit = 2000
disable_dns_lookups = no
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = no
mail_owner = postfix
mailbox_size_limit = 1073741824
mailq_path = /opt/csw/bin/mailq
manpage_directory = /opt/csw/postfix/share/man
maps_rbl_domains = list.dsbl.org, dul.ru, relays.ordb.org, blackholes.mail-abuse.org,  work.drbl.caravan.ru, reject_unknown_client
maps_rbl_reject_code = 554
message_size_limit = 10240000
mydestination = $myhostname, $transport_maps
mydomain = domen.ru
myhostname = mail.domen.ru
mynetworks = 127.0.0.0/8, x.x.x.x
mynetworks_style = host
newaliases_path = /opt/csw/bin/newaliases
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps                  $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains                  $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps                  $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks                  $virtual_mailbox_limit_maps
queue_directory = /opt/csw/postfix/var/spool/postfix
readme_directory = no
sample_directory = /opt/csw/postfix/share/doc/postfix/samples
sendmail_path = /sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP READY
smtpd_client_connection_count_limit = 1000
smtpd_client_restrictions = permit_mynetworks
smtpd_data_restrictions = reject_unauth_pipelining,        permit
smtpd_delay_reject = no
smtpd_etrn_restrictions = permit_mynetworks,        reject
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_unknown_recipient_domain,        reject_non_fqdn_recipient,        reject_non_fqdn_sender,        reject_unknown_sender_domain,        permit_sasl_authenticated,        permit_mynetworks,        reject_unauth_destination,        reject_invalid_hostname        reject_non_fqdn_hostname,        reject_unverified_sender
strict_rfc821_envelopes = no
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_alias_maps.cf
virtual_create_maildirsize = yes
virtual_gid_maps = static:101
virtual_mailbox_base = /opt/csw/postfix/var/spool/postfix/virtual
virtual_mailbox_domains = proxy:mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 0
virtual_mailbox_limit_maps = proxy:mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = proxy:mysql:/opt/csw/postfix/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_minimum_uid = 100
virtual_overquota_bounce = yes
virtual_transport = virtual
virtual_uid_maps = static:100


Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Спонсоры:
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2022 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру