Koozali.org: home of the SME Server

Starting smtpd

Cyrus Bharda

Starting smtpd
« on: October 09, 2002, 06:20:42 AM »
Hello all, well I am trying to setup my SME box to just host my email. So I had my mx records changed and all the other stuff done, but I cannot send mail from the SME 5.5.

I get this error from outlook:
An unknown error has occurred. Subject 'test from outlook local to external', Account: 'XXXXX.net.au', Server: '192.168.0.1', Protocol: SMTP, Server Response: '451 Message refused by mail server.', Port: 25, Secure(SSL): No, Server Error: 451, Error Number: 0x800CCC6A

So I tryed webmail, but it would not send, came back with "There was an error sending your message". Then I downloaded the services rpm to see if my smtp was running and it isnt for some reason, so I rebooted, but it did not start. I tryed setting it to start with the services control panel, but it still doesnt start, so how do I start it, and will this fix the problem?

chris meredith

Re: Starting smtpd
« Reply #1 on: October 09, 2002, 11:24:58 AM »
Chances are there is an error when smtp tries to start.  Check your log files.

You can also try starting the service from the console and see what error you get.  It should be something like:

/etc/init.d/smtpfwdd start

I'm not sure what the smtp startup script is called for 5.5, but it should be similar.

Jon Blakely

Re: Starting smtpd
« Reply #2 on: October 09, 2002, 03:58:29 PM »
5.5 uses smtpfront-qmail so it would be

/etc/init.d/smtpfront-qmail start

The services rpm you are using will not work correctly on 5.5 for some services, mail being one of them

Jon

Cyrus Bharda

Re: Starting smtpd
« Reply #3 on: October 10, 2002, 02:24:27 AM »
Ok well I ran /etc/init.d/smtpfront-qmail start and it started OK and tryed to send an email from webmail, but still get this message:

There was an error sending your message

When I hit the send button.

And I still get the 451 message when I try with outlook express.. any ideas?

jeroen

Re: Starting smtpd
« Reply #4 on: October 11, 2002, 01:51:45 AM »
Did you check the log files yet?

Jeroen

Cyrus Bharda

Re: Starting smtpd
« Reply #5 on: October 11, 2002, 02:18:09 AM »
Yeah, the service starts fine, no errors whatsoever? Pretty strange, I think it is related to another problem I am having with RAV, so I just got RAV 8.4 so we'll see if that fixes it, thanks though!!

Cyrus Bharda

Wawan

Re: Starting smtpd
« Reply #6 on: September 10, 2003, 05:20:01 PM »
Hi All,

I'm using version 5.6, I got same problem with Cyrus, and I did the command:
# service smtpfront-qmail start
and looks normal, but when i check it on the status (by 'service smtpfront-qmail status' command) it displayed:
/service/smtpfront-qmail: up (pid 1591) 9897 seconds, normally down
Any one can help, please. Your help is highly appreciated,
Thank you,

Steven

Re: Starting smtpd
« Reply #7 on: September 25, 2003, 02:33:00 PM »
Hi Cyrus

Did you manage to resolve this? Was it the RAV?
I am having the same problem.  Please let me know

Thanks
Steven

Cyrus Bharda

Re: Starting smtpd
« Reply #8 on: September 26, 2003, 04:23:50 AM »
Steven,

I must of resolved it as it is all working good now, but unfortunatly cannt for the life of me remember what I did, sorry!!

Cyrus Bharda

Steven

Re: Starting smtpd
« Reply #9 on: September 26, 2003, 11:26:55 AM »
OK here's how we solved it here.  If RAV stops for some reason you will get these errors, so we checked if it was running

ps -ef |grep rav

saw that it wasn't running, so we changed to the rc2.d directory and started it, and it started working fine

cd /etc/rc2.d
./K40ravmail start

Hope this helps
Steven