delivery temporarily suspended: connect to, localhost[10.11.12.13]:25: Connection timed out

Admin admin at enabled.com
Sun Jul 19 06:21:54 UTC 2009


Hi there,

I am using fetchmail to pop3 mail from gmail.  But when I receive email
I find that fetchmail is using postfix to deliver the mail to the
corresponding internal mailbox.  postfix responds with the following
error and best I can tell the mail never ends up in my inbox.  Looks
like localhost is considered 10.11.12.13.  The error message,
/etc/hosts, and postconf -n are below.


Here is the error message:

---- snip ----

<username at localhost>: delivery temporarily suspended: connect to
     localhost[10.11.12.13]:25: Connection timed out



Reporting-MTA: dns; domain.com
X-Postfix-Queue-ID: 1BC17FC104
X-Postfix-Sender: rfc822; username at gmail.com
Arrival-Date: Sat, 18 Jul 2009 09:44:35 -0700 (PDT)

Final-Recipient: rfc822; username at localhost
Original-Recipient: rfc822;username at localhost
Action: delayed
Status: 4.4.1
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to
     localhost[10.11.12.13]:25: Connection timed out
Will-Retry-Until: Thu, 23 Jul 2009 09:44:35 -0700 (PDT)


---- snip ----

$ cat /etc/hosts
127.0.0.1     localhost localhost.localdomain
174.143.000.00     domain.com

$ host localhost
localhost has address 127.0.0.1
localhost has IPv6 address ::1

# postconf -n

:/etc/postfix# postconf -n
alias_database = hash:/etc/postfix/aliases
hash:/var/lib/mailman/data/aliases
alias_maps = hash:/etc/postfix/aliases hash:/var/lib/mailman/data/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
delay_warning_time = 4h
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, localhost.$mydomain $mydomain
mydomain = domain.com
myhostname = domain.com
mynetworks = 1.1.1.1/32 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = domain.com
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions =
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_alias_domains = <domains here>
virtual_alias_maps = hash:/etc/postfix/virtual
hash:/var/lib/mailman/data/virtual-mailman








More information about the ubuntu-users mailing list