Ok, I see that postfix cannot connect to 70.71.113.158 which is my IP.
Instead of using that ?external? IP address, shouldn't postfix be using
localhost, 127.0.0.1?
How can I configure postfix so that, when connecting to
dur.bounceme.net, it uses the same IP address as localhost?
root@dur:~#
root@dur:~# tail /var/log/mail.log
Aug 28 04:39:45 dur postfix/master[6667]: terminating on signal 15
Aug 28 04:39:46 dur postfix/postfix-script[6781]: starting the Postfix
mail system
Aug 28 04:39:46 dur postfix/master[6782]: daemon started -- version
2.9.1, configuration /etc/postfix
Aug 28 04:39:52 dur postfix/smtpd[6786]: connect from localhost[127.0.0.1]
Aug 28 04:40:37 dur postfix/smtpd[6786]: B92B518431A:
client=localhost[127.0.0.1]
Aug 28 04:41:21 dur postfix/cleanup[6790]: B92B518431A:
message-id=<20120828114037.b92b5184...@dur.bounceme.net>
Aug 28 04:41:22 dur postfix/qmgr[6784]: B92B518431A:
from=<rout...@dur.bounceme.net>, size=438, nrcpt=1 (queue active)
Aug 28 04:41:23 dur postfix/smtp[6792]: connect to
dur.bounceme.net[70.71.113.158]:25: Connection refused
Aug 28 04:41:23 dur postfix/smtp[6792]: B92B518431A:
to=<thu...@dur.bounceme.net>, relay=none, delay=62,
delays=60/0.02/1.6/0, dsn=4.4.1, status=deferred (connect to
dur.bounceme.net[70.71.113.158]:25: Connection refused)
Aug 28 04:41:26 dur postfix/smtpd[6786]: disconnect from
localhost[127.0.0.1]
root@dur:~#
root@dur:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
default_transport = smtp
home_mailbox = Maildir/
inet_interfaces = loopback-only
mailbox_command = /usr/lib/dovecot/deliver -c
/etc/dovecot/conf.d/01-mail-stack-delivery.conf -m "${EXTENSION}"
mailbox_size_limit = 0
mailman_destination_recipient_limit = 1
mydestination = $mydomain, localhost.$mydomain, localhost
myhostname = dur.bounceme.net
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
readme_directory = no
recipient_delimiter = +
relay_domains = lists.dur.bounceme.net
relay_transport = relay
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = reject_unknown_sender_domain,
reject_unknown_recipient_domain, reject_unauth_pipelining,
permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/ssl-mail.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-mail.key
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
root@dur:~#
thanks,
Thufir