Using RT4.4.4 on Ubuntu 18.04
Setting fetchmail to receive emails for my queues seems to be a mystical art. I cannot get it to work.
There appears to be several issues:
1, Me the user googling stuff and not getting a black and white answer.
2, The config i get looks ok
3, Starting the daemon returns an error.
My /etc/fetchmailrc config:
set invisibleset poll outlook.office365.com protocol IMAP username "firstname.lastname@example.org" password "passwordredacted" ssl mda "/opt/rt4/bin/rt-mailgate--queue general --action correspond --url https://rt.arghh.com/" keep
After chowning to the fetchmail user, i try and start the daemon by running:
systemctl start fetch mail
Which appears to start and exit but remain active!?.. but does nothing.
.● fetchmail.service - LSB: init-Script for system wide fetchmail daemon Loaded: loaded (/etc/init.d/fetchmail; generated) Active: active (exited) since Mon 2020-10-12 21:46:38 UTC; 1min 57s ago Docs: man:systemd-sysv-generator(8) Process: 23789 ExecStart=/etc/init.d/fetchmail start (code=exited, status=0/SUCCESS) Oct 12 21:46:38 rt1-isp systemd: Starting LSB: init-Script for system wide fetchmail daemon... Oct 12 21:46:38 rt1-isp fetchmail: * Not starting fetchmail daemon, disabled via /etc/default/fetchmail Oct 12 21:46:38 rt1-isp systemd: Started LSB: init-Script for system wide fetchmail daemon.
I’m a little confused… what am I doing wrong?