How do I configure mail redirection for Contact Form?

Created:

2016-11-16 13:21:11 UTC

Modified:

2017-08-16 16:41:34 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How do I configure mail redirection for Contact Form?

Applicable to:

  • Web Presence Builder for Linux

Symptoms

Contact Form is configured in a site published with Parallels Web Presence Builder .Server's IP was blocked due to SPAM activity by web mail services, so customer's e-mail bounces.

How can I resolve the problem if SPAM does not send from my server anymore?

Resolution

  1. The best way is to contact providers to remove your server from their blacklists. For example Spamhaus.org

  2. Also you can redirect outgoing SMTP traffic to another IP by following this KB article:

    How to configure IP address for outgoing mail in Postfix

    or you can redirect by using iptables, for example:

    -A PREROUTING -i eth1 -d <Blaclisted_IP>/32 -p tcp --dport 80 -j DNAT --to-destination <Not_blacklisted_IP>:3535
    -A POSTROUTING -j MASQUERADE

Note : refer to Internet resources if another MTA is used on the server. For example for Sendmail: Controlling SMTP Relaying

Have more questions? Submit a request
Please sign in to leave a comment.