Hi to all,
Im sure Dieter will be the responder to this but someone else may have come across this and allready solved it. After countless variations and trawling the forums i've been unable to get mail sending working.
Everything else is working perfectly however, mail sending is failing. Either it says it succeeded and i get nothing or i get 1 of 2 errors. Based on what i could see on the forums mostly based on your posting here Dieter Multimedia file viewing and clickable links are available for registered members only!! You need to
or
!!
i tried the following two different sets, i tried countless variations to get smtp working and as a last resort installed sendmail to try and get that working.
SMTP Config Code:# You need to assign either a mail program or
# a mail host so e-mails can be sent out.
# Configure your MAIL PROGRAM
$config{'get_mail'} = 0; # Set this from 1 to 0 if you want to use your own setting
#$config{'mailprog'} = '/usr/bin/sendmail'; # no additional options please
# or Configure your MAIL HOST (SMTP)
$config{'mailhost'} = 'http://127.0.0.1';
Sendmail Code:# You need to assign either a mail program or
# a mail host so e-mails can be sent out.
# Configure your MAIL PROGRAM
$config{'get_mail'} = 1; # Set this from 1 to 0 if you want to use your own setting
$config{'mailprog'} = '/usr/bin/sendmail'; # no additional options please
# or Configure your MAIL HOST (SMTP)
#$config{'mailhost'} = 'http://127.0.0.1';
When i apply these settings i get a "Server-overload" error
If i apply the smtp either to localhost or to my primary internal mail server without http:// i get an "email service not available" error.
Some facts on the server
- windows 2003 R2
- SMTP service installed and even left relay ability fully on to try this out
- the box is internal and im planning on just running this for an internal auction site at my office.
- its been pointed at itself for smtp and at my mail server where it has relay permissions but with no success.
- i have root access to the box and all services related to this install including Perl were done with full administrative privileges.
I've turned on debugging for the sendmail client, and my mail server and im not seeing any bounces. There is no firewall installed on this machine. SMTP works if you telnet to this server either from localhost or from another computer on the network and smtp responds and i can manually send an email through telnet.
I may have missed something very minor but im not sure what.
Cheers :)