Koozali.org: home of the SME Server

Fetchmail only read some mails

Offline PlusPlus

  • ***
  • 100
  • +0/-0
Fetchmail only read some mails
« on: June 08, 2015, 09:14:29 AM »
Hello,

i have a problem with a fetchmail account. Some mails are not collected, they are only marked as read.
But all these E-Mails who are not collected, seems like spam E-Mails.

Is it possible, that spamassassin works together with fetchmail and don't accept the spam mails?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Fetchmail only read some mails
« Reply #1 on: June 08, 2015, 10:57:34 AM »
no.. fetchmail acts as an email client, so it simply fetch mails and inject them into SME..
you should take a look at logs and tell fetchmail to be more verbose (search the forums, I'm quite sure you'll find something about how to achieve it)

in any case, fetchmail should be avoided

Offline PlusPlus

  • ***
  • 100
  • +0/-0
Re: Fetchmail only read some mails
« Reply #2 on: June 08, 2015, 11:24:35 AM »
in any case, fetchmail should be avoided

is there an alternative? another contrib to collect e-mails from another server like gmx?

Offline mmccarn

  • *
  • 2,627
  • +10/-0
Re: Fetchmail only read some mails
« Reply #3 on: June 08, 2015, 12:51:46 PM »
no.. fetchmail acts as an email client, so it simply fetch mails and inject them into SME..

I think that fetchmail injects the incoming email via smtp, where it is received and processed by qpsmtpd.

Heres an old 7.x bug that talks about it a bit:
http://bugs.contribs.org/show_bug.cgi?id=2223


guest22

Re: Fetchmail only read some mails
« Reply #4 on: June 08, 2015, 02:00:17 PM »
is there an alternative? another contrib to collect e-mails from another server like gmx?


Well, you can use SME Server by itself + de SoGo contribs, and you have your own 'GMX' and can do yourself what GMX is providing. And you are in full control of security and flexibility.


1. Change the DNS settings of your domain to the public IP of your SME Server
2. Install the SoGo contrib


You should be up and running in 15 minutes (depending on DNS propogation).

Offline PlusPlus

  • ***
  • 100
  • +0/-0
Re: Fetchmail only read some mails
« Reply #5 on: June 09, 2015, 04:24:08 PM »

Well, you can use SME Server by itself + de SoGo contribs, and you have your own 'GMX' and can do yourself what GMX is providing. And you are in full control of security and flexibility.


1. Change the DNS settings of your domain to the public IP of your SME Server
2. Install the SoGo contrib


You should be up and running in 15 minutes (depending on DNS propogation).

Thanks for this information - but i want to collect mails from an old E-Mail account.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Fetchmail only read some mails
« Reply #6 on: June 09, 2015, 04:41:41 PM »
Thanks for this information - but i want to collect mails from an old E-Mail account.

if so, stay with fetchmail.. but it's prone to errors, as you see.. you have to put it in verbose mode and diagnose why some emails are (apparently) ignored..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Fetchmail only read some mails
« Reply #7 on: June 09, 2015, 05:18:34 PM »
no.. fetchmail acts as an email client, so it simply fetch mails and inject them into SME.

Yes, but injecting them into SME invokes qpsmtpd and spamassassin. So "spamassassin works together with fetchmail and [doesn't] accept the spam mails". When the spam mails are not accepted by SME, they are not deleted from the mailbox.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Fetchmail only read some mails
« Reply #8 on: June 09, 2015, 05:25:56 PM »
thanks Charlie for the info..

IMO this is a bit awkward.. we risk to have the remote mailbox full of spam (undelete email) and so unable to receive new mails..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Fetchmail only read some mails
« Reply #9 on: June 09, 2015, 05:27:08 PM »
And that's part of the reason that we say to avoid fetchmail if possible.

Offline PlusPlus

  • ***
  • 100
  • +0/-0
Re: Fetchmail only read some mails
« Reply #10 on: June 09, 2015, 07:21:44 PM »
And that's part of the reason that we say to avoid fetchmail if possible.

Okay i understand, thanks for your answer. So there is no really good option to collect emails from any pop3 account?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Fetchmail only read some mails
« Reply #11 on: June 09, 2015, 07:59:52 PM »
You just need some other mechanism for removing spam messages from that mailbox. Or you need to adjust SME server settings so that the messages are not rejected.