Link to home
Start Free TrialLog in
Avatar of xenia27
xenia27Flag for Taiwan, Province of China

asked on

SMTP code: 503

Hi,


I got this situation and I have no idea why it caused SMTP code 503...please help me.

This is what I tried to do.  I try to run my program and send warning email if a condition is satisfied.  But I cannot receive any warning emails so I use a lan analyzer to detect what's wrong...and I got this SMTP code 503.  What will cause this problem and how can I solve this problem.  My program runs fine with other Linux 9.0....not sure which setting in Linux I should modify...Any idea????


Help~~~~


Xenia
Avatar of NetworkArchitek
NetworkArchitek

Hi xenia27,
You're not authenticating with your mail server, that's what that business is about. I don't know what program you are using, but your mail server is set to require authentication for all non-local smtp transfer it looks like. You may want to configure that program to authenticate when it sends mail or make your SMTP server not require authentication if requests are coming from your lan.

Cheers!
Avatar of xenia27

ASKER

how can I authenticate my program when it sends mail??  what should I do?  ^^
xenia27
> Well, what are you doing exactly. Is your mail server on your network or are you using an ISP mail server or what? Also, did you write this program, is it a shell script or what?
Avatar of xenia27

ASKER

OK...my mail server is on our network...
I write this program...and it's an executable program in C++...
So what should I do?
Avatar of xenia27

ASKER

By the way, why I got this error message, "Error: send HELO/EHLO first", which came with error 503??  
ASKER CERTIFIED SOLUTION
Avatar of Matt_Avery
Matt_Avery

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xenia27

ASKER

Sorry for taking this long...but I'm still waiting for the reply after I adding HELO in my program..However, I think this will work!  Thank you~~~