Koozali.org: home of the SME Server

Running Getmail

Offline input

  • ****
  • 94
  • +0/-0
Running Getmail
« 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

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Running Getmail
« Reply #1 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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline input

  • ****
  • 94
  • +0/-0
Re: Running Getmail
« Reply #2 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 ?
« Last Edit: May 14, 2011, 08:00:12 PM by input »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Running Getmail
« Reply #3 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline input

  • ****
  • 94
  • +0/-0
Re: Running Getmail
« Reply #4 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.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Running Getmail
« Reply #5 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
« Last Edit: May 14, 2011, 09:11:12 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Running Getmail
« Reply #6 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


Offline input

  • ****
  • 94
  • +0/-0
Re: Running Getmail
« Reply #7 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

« Last Edit: May 15, 2011, 04:04:34 PM by input »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Running Getmail
« Reply #8 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Running Getmail
« Reply #9 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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline input

  • ****
  • 94
  • +0/-0
Re: Running Getmail
« Reply #10 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.