Hey there, I've been at this for a few days now and still no luck but I know I'm very close to getting it. I've searched the internet everywhere and couldn't seem to find anything. The thing is that I can't send or receive email externally. It works fine locally though. My setup is Ubuntu 8.04LTS with Postfix, Courier and squirrelmail. I tried sending an email to and from my hotmail email but it doesn't work. It returns and email to the hotmail account saying that it could not be delivered. Here's my main.cf file contents: Code: smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no append_dot_mydomain = no readme_directory = no smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_key_file = /etc/postfix/ssl/smtpd.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 myhostname = drescnc.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = drescnc.com, localhost.drescnc.com, localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8 mailbox_command = mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = all smtpd_sasl_local_domain = smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_sasl_authenticated_header = yes smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_tls_auth_only = no smtp_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom home_mailbox = Maildir/ Here are the last few lines of my mail.log file: Code: Dec 2 19:51:13 drescnc imapd: LOGOUT, user=dre361224, ip=[::ffff:127.0.0.1], headers=113, body=0, rcvd=294, sent=1290, time=0 Dec 2 19:51:45 drescnc postfix/anvil[18341]: statistics: max connection rate 1/60s for (smtp:192.168.0.103) at Dec 2 19:44:46 Dec 2 19:51:45 drescnc postfix/anvil[18341]: statistics: max connection count 1 for (smtp:192.168.0.103) at Dec 2 19:44:46 Dec 2 19:51:45 drescnc postfix/anvil[18341]: statistics: max cache size 1 at Dec 2 19:44:46 Dec 2 19:58:56 drescnc imapd: Connection, ip=[::ffff:127.0.0.1] Dec 2 19:58:56 drescnc imapd: LOGIN, user=dre361224, ip=[::ffff:127.0.0.1], port=[33300], protocol=IMAP Dec 2 19:58:56 drescnc imapd: LOGOUT, user=dre361224, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0 Dec 2 20:00:35 drescnc postfix/qmgr[15926]: 0EE161B61FA: from=<[email protected]>, size=736, nrcpt=1 (queue active) Dec 2 20:01:05 drescnc postfix/smtp[18442]: connect to mx4.hotmail.com[65.55.37.120]:25: Connection timed out Dec 2 20:01:35 drescnc postfix/smtp[18442]: connect to mx2.hotmail.com[65.55.37.120]:25: Connection timed out Dec 2 20:02:05 drescnc postfix/smtp[18442]: connect to mx2.hotmail.com[65.55.92.184]:25: Connection timed out Dec 2 20:02:35 drescnc postfix/smtp[18442]: connect to mx2.hotmail.com[65.54.188.94]:25: Connection timed out Dec 2 20:03:05 drescnc postfix/smtp[18442]: connect to mx2.hotmail.com[65.55.37.72]:25: Connection timed out Dec 2 20:03:05 drescnc postfix/smtp[18442]: 0EE161B61FA: to=<[email protected]>, relay=none, delay=881, delays=731/0.01/150/0, dsn=4.4.1, status=deferred (connect to mx2.hotmail.com[65.55.37.72]:25: Connection timed out) Any help would be very appreciated! Thank you for your time! Dre
Thanks for the quick response! I already checked with them and they claimed that they do not block any ports.
Alright, so I did some progress on his since... Turns out I had my MX records set wrong... Now I receive mail fine externally. Although I still can't send mail from my server to external addresses... Any ideas? Thank you for your time! Dre
Any error messages? Also, please check if your server's blacklisted: http://mxtoolbox.com/blacklists.aspx
This is definitely a blocked port issue. Code: Dec 2 20:01:05 drescnc postfix/smtp[18442]: connect to mx4.hotmail.com[65.55.37.120]:25: Connection timed out Dec 2 20:01:35 drescnc postfix/smtp[18442]: connect to mx2.hotmail.com[65.55.37.120]:25: Connection timed out Dec 2 20:02:05 drescnc postfix/smtp[18442]: connect to mx2.hotmail.com[65.55.92.184]:25: Connection timed out Dec 2 20:02:35 drescnc postfix/smtp[18442]: connect to mx2.hotmail.com[65.54.188.94]:25: Connection timed out If it is not your service provider blocking the port, then it is your own firewall blocking u. Test using Code: telnet gmail-smtp-in.l.google.com 25
Hmm think you're right. It doesn't seem to want to connect. I don't know of any firewalls on my system though...