smtp problem

jimbo100

New member
Joined
Jul 14, 2003
Messages
3
i have a customer who is using actinic software and requires the smtp to be "unauthorised".

how can this be done?

thanks

jim
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,051
Hello,

Turning off smtp authentication is a huge security hole without any other sort of limitation on who can send email. If you *must* do it, you can add that user's ip to host_accept_relay, to make an exception to the host_auth_accept_relay.

John
 

jimbo100

New member
Joined
Jul 14, 2003
Messages
3
Thanks John.

i am not sure i want to go down that path then unless i have to...

how do i add the users ip and where ???? if i can find no other solution

jim
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,051
Hello,

This would be in the /etc/exim.conf file, exim's configuration file.

About line 121, uncomment the "host_accept_relay" value and put your clients ip in there.

host_accept_relay = 123.234.123.321

John
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,051
Hello,

I recommend ssh, but yes you must have a shell on that server, as well as root access, to do this modification.

John
 

prophecy

Verified User
Joined
Jul 8, 2003
Messages
205
What woudl this be now? I'm getting the same thing trying to go through java and i've tried adding 127.0.0.1, localhost.localdomain on
hostlist relay_hosts
and also on relay_domains and I get this:

javax.mail.SendFailedException: 550 authentication required

Any ideas?
 

prophecy

Verified User
Joined
Jul 8, 2003
Messages
205
Ok, now here's some strange, when i change the TO address to a locally hosted domain on the server it works. But the script cannot send email to an external domain.

Strange!
 
Top