Mail::Account::Fetch not working...

Moderator: crythias

Post Reply
0deuce0
Znuny newbie
Posts: 1
Joined: 29 Nov 2017, 07:59
Znuny Version: otrs-6.0.1
Real Name: Tom
Company: NA

Mail::Account::Fetch not working...

Post by 0deuce0 »

Hi everyone. Im going to apologize up front, I know this is some kind of user error, I just cant find it.

Fresh install to 6.0.1

I set up a Mail Account in Mail Account Management, and it works great when I hit "Fetch Mail"

but when I use...

$ whoami
otrs
$ ./otrs.Console.pl Maint::PostMaster::MailAccountFetch

No configured mail accounts found!

$

Am I missing something?
lido
Znuny newbie
Posts: 70
Joined: 25 Oct 2017, 16:21
Znuny Version: 6.0.5

Re: Mail::Account::Fetch not working...

Post by lido »

I'm still at 6.0.0rc1 and it works fine on mine.

Looking at the code that leads to that error, it gets displayed if it can't find any active postmaster mail accounts.

Can you confirm that your configured email address is set as "valid" and not as "invalid" or "invalid-temporary" ?

Also, please try these commands to clear the cache and see if it fixes it:

bin/otrs.Console.pl Maint::Cache::Delete
bin/otrs.Console.pl Maint::Loader::CacheCleanup
bin/otrs.Console.pl Maint::Loader::CacheGenerate

Good luck
Post Reply