Koozali.org: home of the SME Server

mail configuration questions

nb69

mail configuration questions
« on: September 18, 2004, 07:36:17 AM »
Hi all,

ok, I've been scanning the forums for a bout 2 hours and I'm going crazy. I know this has been posted but I seriously can't find a guide for it. Worst is I'm sure I  saw it...

Here goes:

I've got 6.01 installed and the gateway features are working flawlessly.

Now I need to setup the email system and I'm hitting a real snag.

I'm connected to the net using a cable connection. The cable company gives me a DHCP IP which renews rarely but it does. The ISP also blocks off common ports like 80, 21, 25, 110 from the outside world.

What I want is all users on the network to retrieve their emails from the server. I know, this is really stupid... but its just not working.

I can see the messages queued in their home directories, but I can't connect from the mail clients.

Is there a DETAILED faq on configuring? I'm really not to sure of what I've done so far. Obviously I've done something wrong.

please help.

kindly,

-nb

Offline raem

  • *
  • 3,972
  • +4/-0
Re: mail configuration questions
« Reply #1 on: September 18, 2004, 04:32:10 PM »
> What I want is all users on the network to retrieve their emails from the server.

I assume you mean the users are on the LAN and are not remote.
If so there are only 4 parameters to set in the email client
POP3 server = serverIP (eg 192.168.1.1)
SMTP server = serverIP
username = user account name
password = user account password

> I can see the messages queued in their home
> directories, but I can't connect from the mail
> clients.

You could check to see that the mail system is running

/etc/init.d/qmail status
/service/qmail: up (pid 7707) 95401 seconds, normally down

/etc/init.d/smtpfront-qmail status
/service/smtpfront-qmail: up (pid 23848) 659 seconds, normally down

/etc/init.d/popd status
/service/popd: up (pid 1756) 98308 seconds, normally down


Try accessing via webmail, enable this first in server manager.
...

nb69

mail configuration questions
« Reply #2 on: September 18, 2004, 05:36:42 PM »
Hi there,

thanks a million!!  That was it. The deamons wern't started.

How curious tho...

How can I confirm that they are set to start at reboot?

As a matter of fact how I can see which deamons are starting and not? (Without the use of a panel)

kindly,

-nb

Offline raem

  • *
  • 3,972
  • +4/-0
mail configuration questions
« Reply #3 on: September 18, 2004, 06:07:25 PM »
nb69

Install the services panel from dmay contrib area
and just ensure the boxes are ticked in server manager


To check them using command line do
(for each of the following):
qmail
smtpfront-qmail
popd

/sbin/e-smith/db configuration show smtpfront-qmail

In the output you should see
status=enabled

If status=disabled then they won't run

To set them to run at start up do (for each)

/sbin/e-smith/db configuration set smtpfront-qmail service status enabled
/sbin/e-smith/signal-event email-update


Why were they disabled originally ??
...

Offline raem

  • *
  • 3,972
  • +4/-0
mail configuration questions
« Reply #4 on: September 18, 2004, 06:10:48 PM »
nb69

> As a matter of fact how I can see which deamons
> are starting and not? (Without the use of a panel)

Just do

/sbin/e-smith/db configuration show
or
/sbin/e-smith/db configuration show |more

look for status=enabled/disabled in the output
...

nb69

mail configuration questions
« Reply #5 on: September 18, 2004, 06:47:42 PM »
No idea why there were disabled.

Maybe I disabled it at first since I wasn't using it.

Not really sure anymore. I hacked my box quite a bir and haven't taken any notes... argh!

I think I'm gonna re-install just to get more confident with my setup ... and document ;)

I love SME... its so cool and simple. I love the idea that everything can run in one box. Great for my home and small budget ;)

Now if I can just figure out how to make it also act like a Wireless hotspot (captive portal) with the option to use either an external AP or an internet WiFi card. With a Radius server of course!.

Damn I love this!

Now I'm curious to know what kind of physical setup people are using? You see these types of galleries for M0n0wall, Trinux, LRP, etc... extreme case mods ;) With a description of running services.

SME ROCKS!

l8r

-nb