Hi.
From yeasterday I have trouble with my postfix (on Debian 5.0), I can't send and received e-mail,

when I try this command:
mysrv:/etc/postfix# postfix status
postfix/postfix-script: the Postfix mail system is running: PID: 2978

but if i try run this:
mysrv:/etc/postfix# postfix flush
postqueue: fatal: Cannot flush mail queue - mail system is down

below, I put my config and part of log files.



mysrv :/var/log# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
inet_interfaces = all
inet_protocols = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 1000000000
message_size_limit = 50000000
mydestination = mail.mysrv.net, mysrv.net, localhost
myhostname = mysrv.net
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP Postfix (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous



mysrv:/etc/postfix# cat master.cf
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ================================================== ========================
# 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_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o milter_macro_daemon_name=ORIGINATING

-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=reject_sender_login_mism atch,permit
-o receive_override_options=no_header_body_checks
# ,no_address_mappings
-o smtpd_sender_restrictions=permit_sasl_authenticate d,reject
-o smtpd_recipient_restrictions=reject_non_fqdn_recip ient,reject_unknown_recipient_domain,permit_sasl_a uthenticated,reject

#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - - - - qmqpd
picku?6cp fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
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
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
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
#
# ================================================== ==================
# 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( delivery
# agent. See the pipe( 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/bin/maildrop -d ${recipient}
#
# 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=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}


##Amavis
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200s
-o smtp_never_send_ehlo=yes
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o realy_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-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





mysrv:/etc/postfix# cat main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP Postfix (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
#smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
#smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
#smtpd_use_tls=yes
#smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
#smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = mysrv.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination =
mydestination = mysrv.mysrv.net, mysrv.net, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 1000000000
message_size_limit = 50000000
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
virtual_maps = hash:/etc/postfix/virtual

#SASL
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
#dodalem : permin
#smtpd_recipient_restrictions =permit , permit_sasl_authenticated, reject_unauth_destination, check_sender_access hash:/etc/postfix/sender_access

smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination


#Amavis
content_filter = smtp-amavis:[127.0.0.1]:10024





mysrv:/var/log# tail mail.log
Jan 18 20:52:48 mysrv postfix/error[4100]: 0D505285092: to=<judy20.tsai@msa.hinet.net>, relay=none, delay=273409, delays=273041/364/0/4.2, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to msa-mx12.hinet.net[168.95.6.181]:25: Connection timed out)
Jan 18 20:52:48 mysrv postfix/error[4351]: 02CD83F8870: to=<g625888@sinamail.com>, relay=none, delay=104504, delays=104137/366/0/0.8, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to sinamail.com[82.98.86.169]:25: Connection timed out)
Jan 18 20:52:48 mysrv postfix/smtp[4117]: AF8A6497C51: to=<fabiennepeng@pchome.com.tw>, relay=mxs.pchome.com.tw[211.20.188.150]:25, delay=9150, delays=8816/329/0.97/4, dsn=4.7.1, status=deferred (host mxs.pchome.com.tw[211.20.188.150] said: 450 4.7.1 <fabiennepeng@pchome.com.tw>: Recipient address rejected: Policy Rejection- Abuse. Go away. (in reply to RCPT TO command))
Jan 18 20:52:48 mysrv postfix/error[4124]: 0FFC03E0601: to=<li.yvonne@msa.hinet.net>, relay=none, delay=116235, delays=115868/361/0/6.1, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to msa-mx12.hinet.net[168.95.6.181]:25: Connection timed out)
Jan 18 20:52:48 mysrv postfix/smtpd[4486]: NOQUEUE: reject: RCPT from unknown[189.97.236.52]: 554 5.7.1 <patlabor@ms17.hinet.net>: Relay access denied; from=<springpu@yahoo.com> to=<patlabor@ms17.hinet.net> proto=SMTP helo=<ip-189-97-236-52.user.vivozap.com.br>
Jan 18 20:52:48 mysrv postfix/smtpd[4485]: NOQUEUE: reject: RCPT from 200-171-6-142.dsl.telesp.net.br[200.171.6.142]: 554 5.7.1 <otermakimo@yahoo.com.tw>: Relay access denied; from=<chiehchang@cm1.hinet.net> to=<otermakimo@yahoo.com.tw> proto=SMTP helo=<200-171-6-142.dsl.telesp.net.br>
Jan 18 20:52:48 mysrv postfix/smtpd[4103]: NOQUEUE: reject: RCPT from 200-91-244-100-host.ifx.net.co[200.91.244.100]: 554 5.7.1 <support.fruit@msa.hinet.net>: Relay access denied; from=<penbenjamin@ms75.hinet.net> to=<support.fruit@msa.hinet.net> proto=SMTP helo=<200-91-244-100-host.ifx.net.co>
Jan 18 20:52:49 mysrv postfix/smtp[4196]: connect to mx1.giga.net.tw[203.133.1.213]:25: Connection timed out
Jan 18 20:52:49 mysrv postfix/qmgr[4046]: 0AE59312DF1: from=<>, size=4700, nrcpt=1 (queue active)
Jan 18 20:52:49 mysrv postfix/error[4388]: 00C61304078: to=<jrepjs@ms14.hinet.net>, relay=none, delay=224319, delays=223951/366/0/1.7, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ms14a.hinet.net[168.95.5.14]:25: Connection timed out)

mysrv:/var/log# tail mail.err
Jan 18 20:51:28 mysrv postfix/bounce[4256]: fatal: lock file defer 09EBA492F72: Resource temporarily unavailable
Jan 18 20:51:29 mysrv postfix/bounce[4322]: fatal: lock file defer 09EBA492F72: Resource temporarily unavailable
Jan 18 20:51:35 mysrv postfix/bounce[4299]: fatal: lock file defer 07EB029E081: Resource temporarily unavailable
Jan 18 20:51:37 mysrv postfix/bounce[4354]: fatal: lock file defer 07EB029E081: Resource temporarily unavailable
Jan 18 20:52:15 mysrv postfix/bounce[4386]: fatal: lock file defer 0141A3B6EA8: Resource temporarily unavailable
Jan 18 20:52:28 mysrv postfix/bounce[4373]: fatal: lock file defer 0E3603F5FC3: Resource temporarily unavailable
Jan 18 20:53:21 mysrv postfix/bounce[4296]: fatal: lock file defer 00E1027122E: Resource temporarily unavailable