Hello,
I have a problem with postfix. It is installed on a host in my small home lan behind a router. My ISP is rogers. I have 3 external email addresses I am testing to/from, one of them being
me@rogers.com, the others
me@somewhere.ca and
me@somewhereelse.ca. My local domain is mydomain.ca so I am trying to send from me@mydomain.
I can receive mail for
me@mydomain.ca from each of these accounts no problem but I can only send mail successfully from this account to
me@rogers.com.
mymailhost:/etc/postfix# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname localhost.$mydomain localhost $mydomain
mydomain = mydomain.ca
myhostname = mymailhost.mydomain.ca
mynetworks = 192.168.0.0/24, 127.0.0.0/8
myorigin = $mydomain
notify_classes = bounce,delay,policy,protocol,resource,software
relay_domains =
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions = permit_sasl_authenticated permit_mynetworks
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_cert_file = /etc/postfix/toots-cert.pem
smtpd_tls_key_file = /etc/postfix/toots-key.pem
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
mail.log:
Oct 14 23:31:16 mymailhost postfix/smtp[9166]: 5F01426400: to=<me@somewhere.ca>, relay=none, delay=60, delays=0.04/0.02/60/0, dsn=4.4.1, status=deferred (connect to filter.somewhere.ca[ipaddress]:25: Connection timed out)
Oct 14 23:31:51 mymailhost postfix/smtp[9188]: 7EFCE26403: to=<me@somewhereelse.ca>, relay=none, delay=60, delays=0.03/0.01/60/0, dsn=4.4.1, status=deferred (connect to mail.somewhereelse.ca[ipaddress]:25: Connection timed out)
Oct 14 23:31:36 mymailhost postfix/smtp[9178]: 164E126402: to=<me@rogers.com>, relay=mx2.rog.mail.yahoo.com[206.190.37.7]:25, delay=60, delays=0.03/0.01/60/0.14, dsn=2.0.0, status=sent (250 ok dirdel)
I attempted to use relayhost=[smtp.broadband.rogers.com] in main.cf
with sasl_passwd:
[smtp.broadband.rogers.com] me:myrogerspassword
then postmap sasl_passwd and reload and send new test messages but then mail no longer is delivered to
me@rogers.com (or the others).