Koozali.org: home of the SME Server

Fetchmail non esegue fetchall

Offline MicSme

  • ****
  • 243
  • +0/-0
Fetchmail non esegue fetchall
« on: April 09, 2023, 06:43:53 PM »
Ciao a tutti,
Ho uno sme10 con fetchmail impostato come da istruzioni del contrib, riesco a ricevere sole le nuove mail ma non quelle
già esistenti sulle mailbox.
Ho messo come scelta "leggi le email e lasciale sul server" cosa potrei controllare per capire questo problema?
L'isp in questione è netsons.
Grazie

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: Fetchmail non esegue fetchall
« Reply #1 on: April 10, 2023, 10:55:26 AM »
Per "esistenti sulle mailbox" intendi sui server netsons? Quindi raggiungibili via IMAP? Se è così potresti "spostarle" tramite un qualunque client imap (outl00k, thunderbird...).
Ritengo che "la funzione" funzioni che tu attivi il contrib e lui da quel momento in poi si attiva per le email NUOVE che arrivano.

Offline MicSme

  • ****
  • 243
  • +0/-0
Re: Fetchmail non esegue fetchall
« Reply #2 on: April 10, 2023, 11:01:31 AM »
si confermo si tratta di mailbox esistenti sui server netsons, usare tb per importare lo storico
è una buona idea ma che implica un bel po' di lavoro in piu',  speravo in una soluzione smart :-)

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: Fetchmail non esegue fetchall
« Reply #3 on: April 10, 2023, 04:51:39 PM »
Considerato che iddio ha fatto GRANDINARE subito dopo che ho tolto la carne d'agnello dalla brace e che quindi devo compiere la mia buona azione quotidiana "altrimenti faccio un macello", posso consigliarti di provare con Imapsync. Ma non lo uso da un pò...

Offline MicSme

  • ****
  • 243
  • +0/-0
Re: Fetchmail non esegue fetchall
« Reply #4 on: April 10, 2023, 05:36:50 PM »
ok grazie! se restavi a Verona non avevi il problema della grandine  :grin:

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: Fetchmail non esegue fetchall
« Reply #5 on: April 10, 2023, 07:22:23 PM »
eh... a Verona i problemi erano altri... :-D

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Fetchmail non esegue fetchall
« Reply #6 on: April 11, 2023, 06:43:53 PM »
Penso che fetchmail recuperi solo la posta non letta.  Penso che ci sia stato un contributo getmail ma non riesco a vedere cosa gli è successo (Python 3?)?  Si prega di controllare. 

La maggior parte degli ISP consegna la posta a Google/M$ e sopprime il POP3 in nome della "sicurezza". 

Per esempio...  Usa un browser così possiamo spiare di più o pagare più soldi...

I think fetchmail only retrieves unread mail. I think there was a getmail contrib but can't see what happened to it (Python 3?)? Please check.

Most ISPs are handing mail to Google/M$ and they are killing off POP3 in the name of 'security'.

e.g. use a browser so we can spy more, or pay more cash...

https://unix.stackexchange.com/questions/67254/how-to-stop-fetchmail-marking-messages-as-read

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Fetchmail non esegue fetchall
« Reply #7 on: April 13, 2023, 11:20:13 AM »
Considerato che iddio ha fatto GRANDINARE subito dopo che ho tolto la carne d'agnello dalla brace e che quindi devo compiere la mia buona azione quotidiana "altrimenti faccio un macello", posso consigliarti di provare con Imapsync. Ma non lo uso da un pò...

imapsync tutta la vita
per la grandinata, bastava informarmi, ti avrei detto di metterti al coperto (murphy docet) :-D

Offline Jean-Philippe Pialasse

  • *
  • 2,743
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Fetchmail non esegue fetchall
« Reply #8 on: April 13, 2023, 06:47:44 PM »
probably the issues you experience is simply the consequence of having user to use the remote mailbox to check emails.


either you use fetchmail and all your users should connect to the SME to check emails. Either you were trying to backup mails then as suggested in this thread and the other one you opened then stop using fetchmail and rather use imapsync every once and a while. 

you might also have the possibility depending on your provider to cc all your incoming messages to a box on your sme. 


ref https://forums.koozali.org/index.php/topic,54982.0.html

Offline MicSme

  • ****
  • 243
  • +0/-0
Re: Fetchmail non esegue fetchall
« Reply #9 on: April 14, 2023, 11:03:07 AM »
In questo momento ho configurato e schedulato imapsync , tutto funziona correttamente le mail si salvano sullo sme locale ma gli utenti segnalano ancora mail già lette anche se in realtà non lo sono state.
Tutti gli account utilizzano come client outlook che punta sull'isp che in questo caso e' netsons, io stesso ho visto 3 mail non lette diventare improvvisamente lette.
Avete qualche idea? Grazie

Offline Jean-Philippe Pialasse

  • *
  • 2,743
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Fetchmail non esegue fetchall
« Reply #10 on: April 14, 2023, 01:35:42 PM »
either someone else ha access the account, either you still have a fetchmail task running.
do you konw there is 2 fetchmail service? one as a contrib and one as core service.  be sure to have both disabled.

Offline MicSme

  • ****
  • 243
  • +0/-0
Re: Fetchmail non esegue fetchall
« Reply #11 on: April 14, 2023, 01:46:37 PM »
these are the fetchmail info on sme:
contrib:
[root@sme10 etc]# yum info installed smeserver-fetchmail
Plugin abilitati:fastestmirror, post-transaction-actions, priorities, smeserver
Errore: Nessun pacchetto presente in lista
core:
[root@sme10 etc]# config show fetchmail
fetchmail=service
    FreqOffice=never
    FreqOutside=never
    FreqWeekend=never
    Method=standard
    SecondaryMailAccount=user
    SecondaryMailPassword=password
    SecondaryMailServer=mail.dominio.xxx
    status=disabled

it seems taht the process that mark the mail as read is not the sme server
« Last Edit: April 14, 2023, 06:42:02 PM by MicSme »

Offline Jean-Philippe Pialasse

  • *
  • 2,743
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Fetchmail non esegue fetchall
« Reply #12 on: April 15, 2023, 03:42:24 AM »
this is not the entry for the fetchmail contrib but the core process

see

config show FetchMails

also uninstall rpm does not always mean service stopped. particularly in a situation where the core still needs a lot of component of the same service.

Offline MicSme

  • ****
  • 243
  • +0/-0
Re: Fetchmail non esegue fetchall
« Reply #13 on: April 15, 2023, 09:32:38 AM »
nessun processo fetchmail attivo su sme server il problema era causato da un fetch
configurato da accounts gmail  :-?
soluzione imapsync ottima direi
grazie a tutti
« Last Edit: April 16, 2023, 07:31:15 PM by MicSme »