Question

Configure Smtp mailjet with zpanel cento 6

  • Posted April 9, 2013

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

Subscribe
Share

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

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.

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>

no, it doesn’t work…

Hi Raiyu, no, this configuration is: <br> <br>localhost.$mydomain, localhost <br> <br>What do i need in this parameter, in.mailjet.com, or the name of my domain? <br> <br>anyway I’m going to check both alternatives! thanks a lot!

Did you update postfix’s main.cf for: <br>mydestination = domain1.com, domain2.com <br> <br>With a list of domains for which you expect to receive email?