Вот такая ситуация, постфикс принимает почту а отправлять не хочет!
Вот конфиг:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
default_privs = nobody
myhostname = xxxxxxxxxxxxxxxxx
mydomain = xxxxxxxxxxxx
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks = 192.168.0.0/24, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table
relay_domains = $mydestination
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/mail/aliases
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
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no
smtpd_restriction_classes = pass_rbl
pass_rbl = check_sender_access hash:/etc/postfix/acesslist
smtpd_recipient_restrictions = reject_invalid_hostname,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unknown_sender_domain,
reject_unauth_pipelining,
permit_mynetworks,
reject_unauth_destination,
check_client_access hash:/etc/postfix/pass_rbl,
reject_rbl_client relays.visi.com,
reject_rbl_client list.dsbl.org,
reject_rbl_client relays.ordb.org,
reject_rbl_client dnsbl.sorbs.net,
reject_rbl_client dnsbl.void.ru,
reject_rbl_client blackholes.mail-abuse.org,
reject_rbl_client relays.mail-abuse.org,
reject_rbl_client dul.mail-abuse.org,
reject_rbl_client relays.ordb.org,
reject_rbl_client blackholes.wirehub.net,
reject_rbl_client dynablock.wirehub.net,
reject_rbl_client dnsbl.njabl.org,
reject_rbl_client opm.blitzed.org,
reject_rbl_client http.dnsbl.sorbs.net,
reject_rbl_client list.dnsbl.org,
reject_rbl_client socks.dnsbl.net,
reject_rbl_client misc.dnsbl.sorbs.net,
reject_rbl_client smtp.dnsbl.sorbs.net,
reject_rbl_client web.dnsbl.sorbs.net,
reject_rbl_client bl.spamcop.net,
reject_rbl_client dev.null.dk,
reject_rbl_client blackholes.mail.abus.com,
reject_rbl_client relays.mail-abuse.com,
reject_rbl_client dialups.mail-abuse.com,
reject_rbl_client relays.ordb.org,
reject_rbl_client multihop.dsbl.org,
reject_rbl_client argentina.blackholes.us,
reject_rbl_client brazil.blackholes.us,
reject_rbl_client china.backholes.us,
reject_rbl_client cn-kr.blackholes.us,
reject_rbl_client hongkong.blackholes.us,
reject_rbl_client japan.blackholes.us,
reject_rbl_client korea.blackholes.us,
reject_rbl_client malaysia.blackholes.us,
reject_rbl_client mexico.blackholes.us,
reject_rbl_client nigeria.blackholes.us,
reject_rbl_client singapore.blackholes.us,
reject_rbl_client taiwan.blackholes.us,
reject_rbl_client thailand.blackholes.us,
reject_rbl_client turkey.blakholes.usвот файлы acesslist:
support@infobox.ru ok
pass_rbl:
relay02.infobox.ru pass_rblвот лог почтовый:
Jun 22 14:10:57 mail postfix/qmgr[5871]: 5B26B65: removed
Jun 22 14:10:57 mail postfix/smtpd[5900]: disconnect from relay3.datafort.ru[217.74.32.163]
Jun 22 14:12:14 mail postfix/smtpd[5909]: connect from unknown[192.168.0.55]
Jun 22 14:12:16 mail postfix/smtpd[5909]: lost connection after CONNECT from unknown[192.168.0.55]
Jun 22 14:12:16 mail postfix/smtpd[5909]: disconnect from unknown[192.168.0.55]
Jun 22 14:14:17 mail postfix/anvil[5902]: statistics: max connection rate 1/60s for (smtp:194.190.207.19) at Jun 22 14:09:43
Jun 22 14:14:17 mail postfix/anvil[5902]: statistics: max connection count 1 for (smtp:194.190.207.19) at Jun 22 14:09:43
Jun 22 14:14:17 mail postfix/anvil[5902]: statistics: max cache size 2 at Jun 22 14:10:37
Jun 22 14:14:44 mail postfix/smtpd[5909]: connect from unknown[192.168.0.101]
Jun 22 14:14:57 mail postfix/smtpd[5909]: lost connection after CONNECT from unknown[192.168.0.101]
Jun 22 14:14:57 mail postfix/smtpd[5909]: disconnect from unknown[192.168.0.101]
Jun 22 14:15:22 mail postfix/smtpd[5918]: connect from unknown[192.168.0.55]
Jun 22 14:15:26 mail postfix/smtpd[5918]: lost connection after CONNECT from unknown[192.168.0.55]
Jun 22 14:15:26 mail postfix/smtpd[5918]: disconnect from unknown[192.168.0.55]
Jun 22 14:15:50 mail postfix/smtpd[5919]: connect from unknown[192.168.0.222]
Jun 22 14:15:50 mail postfix/smtpd[5919]: lost connection after CONNECT from unknown[192.168.0.222]
Jun 22 14:15:50 mail postfix/smtpd[5919]: disconnect from unknown[192.168.0.222]
Jun 22 14:16:19 mail postfix/smtpd[5909]: connect from unknown[192.168.0.77]
Jun 22 14:16:27 mail postfix/smtpd[5909]: lost connection after CONNECT from unknown[192.168.0.77]
Jun 22 14:16:27 mail postfix/smtpd[5909]: disconnect from unknown[192.168.0.77]
Jun 22 14:16:44 mail postfix/smtpd[5931]: connect from unknown[192.168.0.77]
Jun 22 14:16:47 mail postfix/smtpd[5931]: lost connection after CONNECT from unknown[192.168.0.77]
Jun 22 14:16:47 mail postfix/smtpd[5931]: disconnect from unknown[192.168.0.77]
Jun 22 14:19:38 mail postfix/smtpd[5931]: connect from unknown[192.168.0.101]
Jun 22 14:19:46 mail postfix/smtpd[5931]: lost connection after CONNECT from unknown[192.168.0.101]
Jun 22 14:19:46 mail postfix/smtpd[5931]: disconnect from unknown[192.168.0.101]
Jun 22 14:20:25 mail postfix/smtpd[5931]: connect from 84.94.113.131.cable.012.net.il[84.94.113.131]
Jun 22 14:20:31 mail postfix/smtpd[5931]: NOQUEUE: reject: RCPT from 84.94.113.131.cable.012.net.il[84.94.113.131]: 554 Service unavailable; Client host [84.94.113.131] blocked using dnsbl.sorbs.net; Dynamic IP Addresses See: http://www.dnsbl.sorbs.net/lookup.shtml?84.94.113.131; from=<rsmvdsbujxuec@garantpost.ru> to=<хххххххххх> proto=SMTP helo=<84.94.113.131.cable.012.net.il>
Jun 22 14:20:32 mail postfix/smtpd[5931]: disconnect from 84.94.113.131.cable.012.net.il[84.94.113.131]
Jun 22 14:23:30 mail postfix/smtpd[5941]: warning: 85.137.66.110: hostname 110-66-137-85.user.auna.net verification failed: No address associated with hostname
Jun 22 14:23:30 mail postfix/smtpd[5941]: connect from unknown[85.137.66.110]
Jun 22 14:24:03 mail postfix/smtpd[5941]: 3858165: client=unknown[85.137.66.110]
Jun 22 14:24:03 mail postfix/smtpd[5941]: lost connection after RCPT from unknown[85.137.66.110]
Jun 22 14:24:03 mail postfix/smtpd[5941]: disconnect from unknown[85.137.66.110]
Jun 22 14:27:23 mail postfix/anvil[5937]: statistics: max connection rate 1/60s for (smtp:84.94.113.131) at Jun 22 14:20:25
Jun 22 14:27:23 mail postfix/anvil[5937]: statistics: max connection count 1 for (smtp:84.94.113.131) at Jun 22 14:20:25
Jun 22 14:27:23 mail postfix/anvil[5937]: statistics: max cache size 1 at Jun 22 14:20:25
Jun 22 14:29:38 mail postfix/smtpd[5948]: connect from unknown[192.168.0.101]
Jun 22 14:29:48 mail postfix/smtpd[5948]: lost connection after CONNECT from unknown[192.168.0.101]
Jun 22 14:29:48 mail postfix/smtpd[5948]: disconnect from unknown[192.168.0.101]
Jun 22 14:31:12 mail postfix/smtpd[5948]: connect from unknown[192.168.0.101]
Jun 22 14:31:17 mail postfix/smtpd[5948]: lost connection after CONNECT from unknown[192.168.0.101]
Jun 22 14:31:17 mail postfix/smtpd[5948]: disconnect from unknown[192.168.0.101]
Jun 22 14:34:18 mail postfix/smtpd[5960]: connect from unknown[192.168.0.55]
Jun 22 14:34:28 mail postfix/smtpd[5960]: lost connection after CONNECT from unknown[192.168.0.55]
Jun 22 14:34:28 mail postfix/smtpd[5960]: disconnect from unknown[192.168.0.55]
Jun 22 14:43:43 mail postfix/smtpd[5984]: connect from unknown[192.168.0.101]
Jun 22 14:43:50 mail postfix/smtpd[5984]: lost connection after CONNECT from unknown[192.168.0.101]
Jun 22 14:43:50 mail postfix/smtpd[5984]: disconnect from unknown[192.168.0.101]
Jun 22 14:44:51 mail postfix/smtpd[6009]: connect from unknown[192.168.0.222]
Jun 22 14:44:51 mail postfix/smtpd[6009]: lost connection after CONNECT from unknown[192.168.0.222]
Jun 22 14:44:51 mail postfix/smtpd[6009]: disconnect from unknown[192.168.0.222]Помогите сделать.....
Включите подробный лог/etc/postfix/master.cf:
smtp inet n - n - - smtpd -vили конкретного клиента
/etc/postfix/main.cf:
debug_peer_list = 192.168.0.101
нет строки smtpd_client_restrictions = permit_mynetworks
имхо тебе просто нужно сменить опцию smtpd_recipient_restrictions на
smtpd_client_restrictions
smtpd_recipient_restrictions это несколько другое! -
# Whitelisting: local clients may specify any destination. Others may not.
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
Вы что-то путаете.
# The smtpd_recipient_restrictions parameter specifies restrictions on
# recipient addresses that SMTP clients can send in RCPT TO commands.
># The smtpd_recipient_restrictions parameter specifies restrictions on
># recipient addresses that SMTP clients can send in RCPT TO commands.
>
ТАК СКАЖИТЕ ЧТО СДЕЛАТЬ!!! ПОЧТА ПРИХОДИТЬ ПРИХОДИТ А УХОДИТЬ НЕ ХОЧЕТ!
И вот что ещё, прикол в том ещё что я немогу даже телнетом на 25 порт внутреннего интрефейса! фаер открыт! а вот телнетом на внешний интерфейс или 12.0.0.1 25 могу! соотвтетвенно почта не уходит а приходить приходит!
Покажите master.cf
>Покажите master.cf
# ==========================================================================
# 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_etrn_restrictions=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
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
relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
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}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
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 $recipient
scache unix - - n - 1 scache
discard unix - - n - - discard
tlsmgr unix - - n 1000? 1 tlsmgr
Сделайте
http://www.opennet.me/openforum/vsluhforumID1/57595.html#1
перезапустите postfix и покажите логи после этого.
Сделал по первому случаю:
Jun 22 17:33:59 mail postfix/master[5807]: reload configuration /etc/postfix
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const mail
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const ipv4
Jun 22 17:35:48 mail postfix/smtpd[6397]: name_mask: ipv4
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const inet.ххххх.ru
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const хххххххх.ru
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const Postfix
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const postfix
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const postfix
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const postdrop
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: expand $myhostname, localhost.$mydomain, localhost, $mydomain -> inet.ххххххх.ru, localhost.хххххх.ru, localhost, хххххххх.ru
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: expand $myhostname -> inet.хххххххх.ru
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const /usr/libexec/postfix
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const /usr/sbin
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const /var/spool/postfix
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const pid
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const all
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const double-bounce
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const nobody
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const hash:/etc/mail/aliases
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 20050621
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 2.2.4
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const hash
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const deferred, defer
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:4
8 mail postfix/smtpd[6397]: dict_eval: expand $mydestination -> inet.хххххххх.ru, localhost.хххххххх.ru, localhost, ххххххххххх.ru
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: expand $relay_domains -> inet.хххххх.ru, localhost.хххххх.ru, localhost, ххххххххх.ru
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const TZ MAIL_CONFIG
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const subnet
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const +=
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const -=+
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const bounce
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const cleanup
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const defer
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const pickup
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const qmgr
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const rewrite
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const showq
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const error
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const flush
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const verify
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const trace
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 2
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 100s
Jun 22 17:35:48 mail last message repeated 3 times
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 3600s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 3600s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 100s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 100s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 1000s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 1000s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 10s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 10s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 1s
Jun 22 17:35:48 mail last message repeated 3 times
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 500s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 500s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 18000s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 18000s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 1s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 1s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 192.168.0.0/24, 127.0.0.0/8
Jun 22 17:35:48 mail postfix/smtpd[6397]: inet_addr_local: configured 3 IPv4 addresses
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 550
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: expand $myhostname ESMTP $mail_name -> inet.хххххххх.ru ESMTP Postfix
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const resource, software
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail last message repeated 2 times
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const reject_invalid_hostname, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unknown_sender_domain, reject_unauth_pipelining, permit_mynetworks, reject_unauth_destination, check_client_access hash:/etc/postfix/pass_rbl, reject_rbl_client relays.visi.com, reject_rbl_client list.dsbl.org, reject_rbl_client relays.ordb.org, reject_rbl_client dnsbl.sorbs.net, reject_rbl_client dnsbl.void.ru, reject_rbl_client blackholes.mail-abuse.org, reject_rbl_client relays.mail-abuse.org, reject_rbl_client dul.mail-abuse.org, reject_rbl_client relays.ordb.org, reject_rbl_client blackholes.wirehub.net, reject_rbl_client dynablock.wirehub.net, reject_rbl_client dnsbl.njabl.org, reject_rbl_client opm.blitzed.org, reject_rbl_client http.dnsbl.sorbs.net, reject_rbl_client list.dnsbl.org, reject_rbl_client socks.dnsbl.net, reject_rbl_client misc.dnsbl.sorbs.net, reject_rbl_client smtp.
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail last message repeated 4 times
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const postmaster
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const pass_rbl
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: expand $virtual_maps ->
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const hash:/etc/postfix/aliases
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: expand proxy:unix:passwd.byname $alias_maps -> proxy:unix:passwd.byname hash:/etc/postfix/aliases
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const noanonymous
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const smtpd
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail last message repeated 5 times
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const CONNECT GET POST
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const <>
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const postmaster
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: expand $authorized_verp_clients ->
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: expand $myhostname -> inet.nurgush.ru
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail last message repeated 2 times
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: expand ${smtpd_client_connection_limit_exceptions:$mynetworks} -> 192.168.0.0/24, 127.0.0.0/8
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const permit_inet_interfaces
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 300s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 300s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 1s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 1s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 100s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 100s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 3s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 3s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 100s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 100s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 300s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 300s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 1000s
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const 1000s
Jun 22 17:35:48 mail postfix/smtpd[6397]: process generation: 147 (147)
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: mynetworks ~? debug_peer_list
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: mynetworks ~? fast_flush_domains
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: mynetworks ~? mynetworks
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: relay_domains ~? debug_peer_list
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: relay_domains ~? fast_flush_domains
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: relay_domains ~? mynetworks
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: relay_domains ~? permit_mx_backup_networks
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: relay_domains ~? qmqpd_authorized_clients
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: relay_domains ~? relay_domains
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: permit_mx_backup_networks ~? debug_peer_list
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: permit_mx_backup_networks ~? fast_flush_domains
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: permit_mx_backup_networks ~? mynetworks
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: permit_mx_backup_networks ~? permit_mx_backup_networks
Jun 22 17:35:48 mail postfix/smtpd[6397]: connect to subsystem private/proxymap
Jun 22 17:35:48 mail postfix/smtpd[6397]: send attr request = open
Jun 22 17:35:48 mail postfix/smtpd[6397]: send attr table = unix:passwd.byname
Jun 22 17:35:48 mail postfix/smtpd[6397]: send attr flags = 64
Jun 22 17:35:48 mail postfix/smtpd[6397]: private/proxymap socket: wanted attribute: status
Jun 22 17:35:48 mail postfix/smtpd[6397]: input attribute name: status
Jun 22 17:35:48 mail postfix/smtpd[6397]: input attribute value: 0
Jun 22 17:35:48 mail postfix/smtpd[6397]: private/proxymap socket: wanted attribute: flags
Jun 22 17:35:48 mail postfix/smtpd[6397]: input attribute name: flags
Jun 22 17:35:48 mail postfix/smtpd[6397]: input attribute value: 80
Jun 22 17:35:48 mail postfix/smtpd[6397]: private/proxymap socket: wanted attribute: (list terminator)
Jun 22 17:35:48 mail postfix/smtpd[6397]: input attribute name: (end)
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_proxy_open: connect to map=unix:passwd.byname status=0 server_flags=0120
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_open: proxy:unix:passwd.byname
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_open: hash:/etc/postfix/aliases
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: smtpd_access_maps ~? debug_peer_list
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: smtpd_access_maps ~? fast_flush_domains
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: smtpd_access_maps ~? mynetworks
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: smtpd_access_maps ~? permit_mx_backup_networks
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: smtpd_access_maps ~? qmqpd_authorized_clients
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: smtpd_access_maps ~? relay_domains
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: smtpd_access_maps ~? smtpd_access_maps
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_open: hash:/etc/postfix/pass_rbl
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_eval: const check_sender_access hash:/etc/postfix/acesslist
Jun 22 17:35:48 mail postfix/smtpd[6397]: dict_open: hash:/etc/postfix/acesslist
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: fast_flush_domains ~? debug_peer_list
Jun 22 17:35:48 mail postfix/smtpd[6397]: match_string: fast_flush_domains ~? fast_flush_domains
Jun 22 17:35:48 mail postfix/smtpd[6397]: attr_clnt_create: transport=local endpoint=private/anvil
Jun 22 17:35:48 mail postfix/smtpd[6397]: connection established
Jun 22 17:35:48 mail postfix/smtpd[6397]: master_notify: status 0
Jun 22 17:35:48 mail postfix/smtpd[6397]: name_mask: resource
Jun 22 17:35:48 mail postfix/smtpd[6397]: name_mask: software
Jun 22 17:37:08 mail postfix/smtpd[6397]: connect from unknown[192.168.0.101]
Jun 22 17:37:08 mail postfix/smtpd[6397]: match_list_match: unknown: no match
Jun 22 17:37:08 mail postfix/smtpd[6397]: match_list_match: 192.168.0.101: no match
Jun 22 17:37:08 mail postfix/smtpd[6397]: match_list_match: unknown: no match
Jun 22 17:37:08 mail postfix/smtpd[6397]: match_list_match: 192.168.0.101: no match
Jun 22 17:37:08 mail postfix/smtpd[6397]: match_hostname: unknown ~? 192.168.0.0/24
Jun 22 17:37:08 mail postfix/smtpd[6397]: match_hostaddr: 192.168.0.101 ~? 192.168.0.0/24
Jun 22 17:37:08 mail postfix/smtpd[6397]: > unknown[192.168.0.101]: 220 inet.nurgush.ru ESMTP Postfix
Jun 22 17:37:13 mail postfix/smtpd[6397]: smtp_get: EOF
Jun 22 17:37:13 mail postfix/smtpd[6397]: match_hostname: unknown ~? 192.168.0.0/24
Jun 22 17:37:13 mail postfix/smtpd[6397]: match_hostaddr: 192.168.0.101 ~? 192.168.0.0/24
Jun 22 17:37:13 mail postfix/smtpd[6397]: lost connection after CONNECT from unknown[192.168.0.101]
Jun 22 17:37:13 mail postfix/smtpd[6397]: disconnect from unknown[192.168.0.101]
Jun 22 17:37:13 mail postfix/smtpd[6397]: master_notify: status 1
Jun 22 17:37:13 mail postfix/smtpd[6397]: connection closed
Jun 22 17:37:28 mail postfix/smtpd[6397]: proxymap stream disconnect
> Jun 22 17:37:08 mail postfix/smtpd[6397]: > unknown[192.168.0.101]: 220 inet.nurgush.ru ESMTP Postfix
Приветствие postfix-а клиенту
> Jun 22 17:37:13 mail postfix/smtpd[6397]: smtp_get: EOF
Клиент рвет связь по неизвестной причине. Попробуйте посмотреть сниффером весь этот сеанс TCP/IP.
Блин, прикол в том что это все так клиенты рвут! Тоесть гдето 20 ли 25 машин! Значит дело в сервере! Ведь клиентов не трогали только сервер!
И ещё почему то я могу телнетом зайти на 25 порт но как то странно, он ОООЧень долго думает!!!! А потом только пускает! А на внешних интерфейсах всё мгновеноо! Соответственно почта приходить приходит а уходить не может!
Что сделать помогите!!!
Возможные причины.
1. Проблемы со связью в локальной сети. Проверяется просто. Попробуйте обратиться к другой службе на этом сервере (httpd, например).
2. Большой входящий почтовый трафик, как следствие все процессы smtpd обслуживают их. Маловероятно, если Вы говорите, что из внешней сети в любой момент можно содиниться с postfix.
3. Неправильно или вообще не настроен dns для локальных адресов. Как следствие - большие задержки.
>Возможные причины.
>1. Проблемы со связью в локальной сети. Проверяется просто. Попробуйте обратиться к
>другой службе на этом сервере (httpd, например).
Дело в том что эта машина шлюз и осталньные сервисы через неё работают! так что этот вариант отпадает!
>2. Большой входящий почтовый трафик, как следствие все процессы smtpd обслуживают их.
>Маловероятно, если Вы говорите, что из внешней сети в любой момент
>можно содиниться с postfix.
Согласен! нагрузка очень маленькая
>3. Неправильно или вообще не настроен dns для локальных адресов. Как следствие
>- большие задержки.
хм а вот это идея, ша гляну...
Поэтому и советую убедиться с помощью сниффера кто разрывает соединение.
Jun 22 17:37:08 mail postfix/smtpd[6397]: > unknown[192.168.0.101]: 220 inet.nurgush.ru ESMTP Postfixnslookup nurgush.ru
nurgush.ru
195.208.235.66nslookup mail.nurgush.ru
mail.nurgush.ru
62.148.235.225И зачем народ вырезает свои ip-шки...
Вместо того что бы подкалывать лучше бы помогли!
ДА соединение действительно рвут клиенты! НО ОНИ его рвут по таймауту!!!!
Если выставить таймаут не 1 минуту а 3 то почта уходит гдето чререз 2 минуты, тогда вопрос: почему может так тупить постфикс на ВНУТРЕННЕМ интерфейсе? Ведь на внешенм то всё мгновенно и на петле!
тупит не постфикс а тупишь ты, у тебя внутри локалки DNS настроен?
обратная зона?
намек понял ?>ДА соединение действительно рвут клиенты! НО ОНИ его рвут по таймауту!!!!
>Если выставить таймаут не 1 минуту а 3 то почта уходит гдето
>чререз 2 минуты, тогда вопрос: почему может так тупить постфикс на
>ВНУТРЕННЕМ интерфейсе? Ведь на внешенм то всё мгновенно и на петле!
>
ну ругаться смысла нет, но хорошо допустим если даже named настроен не правильно, то почему до глюка всё прекрастно работало 3 месяца?
что значит глюк ?
что то видимо менял или обновлял? в resolv.conf ничего не менял?
а проверить DNS очень просто с почтовика host ip_любого_компа_из_локалки
если имя отресолвит правильно значит ищем причину дальше, если unknown но делай прямую и обратную зону на свое хозяйство.
>ну ругаться смысла нет, но хорошо допустим если даже named настроен не
>правильно, то почему до глюка всё прекрастно работало 3 месяца?
http://www.postfix.org/faq.html#delay
RBL-ы бы для теста поуберал для начала и
чему равно smtpd_sender_restrictions=???
Для $mynetworks RBL не работают, smtpd_sender_restrictions пустой. Смотрите внимательней конфиги.
сравни мой конфига постфикса со своим и подумай !
myhostname = fox.tum.zsavs.ru
mydomain = tum.zsavs.ru
myorigin = $myhostname
inet_interfaces = all
unknown_local_recipient_reject_code = 450
mynetworks = 10.131.2.0/24, 127.0.0.0/8alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
header_checks = regexp:/etc/postfix/header_checksdebug_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
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = /etc/postfix/READMEsmtpd_client_restrictions = permit_mynetworks
smtpd_client_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions = reject_rbl_client t1.bl.reynolds.net.au
smtpd_client_restrictions = reject_rbl_client bl.spamcop.net
smtpd_client_restrictions = reject_rbl_client blackholes.easynet.nl
smtpd_client_restrictions = reject_rbl_client list.dsbl.org
smtpd_client_restrictions = reject_rbl_client dnsbl.njabl.org
smtpd_client_restrictions = reject_rbl_client proxies.blackholes.easynet.nl
smtpd_client_restrictions = reject_rbl_client cbl.abuseat.org
smtpd_client_restrictions = reject_rbl_client proxies.relays.monkeys.com
smtpd_client_restrictions = reject_rbl_client dynablock.easynet.nl
smtpd_client_restrictions = reject_rbl_client relays.ordb.org
smtpd_client_restrictions = reject_rbl_client ex.dnsbl.org
smtpd_client_restrictions = reject_rbl_client dul.rumaps_rbl_reject_code = 550
smtpd_client_restrictions = reject_unknown_recipient_domain
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_non_fqdn_senderr
smtpd_helo_restrictions = reject_unknown_hostname
smtpd_helo_restrictions = reject_invalid_hostname
local_recipient_maps = $alias_maps unix:passwd.bynamebody_checks = regexp:/etc/postfix/body_checks
notify_classes = resource, software, protocol , policy, bounce
command_time_limit = 300
А что тут думать? Бред полный.
>smtpd_client_restrictions = permit_mynetworks
>smtpd_client_restrictions = hash:/etc/postfix/access
>smtpd_client_restrictions = reject_rbl_client t1.bl.reynolds.net.au
>smtpd_client_restrictions = reject_rbl_client bl.spamcop.net
>smtpd_client_restrictions = reject_rbl_client blackholes.easynet.nl
>smtpd_client_restrictions = reject_rbl_client list.dsbl.org
>smtpd_client_restrictions = reject_rbl_client dnsbl.njabl.org
>smtpd_client_restrictions = reject_rbl_client proxies.blackholes.easynet.nl
>smtpd_client_restrictions = reject_rbl_client cbl.abuseat.org
>smtpd_client_restrictions = reject_rbl_client proxies.relays.monkeys.com
>smtpd_client_restrictions = reject_rbl_client dynablock.easynet.nl
>smtpd_client_restrictions = reject_rbl_client relays.ordb.org
>smtpd_client_restrictions = reject_rbl_client ex.dnsbl.org
>smtpd_client_restrictions = reject_rbl_client dul.ru
Переменная smtpd_client_restrictions каждый раз перезаписывается и в итоге будет только
smtpd_client_restrictions = reject_rbl_client dul.ru>smtpd_client_restrictions = reject_unknown_recipient_domain
А в этом какой глубокий смысл?
>>smtpd_client_restrictions = reject_unknown_recipient_domain
>А в этом какой глубокий смысл?
Хотя если smtpd_delay_reject = yes, то смысл есть.
И если нетяжело, то пожалуйста подскажите, что это может значить!!!Reporting-MTA: dns; gate.pioo.tl.ru
X-Postfix-Queue-ID: 7FE1C127943
X-Postfix-Sender: rfc822; ******@pioo.tl.ru
Arrival-Date: Wed, 21 Feb 2007 17:24:35 +0300 (MSK)Final-Recipient: rfc822; ******@pioo.tl.ru
Original-Recipient: rfc822; ******@pioo.tl.ru
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; cannot access mailbox /var/mail/****** for user
******. error writing message: File too large
Очень надо!!!
>[оверквотинг удален]
> X-Postfix-Queue-ID: 7FE1C127943
> X-Postfix-Sender: rfc822; ******@pioo.tl.ru
> Arrival-Date: Wed, 21 Feb 2007 17:24:35 +0300 (MSK)
> Final-Recipient: rfc822; ******@pioo.tl.ru
> Original-Recipient: rfc822; ******@pioo.tl.ru
> Action: failed
> Status: 5.0.0
> Diagnostic-Code: X-Postfix; cannot access mailbox /var/mail/****** for user
> ******. error writing message: File too large
> Очень надо!!!Чисто для тех, кто будет потом читать эту ветку.
Это значит, что "error writing message: File too large", т.е. ящик юзера ****** переполнился(место кончилось на диске или квота), или его нет, или доступа к нему нет. Ну и неплохо бы ещё проверить, не слишком ли жирное вложение.