при создании списка рассылки приветственные письма рассылаются нормально, но при попытке отправить письмо на этот адрес в /var/log/maillog вижу
Код: Выделить всё
unknown user: "niki3@mydomain.ru"
есть идеи почему может возникать такая ошибка?
Модератор: weec
Код: Выделить всё
unknown user: "niki3@mydomain.ru"
Код: Выделить всё
soft_bounce = no
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
default_privs = nobody
myhostname = mail.mydomain.ru
mydomain = mydomain.ru
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
relay_domains = $mydestination
unknown_local_recipient_reject_code = 550
mynetworks_style = host
mynetworks = 127.0.0.0/8
alias_maps = hash:/etc/aliases,hash:/etc/mailman/aliases
alias_database = hash:/etc/aliases
recipient_delimiter = +
home_mailbox = Maildir/
mail_spool_directory = /var/mail
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_recipient_restrictions = check_sender_access hash:$base/maps/senders,
check_recipient_access hash:$base/maps/recipients,
reject_non_fqdn_sender,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_multi_recipient_bounce,
permit_mynetworks,
permit_sasl_authenticated,
reject_authenticated_sender_login_mismatch,
reject_unauth_destination,
check_helo_access pcre:$base/maps/helo_checks
reject_unverified_sender,
permit
address_verify_sender = <>
smtpd_helo_required = yes
address_verify_sender = sender-test@mydomain.ru
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_application_name = smtpd
virtual_mailbox_base = /var/mail/virtual_mailboxes
base = /etc/postfix
virtual_mailbox_domains = mysql:$base/maps/vmd.conf
virtual_mailbox_maps = mysql:$base/maps/vmb.conf
virtual_alias_maps = mysql:$base/maps/vam.conf, hash:/etc/mailman/virtual-mailman
smtp_sender_login_maps = mysql:$base/maps/vmm.conf
virtual_gid_maps = static:1981
virtual_uid_maps = static:1981
virtual_minimum_uid = 1000
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
Код: Выделить всё
from Defaults import *
import pwd, grp
MAILMAN_UID = pwd.getpwnam('mailman')[2]
MAILMAN_GID = grp.getgrnam('mailman')[2]
from socket import *
try:
fqdn = getfqdn()
except:
fqdn = 'mm_cfg_has_unknown_host_domains'
DEFAULT_URL_HOST = 'mydomain.ru'
DEFAULT_EMAIL_HOST = 'mydomain.ru'
MTA = "Postfix"
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.ru']
add_virtualhost('mydomain.ru', 'mydomain.ru')
Код: Выделить всё
DEFAULT_SERVER_LANGUAGE = 'ru'
DEFAULT_EMAIL_HOST = 'mail.mydomain.ru'
DEFAULT_URL_HOST = 'mail.mydomain.ru'
DEFAULT_HOST_NAME = 'mydomain.ru'
DEFAULT_URL = 'mydomain.ru'
Код: Выделить всё
connect from ppp.pppoe.avangarddsl.ru[111.111.111.192]
Jun 15 07:05:06 c363 postfix/smtpd[30741]: 257831C8072: client=ppp.pppoe.avangarddsl.ru[111.111.111.192], sasl_method=LOGIN, sasl_username=nikolay@
mydomain.ru
Jun 15 07:05:06 c363 postfix/cleanup[30752]: 257831C8072: message-id=<000801c9ed87$ed5c3220$1f01a8c0@sindbad.local>
Jun 15 07:05:06 c363 postfix/qmgr[23354]: 257831C8072: from=<nikolay@mydomain.ru>, size=1403, nrcpt=1 (queue active)
Jun 15 07:05:06 c363 postfix/virtual[30754]: 257831C8072: to=<niki1@mydomain.ru>, relay=virtual, delay=0.3, delays=0.26/0/0/0.03, dsn=5.1.1, status=bounce
d (unknown user: "niki1@mydomain.ru")
Jun 15 07:05:06 c363 postfix/cleanup[30752]: 6384C1C8084: message-id=<20090615110506.6384C1C8084@mail.mydomain.ru>
Jun 15 07:05:06 c363 postfix/smtpd[30741]: disconnect from ppp.pppoe.avangarddsl.ru[111.111.111.192]