Koozali.org: home of the SME Server

New to SME have Email and DHCP issues

Offline phxtech

  • *
  • 8
  • +0/-0
New to SME have Email and DHCP issues
« on: May 22, 2008, 04:20:29 AM »
I have taken over as administrator and we have an SME server 7.3 acting as our gateway and Email server.

I have a 2 problems that I do not know how to resolve as I am new to the server.

I have looked through the documentation but am not clear on an answer.

One of the problems is one of my users has to have 2 different accounts in Outlook when on the LAN and again when outside of the LAN to receive his email.

1.  He has a POP3 and SMTP account with his firm out of CA and wants to be able to log in to his account from inside the LAN as well as outside the LAN using the same account in Outlook. Is this possible? He has a separate account set up for inside the LAN and one for outside the LAN. He needs it to be one account.

2.  He is sending duplicate emails.

3.  New email sits in the outbox for a long time when on the LAN before being sent out.

Another problem is with DHCP. I had tried to use the SME server as my DHCP server but it is not putting out DHCP IP addresses for the other computers on the network. What would cause this? We have a Cisco 2620 going to the SME and the SME to the LAN switch. Nothing else is acting as a DHCP server.


Offline holck

  • *
  • 322
  • +1/-0
Re: New to SME have Email and DHCP issues
« Reply #1 on: May 22, 2008, 10:24:42 AM »
I can't help you with Outlook - but regarding DHCP, what does the DHCP log (/var/log/dhcpd/current) say?
......

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: New to SME have Email and DHCP issues
« Reply #2 on: May 22, 2008, 02:30:43 PM »
One Email Account
To let your executive use only one email account both internally and externally you need to enable SMTP authentication on the internal network as described here: http://wiki.contribs.org/Email#How_do_I_enable_smtp_authentication_for_users_on_the_internal_network.

Additionally, your DNS must be configured so that the same DNS name returns the SME private IP when in the office, but returns the public IP when off-site.

Finally, your user may experience some hiccups if moving on- or off-site with his/her laptop 'suspended' or 'hibernated' (I think this happens because the SSL certificate is the same from either location but the IP address changes).  I frequently (but not always?) need to close and re-open outlook if I have moved from off- to on-site or vice-versa.

DHCP
* DHCP must be enabled on the SME.  You can find out if DHCP is enabled by logging in to server-manager and looking in 'Review configuration'  under 'Configuration'.
* If DHCP is enabled but not working, you may have another DHCP server on your network.  Most DHCP daemons either won't start or will shut themselves down if they sense another DHCP daemon on the same network.
* The "official" way to enable your DHCP server (if it is not enabled) is to re-run the server setup to get to the screen described here: http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter5#Configuring_Your_DHCP_Server
* You can re-run the server setup process by logging in to the server as 'root' (either on the console or via putty or ssh), then running the command su admin.  You *will* need to reboot when done.

Offline phxtech

  • *
  • 8
  • +0/-0
Re: New to SME have Email and DHCP issues
« Reply #3 on: May 22, 2008, 06:40:16 PM »
So according to the "How do I enable smtp authentication for users on the internal network." answer, I just type in the value:

mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local
cd /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local
cp /etc/e-smith/templates/var/service/qpsmtpd/config/peers/0/05auth_cvm_unix_local .
signal-event email-update 

at the prompt and this will allow him to use 1 outlook account both on the LAN and off the LAN? The email account is not on the SME server. It is hosted on another smtp (pop3) server off of my network.

Will this also solve him sending duplicate emails?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: New to SME have Email and DHCP issues
« Reply #4 on: May 22, 2008, 11:38:18 PM »
* You can re-run the server setup process by logging in to the server as 'root' (either on the console or via putty or ssh), then running the command su admin

Although you *can* do that, what you should do is just login as 'admin'.

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: New to SME have Email and DHCP issues
« Reply #5 on: May 23, 2008, 04:12:47 PM »
The email account is not on the SME server. It is hosted on another smtp (pop3) server off of my network.
That's what I get for making assumptions...

No, the commands I gave you are only useful if his email is hosted on the SME server itself.

If the email is hosted off-site, why does he need two accounts?  If the reason for two accounts is that he can't send email through the off-site mail server when he is on-site (behind the SME server), perhaps you need to disable SMTP proxying on the SME (especially if all users are using the off-site mail server), or find out what alternate port is supported by the off-site mail server so that he isn't using port 25 (many providers supply access to their mail servers on alternate ports in order to support customers who are connected to the Internet using ISPs that block all traffic on port 25)..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: New to SME have Email and DHCP issues
« Reply #6 on: May 23, 2008, 04:20:18 PM »
1.  He has a POP3 and SMTP account with his firm out of CA and wants to be able to log in to his account from inside the LAN as well as outside the LAN using the same account in Outlook. Is this possible?

Yes, it is possible (assuming that the firm's SMTP server allows him to connect when he is on the road). His Outlook needs to be configured to use an encrypted connection (on port 465) when connecting to their server. His Outlook should also be configured to use encrypted POP3 (port 993).