• Cannot send e-mail from my mail server to an outside domain "Requested action not taken: mailbox una
    8 replies, posted
Hello, everyone. I'm still having headaches trying to look cool and have my own custom e-mail domain! Sending e-mail locally works fine, but when I tried to send an e-mail from my server to my hotmail, this happens. [IMG]http://puu.sh/b0svY/0d0803e810.png[/IMG] Again, I'm using postfix and dovecot on a Ubuntu 14.04 LTS server Thanks in advance!
Where is your server hosted? What is your mail DNS server? If it's on a VPS or shared box, chances are your host's IP has been blacklisted by major mail providers because they are easy to send spam from. You might be able to verify if that's the case here [url]http://mxtoolbox.com/blacklists.aspx[/url]
Try using your ISP as a mail relay, all mail I sent with my server was rejected until I did so. You can follow some of the instructions here: [url]http://www.freelock.com/kb/postfix-relayhost[/url] For example if you have Comcast as an ISP you can use your comcast email as a relay (it's completely trasnparent). In your /etc/postfix/main.cf you'll have something like [code]relayhost = [smtp.comcast.net]:587 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options =[/code] and in your /etc/postfix/sasl_password something like this: [code]smtp.comcast.net mycomcastmail@comcast.net:password[/code] Sorry if this is a little hasty, my next class starts in 10 minutes.
My IP isn't blacklisted anywhre (I'm with digitalocean.com) and the server is in New York City. However, after doing some checks with mxtoolbox, it says that the SMTP server timed out. I don't have an ISP e-mail. [editline]20th August 2014[/editline] And by my mail DNS server, do you mean settings on my server, or is it something to do with the DNS company I'm using?
Hello? Guys? I really need help with this!
...guys?
You can try routing the emails through a personal email like gmail. Just like routing it through your ISP's email it should be just as seamless, but you'll need to find the right information for it.
Ah ha! I figured out my problem Turns out I didn't change my hostname properly, and my server was actually rejecting outside connectings. inet_interfaces = all myhostname = mail.aritzcracker.ca mydomain = aritzcracker.ca [editline]1st September 2014[/editline] Well, I can receive mail, but I still have have the error above. [editline]1st September 2014[/editline] [code] smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.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 # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination myhostname = mail.aritzcracker.ca mydomain = aritzcracker.ca alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination = mail.aritzcracker.ca, localhost.localdomain, localhost, aritzcracker.ca relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.160.0.0/24 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all myorigin = /etc/mailname default_transport = error relay_transport = error inet_protocols = all [/code]
I've got it working after I posted that... I don't want to be one of those threads that someone finds on google but doesn't get an answer, so... instead of default_transport = error do default_transport = smtp I swear, I thought I was a complete idiot for missing this. :v: Hope this helps someone in the future!
Sorry, you need to Log In to post a reply to this thread.