Кто нить сталкивался с таким что делать переустановить или как ?
POstfix+AmavisD+ClamAv
перестала работать почта при запуске tail все быстро бежит не успеваю просмотреть лог
часть лога в чем затык подскажите пож
Feb 28 19:48:32 mail postfix/qmgr[15124]: 7E7772877C: from=<O0A_kozlov@accesscomm.com>, size=2149, nrcpt=1 (queue active)
Feb 28 19:48:32 mail postfix/qmgr[15124]: 7E7772877C: to=<jennifer_1209@mail2freedom.com>, relay=none, delay=114680, delays=114680/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
Feb 28 19:48:32 mail postfix/qmgr[15124]: 788D17BD5E: from=<egv_niou@aei-online.com>, size=2139, nrcpt=1 (queue active)
Feb 28 19:48:32 mail postfix/qmgr[15124]: 788D17BD5E: to=<malevocalist@popmail.com>, relay=none, delay=112778, delays=112778/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
Feb 28 19:48:32 mail postfix/qmgr[15124]: E6293532FD: from=<W1T-r-santos@adopt-now.com>, size=2149, nrcpt=1 (queue active)
Feb 28 19:48:32 mail postfix/qmgr[15124]: E6293532FD: to=<landondianna@mail2aether.com>, relay=none, delay=10540, delays=10540/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
Feb 28 19:48:32 mail postfix/qmgr[15124]: 797C87BD5F: from=<NG_chip00@actsw.amat.com>, size=2136, nrcpt=1 (queue active)
Feb 28 19:48:32 mail postfix/qmgr[15124]: 797C87BD5F: to=<maminder@popmail.com>, relay=none, delay=112778, delays=112778/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
Feb 28 19:48:32 mail postfix/qmgr[15124]: 7EF812877D: from=<pQp_hummel@activeware.com>, size=2133, nrcpt=1 (queue active)
>Кто нить сталкивался с таким что делать переустановить или как ?
>POstfix+AmavisD+ClamAv
>перестала работать почта при запуске tail все быстро бежит не успеваю просмотреть
>лог
>часть лога в чем затык подскажите пожДавай сюда конфиг, master && main. Будем править.
>>Кто нить сталкивался с таким что делать переустановить или как ?
>>POstfix+AmavisD+ClamAv
>>перестала работать почта при запуске tail все быстро бежит не успеваю просмотреть
>>лог
>>часть лога в чем затык подскажите пож
>
>Давай сюда конфиг, master && main. Будем править.#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus unix - n n - - pipe
user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipientsmtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks_style=host
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
>>>Кто нить сталкивался с таким что делать переустановить или как ?
>>>POstfix+AmavisD+ClamAv
>>>перестала работать почта при запуске tail все быстро бежит не успеваю просмотреть
>>>логА main.cf ?
content_filter = smtp-amavis:[127.0.0.1]:10024 - такой ?
>[оверквотинг удален]
> -o smtpd_recipient_restrictions=permit_mynetworks,reject
> -o mynetworks_style=host
> -o mynetworks=127.0.0.0/8
> -o strict_rfc821_envelopes=yes
> -o smtpd_error_sleep_time=0
> -o smtpd_soft_error_limit=1001
> -o smtpd_hard_error_limit=1000
> -o smtpd_client_connection_count_limit=0
> -o smtpd_client_connection_rate_limit=0
> -o receive_override_options=no_header_body_checks,no_unknown_recipient_checksqueue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = postfix
myhostname = mail.medbiopack.ru
mydomain = medbiopack.ru
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
local_recipient_maps =
unknown_local_recipient_reject_code = 550
mynetworks_style = host
mynetworks = 172.20.10.0/24, 127.0.0.0/8, 10.0.5.0/24
alias_maps = hash:/etc/mail/aliases
alias_database = dbm:/etc/mail/aliases
home_mailbox = Maildir/
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
setgid_group = maildrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /usr/local/etc/postfix
readme_directory = no
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_etrn_restrictions = permit_mynetworks, reject
smtpd_reject_unlisted_sender = yes
disable_vrfy_command = yes
smtpd_helo_required = yes
smtp_always_send_ehlo = yes
smtpd_hard_error_limit = 8
smtpd_sender_restrictions =
permit_mynetworks
check_sender_access hash:/usr/local/etc/postfix/sender_access
reject_unknown_sender_domain
reject_unverified_sender
smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
reject_unknown_recipient_domain
reject_unverified_recipient
unverified_recipient_reject_code = 550
notify_classes = resourcecontent_filter=smtp-amavis:[127.0.0.1]:10024
>[оверквотинг удален]
> reject_unverified_sender
>smtpd_recipient_restrictions =
> permit_mynetworks
> reject_unauth_destination
> reject_unknown_recipient_domain
> reject_unverified_recipient
>unverified_recipient_reject_code = 550
>notify_classes = resource
>
>content_filter=smtp-amavis:[127.0.0.1]:10024queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = postfix
myhostname = mail.medbiopack.ru
mydomain = medbiopack.ru
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
local_recipient_maps =
unknown_local_recipient_reject_code = 550
mynetworks_style = host
mynetworks = 172.20.10.0/24, 127.0.0.0/8, 10.0.5.0/24
alias_maps = hash:/etc/mail/aliases
alias_database = dbm:/etc/mail/aliases
home_mailbox = Maildir/
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
setgid_group = maildrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /usr/local/etc/postfix
readme_directory = no
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_etrn_restrictions = permit_mynetworks, reject
smtpd_reject_unlisted_sender = yes
disable_vrfy_command = yes
smtpd_helo_required = yes
smtp_always_send_ehlo = yes
smtpd_hard_error_limit = 8
smtpd_sender_restrictions =
permit_mynetworks
check_sender_access hash:/usr/local/etc/postfix/sender_access
reject_unknown_sender_domain
reject_unverified_sender
smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
reject_unknown_recipient_domain
reject_unverified_recipient
unverified_recipient_reject_code = 550
>[оверквотинг удален]
> permit_mynetworks
> check_sender_access hash:/usr/local/etc/postfix/sender_access
> reject_unknown_sender_domain
> reject_unverified_sender
>smtpd_recipient_restrictions =
> permit_mynetworks
> reject_unauth_destination
> reject_unknown_recipient_domain
> reject_unverified_recipient
>unverified_recipient_reject_code = 550ну так что???
# netstat -an | grep :10025
# netstat -an | grep :10024что говорят?
>>Кто нить сталкивался с таким что делать переустановить или как ?
>>POstfix+AmavisD+ClamAv
>>перестала работать почта при запуске tail все быстро бежит не успеваю просмотреть
>>лог
>>часть лога в чем затык подскажите пож
>
>Давай сюда конфиг, master && main. Будем править.Проверь, не поломали ли тебя. Посмотри списки процессов на предмет подозрительных.
Запусти машину в однопользовательском режиме, проверь папки пользователей на наличие спамботов.
Может быть имеет смысл почистить очередь "в ноль". (спулы на диске, при остановленном постфиксе)
Хинт: лог пишется в файл на диске, там должны быть сообщения об ошибках на этапе старта почтовых сервисов. Тайл -ф - это не все, что умеет система. Она умеет много больше.
>[оверквотинг удален]
>часть лога в чем затык подскажите пож
>Feb 28 19:48:32 mail postfix/qmgr[15124]: 7E7772877C: from=<O0A_kozlov@accesscomm.com>, size=2149, nrcpt=1 (queue active)
>Feb 28 19:48:32 mail postfix/qmgr[15124]: 7E7772877C: to=<jennifer_1209@mail2freedom.com>, relay=none, delay=114680, delays=114680/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
>Feb 28 19:48:32 mail postfix/qmgr[15124]: 788D17BD5E: from=<egv_niou@aei-online.com>, size=2139, nrcpt=1 (queue active)
>Feb 28 19:48:32 mail postfix/qmgr[15124]: 788D17BD5E: to=<malevocalist@popmail.com>, relay=none, delay=112778, delays=112778/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
>Feb 28 19:48:32 mail postfix/qmgr[15124]: E6293532FD: from=<W1T-r-santos@adopt-now.com>, size=2149, nrcpt=1 (queue active)
>Feb 28 19:48:32 mail postfix/qmgr[15124]: E6293532FD: to=<landondianna@mail2aether.com>, relay=none, delay=10540, delays=10540/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
>Feb 28 19:48:32 mail postfix/qmgr[15124]: 797C87BD5F: from=<NG_chip00@actsw.amat.com>, size=2136, nrcpt=1 (queue active)
>Feb 28 19:48:32 mail postfix/qmgr[15124]: 797C87BD5F: to=<maminder@popmail.com>, relay=none, delay=112778, delays=112778/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
>Feb 28 19:48:32 mail postfix/qmgr[15124]: 7EF812877D: from=<pQp_hummel@activeware.com>, size=2133, nrcpt=1 (queue active)В логе отчетливо написано "connect to 127.0.0.1[127.0.0.1]: Connection refused" Это значит что амавис грохнулся или не запускался вообще, надо проверить его работоспособность. Телнетом или netstat-ом как говорили выше. Потом курить его (амависа) логи. Если не понятно - в студию.