whitelionweb

Registered
Jul 14, 2012
2
0
1
cPanel Access Level
Root Administrator
Ok recently i have found that my server is a open relay server and when i try this to ANY other server such as my friend etc none of them have the same issue, i am running the same config as them and still same issue :(

When i go into port 25 via telnet i am able to send emails to ANYONE via my server and it can be from anyone ...

All i type is:

helo
helo
Mail from: [email protected]
RCPT TO: [email protected]
DATA
TO: [email protected] <[email protected]>
From: [email protected] <[email protected]>
Subject: test email
My message here

.


This allows me to pass through spam filters as it comes from my server ... not me or a php script it works on a few webhosts but others reuqire you to authenticate... How do i make this so on my server?
 

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
Disillusioned in England
cPanel Access Level
Root Administrator
Are you currently / have you recently logged into a mailbox on the server? If so you may well be being allowed to send mail through "pop before smtp" auth.

Check the exim log and for your IP in /etc/relayhosts
 

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter