Чтоб я еще раз юзал эту пару!!
Весь мой моск съеден!
------------
Transcript of session follows.Out: 220 mail.bankos.ru ESMTP
In: EHLO localhost
Out: 250-mail.bankos.ru
Out: 250-PIPELINING
Out: 250-SIZE 10240000
Out: 250-ETRN
Out: 250-STARTTLS
Out: 250 8BITMIME
In: MAIL FROM:<mgw@samara.mts.ru>
Out: 250 Ok
In: RCPT TO:<mike@bankos.ru>
Out: 250 Ok
In: DATA
Out: 354 End data with <CR><LF>.<CR><LF>
Out: 451 Error: queue file write error
In: QUIT
Out: 221 Bye
----------------------------------
НУ ЧТО ТАМ ЕМУ НЕ НРАВИТСЯ????
ПОЧЕМУ WRITE ERROR ????
еще: периодически пишет:virtual_alias_maps map lookup problem for ....
но ведь не постоянно!!!!
уйду я от amavisd-new.знакомый советует мильтер (с какой-то версии постфикс умеет его)
>[оверквотинг удален]
> In: RCPT TO:<mike@bankos.ru>
> Out: 250 Ok
> In: DATA
> Out: 354 End data with <CR><LF>.<CR><LF>
> Out: 451 Error: queue file write error
> In: QUIT
> Out: 221 Bye
>----------------------------------
>НУ ЧТО ТАМ ЕМУ НЕ НРАВИТСЯ????
>ПОЧЕМУ WRITE ERROR ????ясновидящих здесь нет
postconf | grep virtual_alias_maps
а лучше конфиг постфикса в студию
ps: и амавис тут не при чем
>ясновидящих здесь нет
>
>postconf | grep virtual_alias_maps
>
>а лучше конфиг постфикса в студию
>
>ps: и амавис тут не при чемСпасибо, тебе Michael! Будь добр, помоги уж мне пожалйста!!
>ясновидящих здесь нет
>
>postconf | grep virtual_alias_maps
>
>а лучше конфиг постфикса в студию
>
>ps: и амавис тут не при чемСпасибо, тебе Michael! Будь добр, помоги уж мне пожалйста!!
Я делал по статье: http://workaround.org/articles/ispmail-etch/
-----------------------------------------------
proxy:/# postconf |grep virtual_alias_mapsvirtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf,mysql:/etc/postfix/mysql-virtual_email2email.cf
--------- /etc/postfix/mysql-virtual_email2email.cf ------------
user = mail
password = madxxxx
dbname = mail
table = users
select_field = email
where_field = email
hosts = 127.0.0.1
----------------------------
ой статья вот эта:
http://workaround.org/articles/ispmail-sarge/
>-----------------------------------------------
>proxy:/# postconf |grep virtual_alias_maps
>
>virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf,mysql:/etc/postfix/mysql-virtual_email2email.cf
>надо через запятую??? (в статье через пробел.. хотя..)
>надо через запятую??? (в статье через пробел.. хотя..)по уму надо через запятую и пробел. но вроде понимает и без запятой
>--------- /etc/postfix/mysql-virtual_email2email.cf ------------
>user = mail
>password = madxxxx
>dbname = mail
>table = users
>select_field = email
>where_field = email
>hosts = 127.0.0.1
>----------------------------Не уверен, работает ли это. man mysql_table советует
user = mail
password = xxxxxxxxxx
dbname = mail
query = SELECT email
FROM users WHERE email = '%s'
AND active = 1И все-таки нужен конфиг постфикса
proxy:/etc/postfix# less /etc/postfix/main.cf|grep -v \#
mynetworks =
127.0.0.0/8,
192.168.0.0/24myhostname = mail.bankos.ru
mydestination = localhostbiff = no
notify_classes = resource, softwarealias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
local_recipient_maps = $alias_maps, unix:passwd.bynameappend_at_myorigin = no
append_dot_mydomain = novirtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf mysql:/etc/postfix/mysql-virtua
l_email2email.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cfvirtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_banner = $myhostname ESMTP
disable_vrfy_command = yes
smtpd_helo_required = yes
smtpd_delay_reject = yes
strict_rfc821_envelopes = yes
smtpd_etrn_restriction = rejectaddress_verify_sender = <>
address_verify_poll_count = 2
address_verify_poll_delay = 5s
unverified_sender_reject_code = 450
unverified_recipient_reject_code = 554smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =smtpd_recipient_restrictions =
check_client_access hash:/etc/postfix/client_access,
check_client_access regexp:/etc/postfix/xdsl-clients,
check_sender_access hash:/etc/postfix/sender_access,
check_recipient_access hash:/etc/postfix/rcpt_access,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit_mynetworks,
check_sender_access hash:/etc/postfix/lame_senders,
check_helo_access hash:/etc/postfix/helo_access,
check_helo_access regexp:/etc/postfix/helo_regexp,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_unauth_destination,reject_unverified_recipient,
check_policy_service unix:private/spf-policy,
check_policy_service inet:127.0.0.1:60000,
reject_unverified_sender,reject_rbl_client cbl.abuseat.org,
reject_rbl_client zen.spamhaus.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client list.dsbl.org,
reject_rbl_client dnsbl.njabl.org,reject_rbl_client dul.ru
address_verify_map = btree:/etc/postfix/verify
header_checks = regexp:/etc/postfix/header_checks
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
html_directory = no
manpage_directory = /usr/local/man
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfixcontent_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
----------------------------------------------------------Что я уже исправил:
1. Запятую (осудили выше)
2. А также была пропузена запятая при перечислении RBL (но постфикс не ругался!!)
Feb 5 14:09:25 proxy amavis[11110]: (11110-06) (!) FWD via SMTP: <elena@bankos.ru> -> <aleksey@bankos.ru>, BODY=8BITMIME 451 4.6.0 Failed, id=11110-06, from MTA([127.0.0.1]:10025): 451 Error: queue file write errorFeb 5 14:09:25 proxy postfix/smtp[10674]: A3F90455D5A: to=<aleksey@bankos.ru>, relay=127.0.0.1[127.0.0.1], delay=1, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.6.0 Failed, id=11110-06, from MTA([127.0.0.1]:10025): 451 Error: queue file write error (in reply to end of DATA command))
>Feb 5 14:09:25 proxy amavis[11110]: (11110-06) (!) FWD via SMTP: <elena@bankos.ru> -> <aleksey@bankos.ru>, BODY=8BITMIME 451 4.6.0 Failed, id=11110-06, from MTA([127.0.0.1]:10025): 451 Error: queue file write error
>
>Feb 5 14:09:25 proxy postfix/smtp[10674]: A3F90455D5A: to=<aleksey@bankos.ru>, relay=127.0.0.1[127.0.0.1], delay=1, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.6.0 Failed, id=11110-06, from MTA([127.0.0.1]:10025): 451 Error: queue file write error (in reply to end of DATA command))проверьте наличие соединения постфикса с базой данных