Configure Smtp mailjet with zpanel cento 6

Hi to everybody, i can´t make work mailjet (external smtp) in my droplet. I have centos 6.3 with Zpanel and everything works fine, even I can receive mails with no problems.

I’ve configured dns & postfix like told me mailjet, and i’ve configures my smtp configuration in zpanel, (mail method, smtp server) but i can´t get anything…

The error i’ve have in maillog is:"Relay access denied (in reply to RCPT TO command) "

Any ideas? I’m desperate hehehehe

Thanks in advance

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Try this: <br>iptables -A INPUT -p tcp --dport 26 -j ACCEPT <br>iptables -A OUTPUT -p tcp --sport 26 -j ACCEPT <br> we’ll add in our redirect, which can be specified with the following line: <br>iptables -t nat -A PREROUTING -p tcp --dport 26 -j REDIRECT --to-port 25 <br>If this does not work then verify there is only one entry for the redirect: <br>iptables -t nat -L <br>To remove the redirect tables: <br>iptables -t nat -F <br> <br>test: <br>telnet domain(mail server) 26 <br>

check the iptables (firewall)

the problem anyway it’s no receiving, is sending mails through a external smtp (mailjet). <br>