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?
Mail::Account::Fetch not working...
Moderator: crythias
Re: Mail::Account::Fetch not working...
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
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