eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1
Windows 2003 SMTP Mail not functioning (Read 97 times)
gatekeeper
eAuction Novice
*
Offline

I Love Perl

Posts: 1

Windows 2003 SMTP Mail not functioning
03/08/07 at 06:45:41
 
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 Login or Register!!

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 :)
Back to top
 
 


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Online

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: Windows 2003 SMTP Mail not functioning
Reply #1 - 03/08/07 at 08:18:05
 
Try this ...

Code:
    $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
 
   $config{'mailhost'}	= '127.0.0.1'; 



or
Code:
    $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

   $config{'mailhost'}	= 'localhost'; 


Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
Pages: 1


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only