PDA

View Full Version : smtp problem



jimbo100
07-14-2003, 08:28 AM
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
07-14-2003, 09:27 AM
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
07-14-2003, 09:31 AM
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
07-14-2003, 09:38 AM
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

jimbo100
07-14-2003, 09:42 AM
Via telnet to acces the file?

DirectAdmin Support
07-14-2003, 09:45 AM
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
08-11-2003, 01:49 AM
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
08-11-2003, 01:57 AM
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!

DirectAdmin Support
08-12-2003, 10:32 AM
Hello,

http://www.directadmin.com/forum/showthread.php?s=&postid=2199#post2199

This might only be an issue for exim 4 users, and the fix is in the link above. (Note exim 4 is still in beta).

This only effects programs that use smtp via localhost and exim 4. Most cgi scripts will use the sendmail/exim binary directly, so this wouldn't affect too many people.

John