Ilya Vishnyakov
2007-02-13 16:29:49 UTC
Hello POSTFIX GURUS I'm getting this in the mailq:
A6FB9552C6C 957 Tue Feb 13 10:20:35 ***@server.com
(connect to 127.0.0.1[127.0.0.1]: Connection
refused)
***@server.com
grep A6FB9552C6C /var/log/maillog
produces this:
Feb 13 11:11:17 postfix/smtp[1022]: A6FB9552C6C: to=<***@server.com>,
orig_to=<root>, relay=none, delay=3042, delays=3042/0/0.01/0,
dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:
Connection refused)
I restarted postfix and did postsuper -r ALL
however, emails still sit in there.
i restarted amavisd:
ps -aux | grep amavis
vscan 1081 6.1 1.8 126360 73844 ?? Ss 11:20AM 0:00.54
amavisd (master) (perl5.8.8)
vscan 1085 0.5 1.8 127192 74036 ?? S 11:20AM 0:00.02
amavisd (virgin child) (perl5.8.8)
vscan 1084 0.0 1.8 127192 74040 ?? S 11:20AM 0:00.03
amavisd (virgin child) (perl5.8.8)
vscan 1086 0.0 1.8 127192 74040 ?? S 11:20AM 0:00.02
amavisd (virgin child) (perl5.8.8)
vscan 1087 0.0 1.8 127192 74044 ?? S 11:20AM 0:00.01
amavisd (virgin child) (perl5.8.8)
vscan 1088 0.0 1.8 127192 74044 ?? S 11:20AM 0:00.01
amavisd (virgin child) (perl5.8.8)
postconf -n shows:
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
header_checks = regexp:/usr/local/etc/postfix/header_checks
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_transport = cyrus
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
maximal_queue_lifetime = 10d
message_size_limit = 20480000
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,
check_sender_access hash:/usr/local/etc/postfix/sender_access,
permit_sasl_authenticated, reject_unauth_pipelining,
reject_unauth_destination, reject_invalid_hostname,
reject_non_fqdn_sender, reject_unknown_sender_domain,
reject_non_fqdn_recipient, reject_rbl_client relays.ordb.org,
reject_rbl_client sbl.spamhaus.org, reject_rbl_client
bl.spamcop.net, reject_rbl_client list.dsbl.org,
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/server.pem
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /usr/local/etc/postfix/ssl/server.pem
smtpd_tls_key_file = /usr/local/etc/postfix/ssl/server.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
Please help me. mailq is getting more and more emails....
A6FB9552C6C 957 Tue Feb 13 10:20:35 ***@server.com
(connect to 127.0.0.1[127.0.0.1]: Connection
refused)
***@server.com
grep A6FB9552C6C /var/log/maillog
produces this:
Feb 13 11:11:17 postfix/smtp[1022]: A6FB9552C6C: to=<***@server.com>,
orig_to=<root>, relay=none, delay=3042, delays=3042/0/0.01/0,
dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:
Connection refused)
I restarted postfix and did postsuper -r ALL
however, emails still sit in there.
i restarted amavisd:
ps -aux | grep amavis
vscan 1081 6.1 1.8 126360 73844 ?? Ss 11:20AM 0:00.54
amavisd (master) (perl5.8.8)
vscan 1085 0.5 1.8 127192 74036 ?? S 11:20AM 0:00.02
amavisd (virgin child) (perl5.8.8)
vscan 1084 0.0 1.8 127192 74040 ?? S 11:20AM 0:00.03
amavisd (virgin child) (perl5.8.8)
vscan 1086 0.0 1.8 127192 74040 ?? S 11:20AM 0:00.02
amavisd (virgin child) (perl5.8.8)
vscan 1087 0.0 1.8 127192 74044 ?? S 11:20AM 0:00.01
amavisd (virgin child) (perl5.8.8)
vscan 1088 0.0 1.8 127192 74044 ?? S 11:20AM 0:00.01
amavisd (virgin child) (perl5.8.8)
postconf -n shows:
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
header_checks = regexp:/usr/local/etc/postfix/header_checks
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_transport = cyrus
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
maximal_queue_lifetime = 10d
message_size_limit = 20480000
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,
check_sender_access hash:/usr/local/etc/postfix/sender_access,
permit_sasl_authenticated, reject_unauth_pipelining,
reject_unauth_destination, reject_invalid_hostname,
reject_non_fqdn_sender, reject_unknown_sender_domain,
reject_non_fqdn_recipient, reject_rbl_client relays.ordb.org,
reject_rbl_client sbl.spamhaus.org, reject_rbl_client
bl.spamcop.net, reject_rbl_client list.dsbl.org,
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/server.pem
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /usr/local/etc/postfix/ssl/server.pem
smtpd_tls_key_file = /usr/local/etc/postfix/ssl/server.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
Please help me. mailq is getting more and more emails....