Due to abuse on our network to send spam, since 25-02-2012 we do not allow the direct email sending through our servers. This means that to be able to send emails, you'll need to setup a relay server.
To use the relay server, you don't have to place a username or password. The server is protected by IP address.
Always use "relay.lusovps.com" because of redundancy.
To use a relay server on sendmail
Find the word "DS"
To use a relay server on postfix
Find the word "relay ="
relay = [relay.lusovps.com]
I'm using the service as a VPN. These rules cannot apply because I can't control my users
True. But you can control your data flow.
Add this to your firewall:
iptables -A OUTPUT -p tcp --destination-port 25 -d relay.lusovps.com -j ACCEPT
iptables -A OUTPUT -p tcp -m state --state NEW -m recent --set
iptables -A OUTPUT -p tcp -m state --state NEW --destination-port 25 -m recent --update --seconds 60 --hitcount 3 -j DROP
This means that all the connections made from your VPS to the internet will be throttled to 3/minute, except when using our relay server. All the rest will be droped. This way, your VPS won't be flagged on our system.
To be able to deliver email correctly, please also set your SPF record to allow relay.lusovps.com to deliver email.
example.com. IN TXT "v=spf1 include:relay.lusovps.com -all"
example.com. IN SPF "v=spf1 include:relay.lusovps.com -all"