Support

Akeeba Ticket System

#40814 Fetchmail

Posted in ‘Akeeba Ticket System for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
5.1.1
PHP version
8.x
Akeeba Ticket System version
5.3.5

Latest post by tampe125 on Monday, 24 June 2024 10:34 CDT

FrankVo

Hi Nicholas,

 

For some reason, ticketing via e-mail [email protected] (cron) doesn't send the content of the ticket.
All senders have useraccounts and cron is working.

tampe125
Akeeba Staff

Hello,

but the ticket is created? Only the contents are missing?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

FrankVo

Sorry, not clear enough.

No ticket has been created. But the cronlog works though and plugin fetchmail is working.

tampe125
Akeeba Staff

mhm... I'll have to connect to your site to review your settings.

I have made this ticket private so that only you and me can see the information posted here.

Please provide me with the following information:

  1. The URL to your site's administrator login page
  2. Super User username and password
  3. FTP connection information


Please allow up to one business day (GMT+2 timezone) for me to log in to your site and debug this issue. When I'm done I will post back. Once the issue is fixed, you can revoke my access e.g. by changing the Super Administrator and FTP passwords.

IMPORTANT INFORMATION
In order for me to help you fast and accurately, please provide the information by copying the form below, paste it into your reply and fill in the information:

----- Access Information Form -- START -----
Super Administrator access

  • URL to site's administrator page (e.g. http://www.example.com/administrator?foobar):
  • Super User username:
  • Super User password:


FTP connection information

  • FTP methods supported (e.g. FTP, FTPS, SFTP):
  • FTP Hostname:
  • FTP Username:
  • FTP Password:
  • FTP Port (if other than 21 for FTP and 22 for SFTP, ask your host):


----- Access Information Form -- END -----

Please make sure that you have tested the Super Administrator connection using a different browser or machine than the one you are using daily. Double check that logging in is possible and that the user has Super User privileges, i.e. it's not a regular Administrator. Make sure that your site does not block whole countries or IP ranges which would make it impossible for me to log in / connect by FTP. Finally, please do make sure that the FTP connection works and that logging in to it I have access to your site's files.

Kindly note that your site connection information and your site content is handled in strict confidence. Not only we are a reputable development company, we are also bound by law (EU GDPR) to do so. After you file your reply, the connection information to your site will be stored in an encrypted, hidden storage area on our site and will be automatically deleted when this ticket is closed. Finally keep in mind that the people providing support to you are the same developers who wrote the software you're using on your site.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

FrankVo

Super Administrator access

  • URL to site's administrator page (e.g. http://www.example.com/administrator?foobar): https://supportdesk4all.nl/administrator
  • Super User username: adminxl
  • Super User password: Tronicus%%44%%


FTP connection information

  • FTP methods supported (e.g. FTP, FTPS, SFTP): FTP
  • FTP Hostname: 185.104.29.138
  • FTP Username[email protected]
  • FTP Password: dYORs9HwY
  • FTP Port (if other than 21 for FTP and 22 for SFTP, ask your host):

tampe125
Akeeba Staff

Looking at the log, it seems the there are no emails that should be processed. The email being sent to that address are still unread or someone/something marks them as read?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

FrankVo

Hi Davide

 

This not the issue.

Registerd Users send email to [email protected] and system should make a ticket. But that doesn't happen anymore (it was working).

I have a test user (username=admin4all) and if I send a email from that email ([email protected]) to [email protected] the system should make a ticket then. That is the purpose of the Fetchemail-plugin which is set correctly.

So, why doesn't make the fetchemail plugin a ticket ?

tampe125
Akeeba Staff

The things is: we look for unread emails. If there is something that is marks the emails as read, we simply skip over them.

So, can you please send an email to that address with the correct email sender and let the plugin run? In this way I can check what's happening inside the log.

Moreover, can you please create (or associate to an existing user with the correct privileges) my email? [email protected]

In this way I can send test emails and triple check if everything is working as expected.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

FrankVo

You are now a registered user

UN= Davide

PW= Tronicus%%33%%

FrankVo

Hi Davide

I have seen your test but it is not working. Also your mail is not converted to a ticket.

tampe125
Akeeba Staff

Hello,

I have copied your email data and run the code locally, connecting to your email system:

 [INFO] Current memory usage : 20.1 MB                                                                                  

 [INFO] Beginning checking for emails                                                                                   

 [INFO] Attempting to connect to mail server                                                                            

 [INFO] Checking for unread email sent after Sun, 16 Jun 2024 15:11:29 +0200                                            

 [INFO] <CABjUVjUxdXGopNsApe_3qxcTdebMGGdGZeuJsoVjS9i-CtDugQ@mail.gmail.com>. Davide Tampellini <[email protected]>    

        — test ticket 

I ran the code immediately, after a few seconds. As you can see everything works fine. As previously written, we check only for unread emails, is there anything that marks them as read? Someone else is downloading the emails using a desktop client? 

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

FrankVo

Well I can not see that it is working. Because no ticket has been made. Also not your tests though.

Your tests come correctly in the mailbox of [email protected]. But no tickets are ben made, also not your presumed correct test.
I can only see the test coming in the mailbox (not read), because I have set a Thunderbird mailbox with [email protected] but that is working and set from day 1 and always worked.

 

---->>> I only 'believe', if you don't mind ;-) that the tests are correct when they show up into the tickets.

There is no reason that the mails are set as 'read' by accident.

tampe125
Akeeba Staff

Well, no ticket has been create because I ran the code from localhost, reading the mail box from my local computer.

How are you triggering the fetchmail cron job?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

FrankVo

Hi Davide

 

See screenshot.

The cronjob has not been changed since day 1.

tampe125
Akeeba Staff

Can you please try to disable it? I'm going to manually trigger it using the frontend feature and check if the ticket gets created.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

FrankVo

Cronjob is now disabled.

FrankVo

I did not get an answer after juni 19th. I have now set the cronjob active and a log-email is active. But.....no logs are send by the cronjob. Still.

It is most inconvenient now. Can you make the fix for this problem as prio 1 please ?

It is vey strange because nothing was changed between working and not working..

tampe125
Akeeba Staff

We did not change anything in the code since months ago, the thing that it stopped working all of sudden is a sign of something happening outside ATS code.

Moreover, as I shown you with the log pasted above, I was able to retrieve the email from your email server, when I connected to it from my local machine. All these things seems to point to something changed inside the server configuration (both your site or the email one). Maybe your site IP got inside some blacklist and the access has been "shadowed" (ie user can login, but no data is returned to discourage a potential attacker)? Or maybe your host put in place some kind of cache, so we do not get an updated list of emails?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Easter vacation: We will be closed from 17 April 2025 16:00 UTC to 21 April 2025 06:00 UTC due to observing the Christian Easter holiday. Support will be closed during that time for both new tickets, and replies to existing tickets.

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!