Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: PlusPlus on June 08, 2015, 09:14:29 AM

Title: Fetchmail only read some mails
Post by: PlusPlus 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?
Title: Re: Fetchmail only read some mails
Post by: Stefano 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
Title: Re: Fetchmail only read some mails
Post by: PlusPlus 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?
Title: Re: Fetchmail only read some mails
Post by: mmccarn 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

Title: Re: Fetchmail only read some mails
Post by: guest22 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).
Title: Re: Fetchmail only read some mails
Post by: PlusPlus 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.
Title: Re: Fetchmail only read some mails
Post by: Stefano 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..
Title: Re: Fetchmail only read some mails
Post by: CharlieBrady 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.
Title: Re: Fetchmail only read some mails
Post by: Stefano 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..
Title: Re: Fetchmail only read some mails
Post by: CharlieBrady on June 09, 2015, 05:27:08 PM
And that's part of the reason that we say to avoid fetchmail if possible.
Title: Re: Fetchmail only read some mails
Post by: PlusPlus 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?
Title: Re: Fetchmail only read some mails
Post by: CharlieBrady 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.