(V. 6.0.10) Comlog shows 'All green" but Fetchmail throws error "There was a syntax error in the arguments to fetchmail"

Moderator: crythias

Post Reply
StefanK
OTRS newbie
Posts: 4
Joined: 04 Jul 2018, 18:22
OTRS Version?: 5 & 6

(V. 6.0.10) Comlog shows 'All green" but Fetchmail throws error "There was a syntax error in the arguments to fetchmail"

Post by StefanK » 03 Aug 2018, 16:13

**update**
Problem is solved.

https://doc.otrs.com/doc/manual/admin/s ... p3-account
The otrs-documentation is not very detailed on fetchimg mail's from an imap/pop3-account.

I thought that you have to activate the fetchmail-option in sysconfig to fetch mail's - but that's where I went wrong.
OTRS fetches it's mails via an internal process, which is configured via *Communication & Notifications / Mail Account Management*

AND

You can also use fetchmail (as an alternative) - which is configured by the sysconfig option.

**********************

Hi there!
running V 6.0.10 on a ubuntu 16.04 box

Lately the fetchmail-process from OTRS throws out an error-message:
"/usr/bin/fetchmail -a --ssl: There was a syntax error in the arguments to fetchmail"

The funny thing: - otrs still receives mails :?

Also in the admin-menu -> Communication log GUI -> The ComLog shows "green" status - no errors
Mailserver is an exchange 2016 / Protocol IMAPS with valid certificate

Any help here?

Full log entry:

Aug 3 16:15:14 OTRS-otrs.Daemon.pl
- Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-12[2242]: [Error][Kernel::System::FetchMail::Fetch][Line:339]: There was an error executing /usr/bin/fetchmail -a --ssl: There was a syntax error in the arguments to fetchmail
Aug 3 16:15:14 OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-12[2242]: [Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][Line:52]: There was an error executing Fetch() in Kernel::System::FetchMail: ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-12 Perl: 5.22.1 OS: linux Time: Fri Aug 3 16:15:14 2018#012#012 Message: There was an error executing /usr/bin/fetchmail -a --ssl: There was a syntax error in the arguments to fetchmail#012#012 Traceback (2242): #012 Module: Kernel::System::FetchMail::Fetch Line: 339#012 Module: (eval) Line: 144#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 123#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 235#012 Module: (eval) Line: 316#012 Module: main::Start Line: 316#012 Module: /opt/otrs/bin/otrs.Daemon.pl Line: 137

Post Reply