Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: martinhick on August 15, 2004, 04:02:48 PM
-
Will SME Server retrieve mail from domain mailboxes. That is ones where you have to dial and collect via a pop3 account and all mail for nn@foo.co.uk is collected and then distributed.
If so where do you enter the username and password.
-
Yes if you install the "Fetch mail" contrib.
http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_9.htm
And it adds an panel to the Server-Manager where you add the configuration.
/Mats
PS. Use the search function here and search for "retreive pop3"!
-
Hi Matsk,
Thanks for the info. I did search on POP3 but did not find what I was looking for (or did not understand).
I have been using Linix since Nov 2001 but I am still unsure of a few things.
I presume that almost anything could be added to SME Server vir root. How do we know what would show on the main menu. Presumably you have to use SME special builds of products to see them on the menus.
I would like to add Spam Assasin and anti virus to complete my system.
I currently run a RedHat 9.0 Server for gateway and file serving.
Having played with SME server over the week end I think it does a fantastic job with minimal effotr.
Martin
-
The "Fetch mail" contrib fetch email from external pop3 accounts and deliver them to local accounts on your SME server.
Read the :
http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_9.htm
And on the same web you have several other contributions that can fill your needs.
/Mats
-
I have followed the Howto and set up a ghost mail box. This verified the pop account but is not collecting mail.
The mail is being left on the server and is not delivered either
Any ideas.
Martin
-
And in the bootom of the Howto you can read how to enable debug and read the debug info in /var/log/maillog.
Have you done that ?
/Mats
-
Yes debug is enabled.
According to the logs Authorization failed. Got OK on username so looks like the password.
The first verification when setting up the account said passed. I must have a setting wrong.
Cannot see what it it is.
Martin
-
Hi Mats,
Finally got things working!
The reason for the authorization failure was that I have my own domain name.
Setting up fetchmail to fetch from mail.mydomain.co.uk which used to fetch mail from my ISP was now trying to authenticate with the SME server and of course failing.
I rang my isp and they have a generic name for their mail server. mail.isp.net.uk
Putting these settings into the fetch mail now retreives mail correctly.
Thanks for your help.
I have noticed a problem though.
Mail is delivered to very recipient on the network. I must have a setting wrong somewhere.
I only have one pop3 account and this has one email address all_addresses@kmcomputers.co.uk.
What settings should I be using to distibute this mail round my network.
I set the administrators account as a ghost with a copy to all users. This is obviously wrong but if you dont pick one SME complains
Martin
-
Glad to hear that you got it up and running :-)
Lets see if I understand what you try to achive:
1. You have an external pop3 account.
2. Fetchmail gets the Email from that external mpop3 account and in to the SME server.
3. Emails sent to the external account is to be redistributed to all (or some) Email accounts on the SME server.
Maybee an mailinglist could be the solution.
Take a look at EZMLM in the document
http://mirror.contribs.org/smeserver/contribs/aloveless/E-Smith_HowTo.pdf
or search for EZMLM in the contrib or at www.google.com
/Mats
-
matsk,
I think what martinhick is trying to do is retrieve mail from one e-mail mailbox (POP account) where the mail has been delivered to multiple alias's. eg mom@fred.nerk dad@fred.nerk baby@fred.nerk are all delivered to my@isp.com.
I assume he wants to get all that mail from my@isp.com and distribute it to local mail accounts mom@fred.local etc. I know this cause it's something I'm looking at but don't have a solution yet (low on my list).
-
Yes that is exactly what I am trying to do.
the instructions for GHOST account appear to suggest that that is what should happen but you have to select at least one account from the list and mail then only gets copied to that account and not delivered elsewhere
-
Is your pop3 address a "catchall address"? Does it matter what name is put in front of the @kmcomputers.co.uk? If so then the emails should get sorted according to the username@kmcomputers.co.uk. Eg. If you have a user called matt on the server and I send an email to matt@kmcomputers.co.uk , SME would collect it and then put it in Matt's inbox. This is how mine works and if you are collecting from only 1 pop3 address then there should be no need to install any contribs as SME will do this for 1 pop3 address out of the box. I understood the fetchmail (I actually use the dungog.net multipop one) contrib is to collect from multiple pop3 addresses. If I am wrong please tell me.
Regards,
Del :-?
-
Cheers Del,
You are absolutly right!
I'm not sure whether the mail settings section is entirly clear.
Most of the upper boxes mention internal/external mail and ISP mail servers. (Incidently I have just noticed that this is where I change my outgiong ISP mail server address).
The box for setting the POP3 retreival is marked Secondary Server, I had mis read this.
I also had a problem with my ISP providing mail.kmcomputers.co.uk as the mail host. Since installing SME and setting up mu domain name on the server mail.kmcomputers.co.uk has become an internal address. I have contacted my ISP and they have given me the generic mail host for their servers.
By inserting this in the secondary server box I am now collecting external mail and it is being distributed correctly.
Once more,
Many Thanks
Martin