Koozali.org: home of the SME Server

emails

Offline yaseenkriel

  • *
  • 14
  • +0/-0
emails
« on: October 15, 2007, 08:44:07 AM »
i am trying to understand how the emails side of the server works. my experience is mostly with exchange on small business server 2003. i need to collect emails from pop3 acc at the isp, if i have read correctly the software i should be using is fetchmail to achieve this?  what domain name structure should i use when i setup the server eg.: work.local or work.com? i will be using the server in server mode only. thank u in advance!

Offline p-jones

  • *
  • 594
  • +0/-0
Re: emails
« Reply #1 on: October 15, 2007, 10:36:27 AM »
When you say pop3 mailbox(s) at the ISP, is this a drop mailbox for the domain or does each user have their own mailbox. depending on what you have, you may like to go to the sme homepage and have a look at the fetchmail contrib.

A good start is domainname.local. Its not hard to add additional domains if required or even reconfigure the original domain.

There is also a lot of info in the SME Administrators manual.

Cheers
Peter
...

Offline yaseenkriel

  • *
  • 14
  • +0/-0
Re: emails
« Reply #2 on: October 15, 2007, 11:25:35 AM »
each user has their own mailbox and use outlook to collect the email. i am happy to leave the emails like that to start with, since for now we only need the file server side.

Offline yaseenkriel

  • *
  • 14
  • +0/-0
Re: emails
« Reply #3 on: October 17, 2007, 08:47:09 AM »
would it be possible to set the server to pass emails internally only?

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: emails
« Reply #4 on: October 17, 2007, 01:30:02 PM »
From you description, not sure what the problem is or what you are trying to do. It sounds like each person has a independent pop3 account at an outside isp/mailserver, eg myname@myisp.com.  If not, read no futher.

I have an outlook express setup that specifies isp pop3 and smtp and can collect my mail. It does not involve the sme server at all as far as I can tell except as a gateway.


« Last Edit: October 17, 2007, 02:03:18 PM by imcintyre »

Offline jon

  • **
  • 34
  • +0/-0
Re: emails
« Reply #5 on: October 17, 2007, 03:24:44 PM »
From you description, not sure what the problem is or what you are trying to do. It sounds like each person has a independent pop3 account at an outside isp/mailserver, eg myname@myisp.com.  If not, read no futher.

I have an outlook express setup that specifies isp pop3 and smtp and can collect my mail. It does not involve the sme server at all as far as I can tell except as a gateway.
Are you sure about this???  I have this setup as well, but the qmail logs tell me that qmail is intercepting my mail and forwarding it.  I'm trying to find a way to disable this...

http://forums.contribs.org/index.php?topic=38856.0
.........

Offline yaseenkriel

  • *
  • 14
  • +0/-0
Re: emails
« Reply #6 on: October 17, 2007, 03:41:21 PM »
we have a domain but all mail is stored in pop3 acc by the hosting service. in south africa static ip address are very difficult and expensive to obtain. isp's provide dynamic ip for every connection. so we use SBS 2003 to download each individual acc. but now we have expanded and the cost of additional license for  SBS is too much and the new people only need to get mail internally. so i am hoping to set the new people on sme server and use sme to provide them with internal mailboxes.

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: emails
« Reply #7 on: October 17, 2007, 05:22:52 PM »
Quote
Are you sure about this???  I have this setup as well, but the qmail logs tell me that qmail is intercepting my mail and forwarding it.  I'm trying to find a way to disable this...

Jon:
I could be wrong as I am new but... I have typical household high speed access with dynamic ip, I bought domain name, use ZoneEdit (free!) to point to my dynamic address, and set up my home server as imap and download family mail and distribute it accordingly. I get mail at either myname@mydomain.com or myname@myispdomain.com

I recently had to update my isp password and got confused about it, so my SME server would not authenticate. So I was getting no mail. I opened up my outlook express which had the old password and it downloaded everything perfectly. Once I knew that my new password had not been "fixed" at the isp, I put password on SME back to original and it started authenticating and downloading. However, the email that I put through outlook did not come as it was no longer on the isp's server. So I concluded that the two things can be independent and that is the basis for my comments/observations. I will check qmail logs later tonight to see if you are right.

yaseenkriel; Maybe above helps you also (it's your thread). If this is what you need help with, give the word. How are things in the good old S.A.?

« Last Edit: October 17, 2007, 05:26:35 PM by imcintyre »

Offline p-jones

  • *
  • 594
  • +0/-0
Re: emails
« Reply #8 on: October 17, 2007, 06:12:49 PM »
"I'm trying to find a way to disable this..."

Turn off SMTP Proxy in the proxy settings of server-manager.
...

Offline yaseenkriel

  • *
  • 14
  • +0/-0
Re: emails
« Reply #9 on: October 17, 2007, 07:47:13 PM »
@imcintyre-thats sound about right. we have myname@mydomian.co.za acc and the emails are stored at the ISP. i use SBS  POP3 connector to collect from each acc and deliver to mail box, then outlook connects to mail box. i would like sme to do the same thing. collect mail from POP3 acc and deliver to outlook. the documentation for sme says i should get a catchall acc but this does not sound like a good idea to management they want single acc for each individual. this would be the perfect solution. if not possible i would to then only have one person get mail via SBS and the rest use sme to send mail internally.

Offline shell

  • ****
  • 117
  • +0/-0
Re: emails
« Reply #10 on: October 17, 2007, 11:58:00 PM »
P-Jones is right - disabling the SMTP proxy will stop sme from intercepting mail and you will send and receive mail using your isp for all the existing accounts.

Note this does mean that errant programs on your internet will also be able to send email without sme intercepting - ie outgoing mail using external smtp settings will simply travel through the sme.

In regards to the internal only mail this is easily achieved (in fact all functionality will already be working) if you have a different domain from your isp hosted in SME (if not you can add as many virtual domains as you like - the name will only work internally so you could call the domain anything - as long as you don't want to access the real domain from internal - again this is alterable, by separating www and mail records in your virtual domain settings).

If your sme domain name is the same as your external mail this would still work internally but you would have issues picking up the mail from your external accounts. 

all users setup in sme for file sharing will automatically have a second email account from the external mail (or in the case where they are new and the sbs license is too expensive a single account provided by the sme).

There should be no problem internally sending and receiving to these accounts, and no cost.  This could be setup on all internal mail clients with the username / password and the sme server details (even simply the internal ip of the server will work) for the pop3 and smtp or imap settings. 

Alternatively you could use webmail - https://yourserver/webmail.  The horde client is excellent and there are a number of add-ons that you may find useful for internal only - such as file sharing, shared address books and shared bookmarks.  Turn on the webmail in server-manager and check this out, it will already be setup for all your internal users - don't you just love this distro!.  things like the automatic pseudonyms such as groupname@ and everyone@ may also be useful - ie email sent to everyone@yourlocaldomain will be received by all users.

The only downside would be problems associated with having two distinct accounts - ie - issues such as user confusion and having to check two accounts, also sending mail from the internal to the external accounts will require changes to the way the SME is setup (sending mail to any external client will be problematic if the domain is not dns registered and hosted on your sme), however this is also possible with tweaking if the ability to send externally is a must have.

Have a look at the manuals and / or fire more questions back here if you want more info, if you want more integration send more specific information about what you are trying to achieve, what is important.

Cheers, Shell

Offline p-jones

  • *
  • 594
  • +0/-0
Re: emails
« Reply #11 on: October 18, 2007, 12:53:47 AM »
"the documentation for sme says i should get a catchall acc"

Have a look at the fetchmail Contrib, it does a great job.

"but this does not sound like a good idea to management they want single acc for each individual. "

each individual, as defined by users and groups in the server manager, can have seperate email accounts - even with a catchall mailbox. SME Sorts the mail on site, as described in the manual. It works just like the Global POP function in SBS, just more reliably and with easier implementation.
...

Offline yaseenkriel

  • *
  • 14
  • +0/-0
Re: emails
« Reply #12 on: October 18, 2007, 08:10:55 PM »
thanx for the info. sme has been setup in a test environment and i have discussed the catch all acc with management and i got the go ahead to speak to the ISP about making a change. so far everyone is happy with the file sharing side of things and once i get the catch all acc, i hope the emails will go as smoothly. i would like to keep the server as vanilla as possible and not add extra software or packages unless i have too. for our first linux server this has been a painless setup so far. i should have sme live by next month and i know things will go smoothly.

@imcintyre- thing are great in sunny SA- when we win the rugby things will be better!!


Offline imcintyre

  • *
  • 609
  • +0/-0
Re: emails
« Reply #13 on: October 19, 2007, 01:39:17 AM »
 :)
Good, my in-laws are from the Durban area. As with all immigrants the home land can't be beat. I was thinking France for rugby but it's not a big deal in Canada.