|
From: <t_...@ti...> - 2025-10-20 21:07:10
|
On Mon, 20 Oct 2025 20:16:34 +0200 Matthias Andree via Fetchmail-users <fet...@li...> wrote: > Am 18.10.25 um 22:51 schrieb t_...@ti...: > > On Sat, 18 Oct 2025 15:01:08 -0500 > > axreios <rp...@am...> wrote: > > > >> On Sat, Oct 18, 2025 at 07:36:52PM +0200, t_...@ti... wrote: > >>> Hi list, > >>> after upgrading to 6.5.6 I've noticed that syslog messages include > >>> the timestamp. Since I'm starting fetchmail thru systemd, the > >>> timestamp is already included in journal. Is it possible to remove > >>> timestamp from syslog message ? > >>> > >>> Here is my uname -a : > >>> > >>> Linux agmob3 6.16.12-100.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Sun > >>> Oct 12 18:44:08 UTC 2025 x86_64 GNU/Linux > >>> > >>> Thanks in advance for any answer. > >>> Ciao > >>> Angelo > >>> > >> Are you getting the timestamp listed twice? I am not seeing that, > >> though I am not using systemd. I do start fetchmail from the > >> command line with the --syslog option. FWIW. > >> ax > >> > >> > > Hi, > > thanks for your answer. > > here is an example of messages from my journalctl > > > > Oct 18 15:03:14 fetchmail[1601465]: Oct 18 15:03:14 fetchmail: 77 > > messages (77 seen) for ...... Oct 18 15:03:14 fetchmail[1601465]: > > Oct 18 15:03:14 fetchmail: 43 messages (43 seen) for ...... Oct 18 > > 15:03:15 fetchmail[1601825]: Oct 18 15:03:15 fetchmail: No mail for > > ...... Oct 18 15:03:15 fetchmail[1601825]: Oct 18 15:03:15 > > fetchmail: No mail for ...... > > > > with previous fetchmail version (6.4) this was not happening. > > > Please heed <https://www.fetchmail.info/fetchmail-FAQ.html#G3> > > and please include information on how your systemd file looks like. > > Thanks for answering. I've read the FAQ and I have to say that my fetchmail works very fine. I only wonder why it includes timestamps in logs since the last upgrade. here is my systemd service (triggered by timer) ======================================================= [Unit] Description=Fetch My Mails Documentation=man:fetchmail(1) ConditionPathExists=/tmp/XISON [Service] Type=oneshot StandardOutput=journal StandardError=journal SyslogIdentifier=fetchmail SyslogFacility=mail SyslogLevel=warning ### check for full internet connection ExecStartPre=/Scripts/ck_full_conn ### fetch mails ExecStart=fetchmail -f /home/.MYFMRC SuccessExitStatus=1 ### fetch spam ExecStart=fetchmail -f /home/.MYFMRC_SPAM SuccessExitStatus=1 Restart=on-failure RestartSec=90 ======================================================= On the config files I use the follwing options : ======================================================= set invisible set no bouncemail defaults proto imap timeout 20 bad-header accept ======================================================= Should I provide any other info ? Thanks again. Regards Angelo > _______________________________________________ > Fetchmail-users mailing list > Fet...@li... > https://lists.sourceforge.net/lists/listinfo/fetchmail-users |