Start Mailfetching immediately?

With SME9 I can do it with: /etc/startmail

Is there a similar CLI command to start the mailfetching (getmail) immediately ?

At Nethserver 7 getmail is used for it. Please have a look at this documentation.

I use this command, it is from /etc/cron.d/getmail

/usr/bin/flock -n -E 0 /var/lib/getmail/username@mydomain.at.cfg -c “/usr/bin/getmail --getmaildir /var/lib/getmail/ --rcfile /var/lib/getmail/username@mydomain.at.cfg --quiet”

I created an alias in .bashrc …

2 Likes

If it works mark your answer as solution please.