Доброго времечка. Подскажите по такому вопросу. Имеется почтовый сервер postfix, на дэбиане. иногда на некоторое время пропадает прием почты, то есть пишется что почты нету, спустя n времени. почта приходит и принимается . Пробовал с двух почтовиком яндекс и маил отсылать ко мне на сервер почту. в логах молчком. При этом почта отправляется нормально.
лог devecot
2012-08-14 20:53:09 auth(default): Info: client in: AUTH 1 PLAIN service=pop3 lip=38.77.185.48 rip=46.64.40.57 lport=110 rport=35133
2012-08-14 20:53:09 auth(default): Info: client out: CONT 1
2012-08-14 20:53:09 auth(default): Info: client in: CONT<hidden>
2012-08-14 20:53:09 auth(default): Info: passwd-file(bagas@lx.ru,46.64.40.57): lookup: user=bagas@lx.ru file=/etc/dovecot/passwd
2012-08-14 20:53:09 auth(default): Info: client out: OK 1 user=bagas@lx.ru
2012-08-14 20:53:09 auth(default): Info: master in: REQUEST 8 31576 1
2012-08-14 20:53:09 auth(default): Info: passwd-file(bagas@lx.ru,46.64.40.57): lookup: user=bagas@lx.ru file=/etc/dovecot/users
2012-08-14 20:53:09 auth(default): Info: master out: USER 8 bagas@lix.ru uid=5000 gid=5000
2012-08-14 20:53:09 pop3-login: Info: Login: user=<bagas@lx.ru>, method=PLAIN, rip=46.164.240.157, lip=38.77.185.48
2012-08-14 20:53:09 POP3(bagas@lx.ru): Info: Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
2012-08-14 20:53:10 auth(default): Info: new auth connection: pid=31579
а вот лог mail.log по тому поводу.
конфиг dovecot protocols = pop3 pop3s
disable_plaintext_auth = no
log_path = /var/log/dovecot
log_timestamp = «%Y-%m-%d %H:%M:%S »
#ssl_cert_file = /etc/postfix/ssl/smtpd.pem #ssl_cert_file = /etc/ssl/certs/dovecot.pem ssl_cert_file = /etc/postfix/ssl/smtpd.pem
ssl_key_file = /etc/postfix/ssl/smtpd.pem
mail_location = maildir:/var/spool/mail/vhosts/%d/%n
mail_uid = 5000
mail_gid = 5000
mail_privileged_group = virtual
#protocol imap {
#}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
protocol managesieve {
}
auth_username_format = %Ln@%Ld
auth_debug = yes
auth default {
mechanisms = plain login DIGEST-MD5 CRAM-MD5
passdb passwd-file {
args = /etc/dovecot/passwd
}
userdb passwd-file {
args = /etc/dovecot/users
}
user = root
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = virtual
}
client {
#path = /var/spool/postfix/private/dovecot-auth
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
} dict { } plugin { }
Конфиг postfix
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_tls_note_starttls_offer = yes
smtpd_tls_security_level = may
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
anvil_rate_time_unit = 300s
smtpd_client_message_rate_limit = 30
smtpd_soft_error_limit = 1
smtpd_error_sleep_time = 15
smtpd_hard_error_limit = 2
myhostname = mail.it.ru
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = it.ru, localhost.ru, , localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 10240000
recipient_delimiter = +
inet_interfaces = all
milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:localhost:8891
non_smtpd_milters = inet:localhost:8891
virtual_mailbox_domains = ee.ru ro.ru er.ru lx.ru
virtual_mailbox_base = /var/spool/mail/vhosts
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_alias_maps = hash:/etc/postfix/virtual
relay_domains = $mydestination, $virtual_mailbox_domain
# SASL
anvil_rate_time_unit = 300s
smtpd_client_message_rate_limit = 30
smtpd_soft_error_limit = 1
smtpd_error_sleep_time = 15
smtpd_hard_error_limit = 2
smtpd_sasl_auth_enable = yes
smtpd_sasl_application_name = smtpd
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
broken_sasl_auth_clients = yes
smtpd_client_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_pipelining,permit
smtpd_helo_restrictions = permit
smtpd_sender_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_non_fqdn_sender,reject_unknown_sender_domain,reject_unverified_sender,permit
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_non_fqdn_recipient,reject_unauth_destination,reject_unknown_recipient_domain,reject_unverified_recipient,permit
smtpd_data_restrictions = permit
smtpd_end_of_data_restrictions = permit
smtpd_etrn_restrictions = permit
master.cfg
smtps inet n - - - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
-o smtp_fallback_relay=
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
dovecot unix - n n - - pipe flags=DRhu user=virtual:virtual argv=/usr/lib/dovecot/deliver -d ${recipient}