[Résolu] Pb fetchmail après migration 64bits

Suite au message de benou du 27 janvier:
https://forum.yunohost.org/t/beta-stage-testing-for-yunohost-11-0-bullseye-and-buster-bullseye-migration/18531/26?page=2

J’ai trouvé la solution…
Il faut créer un répertoire:
/var/vmail
avec comme droit: vmail:mail

# ls -l /var/ | grep vmail
drwxr-xr-x   2 vmail     mail          4096 Dec 21 14:25 vmail

Dedans y coller le fichier: fetchmailrc
avec les bons droits:

# ls -l /var/vmail/
total 4
-rw------- 1 vmail mail 509 Dec 21 13:53 fetchmailrc

On peut éventuellement tester par:

# sudo -u vmail fetchmail --daemon 0 -v -f /var/vmail/fetchmailrc

Puis créer une tache crontab:

# sudo -u vmail crontab -l
...
...
@reboot         fetchmail -d 120 -f /var/vmail/fetchmailrc

Y a plus qu’à redémarrer, puis:

# ps -ef | grep fetchmail 
vmail       1454       1  0 14:25 ?        00:00:00 fetchmail -d 120 -f /var/vmail/fetchmailrc
root        2712    2421  0 14:37 pts/0    00:00:00 grep fetchmail

Voilou,

JM