Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: input on May 14, 2011, 05:36:18 PM

Title: Running Getmail
Post by: input on May 14, 2011, 05:36:18 PM
I installed Getmail for received Email from the SMEServer. I am running SMEServer in servermode only.
When I connect Getmail I get this error:
[loek@localhost ~]$ getmail
getmail version 4.20.2
Copyright (C) 1998-2009 Charles Cazabon.  Licensed under the GNU GPL version 2.
SimplePOP3Retriever:loek@mycompany.local:110:
getmailrc: operation error (error resolving name mycompany.local during connect ([Errno -2] Name or service not known))
  0 messages (0 bytes) retrieved, 0 skipped

Has somebody an idea how to solve this problem?

Thanks
Title: Re: Running Getmail
Post by: janet on May 14, 2011, 06:07:08 PM
input

Use a real domain name that is valid on your sme server, and resolves from the Internet and from your LAN, and DO NOT use a domain name that ends with .local
I suggest you use the Fetchmail contrib which is known to work satisfactorily with sme server see http://wiki.contribs.org/Fetchmail

Further to this I strongly suggest you ditch the idea of configuring your sme server to collect mail from your ISP's POP account, and instead use domain based email on your server (ie smtp mail server). SME is already configured by default in this mode, and you can use a free domain name or register a new one that is more appropriate.

Then forward mail from your POP account to a user@domain on the sme server. This is a much more reliable solution.
Then eventually advertise the new domain based email address rather than the POP account address.
Title: Re: Running Getmail
Post by: input on May 14, 2011, 07:56:36 PM
input

Use a real domain name that is valid on your sme server, and resolves from the Internet and from your LAN, and DO NOT use a domain name that ends with .local
I suggest you use the Fetchmail contrib which is known to work satisfactorily with sme server see http://wiki.contribs.org/Fetchmail

Further to this I strongly suggest you ditch the idea of configuring your sme server to collect mail from your ISP's POP account, and instead use domain based email on your server (ie smtp mail server). SME is already configured by default in this mode, and you can use a free domain name or register a new one that is more appropriate.

Then forward mail from your POP account to a user@domain on the sme server. This is a much more reliable solution.
Then eventually advertise the new domain based email address rather than the POP account address.
Thanks for the reply.
I do not have a domainname can I register for free anywhere ?
Where can I do my settings for pop.casema.nl and smtp.casema which I have it now in OutlookExpress.
And I have on my Fedora client Getmail running can I use that to for receiving Email from the SMEServer ?
Title: Re: Running Getmail
Post by: cactus on May 14, 2011, 08:28:01 PM
Thanks for the reply.
I do not have a domainname can I register for free anywhere ?
Where can I do my settings for pop.casema.nl and smtp.casema which I have it now in OutlookExpress.
And I have on my Fedora client Getmail running can I use that to for receiving Email from the SMEServer ?
Input, please once again read my post on e-mail as I posted yesterday, it seems you still not understanding what I posted there. If you want to host your own server mail you will need to buy a domain name, those are most of the time not free. If you want to do this you are best of with a fixed IP address, which you do not seem to have (since you are running on a casema/ziggo account AFAICT) or have a dynamic DNS service configured which updates your external IP number in the DNS so host name lookups resolve to your IP address.

Once again, I think you are missing a lot of knowledge to operate your own server... you should seriously study some more. I already gave you some pointers.
Title: Re: Running Getmail
Post by: input on May 14, 2011, 09:07:18 PM
Input, please once again read my post on e-mail as I posted yesterday, it seems you still not understanding what I posted there. If you want to host your own server mail you will need to buy a domain name, those are most of the time not free. If you want to do this you are best of with a fixed IP address, which you do not seem to have (since you are running on a casema/ziggo account AFAICT) or have a dynamic DNS service configured which updates your external IP number in the DNS so host name lookups resolve to your IP address.

Once again, I think you are missing a lot of knowledge to operate your own server... you should seriously study some more. I already gave you some pointers.
Thanks for the reply. Do you have more links for to learn about SMEServer.
Title: Re: Running Getmail
Post by: cactus on May 14, 2011, 09:09:33 PM
Thanks for the reply. Do you have more links for to learn about SMEServer.
Yes, the different manuals in the wiki:
http://wiki.contribs.org/SME_Server:Documentation
Title: Re: Running Getmail
Post by: mmccarn on May 15, 2011, 03:23:14 PM
The DNS section in the appendix includes some info on (sometimes free) dynamic dns providers: http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Appendix#Appendix_B._DNS

Title: Re: Running Getmail
Post by: input on May 15, 2011, 04:01:22 PM
The DNS section in the appendix includes some info on (sometimes free) dynamic dns providers: http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Appendix#Appendix_B._DNS
Thank you.But I have a Question. I want to try local send Email and Receiv Email on my network. My settings are: In SMEServer server on casema.nl and on my Fedoraclient I have in /etc/hosts 127.0.0.1   localhost.localdomain   localhost
                                                                                       ::1   localhost6.localdomain6   localhost6
                                                                                                192.168.1.179   casema.nl

and in /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.casema.nl Can I send and receive with these settings ?

Thanks

Title: Re: Running Getmail
Post by: cactus on May 15, 2011, 10:25:59 PM
Once again, if you want to receive and send e-mail from your server, you will need your own domain and you can not use the domain of your provider.
Title: Re: Running Getmail
Post by: janet on May 16, 2011, 09:36:00 AM
input

You can get a free domain name from dyndns.com

To test your local email situation, use the sme server IP number as the address for smtp & imap mail servers.
Title: Re: Running Getmail
Post by: input on May 17, 2011, 12:56:58 PM
input

You can get a free domain name from dyndns.com

To test your local email situation, use the sme server IP number as the address for smtp & imap mail servers.
Thanks for the reply.